Search found 25 matches: shellapi

Return to advanced search

Re: "Save As" dialog box

First attempt, using ShellAPI function SHBrowseForFolder() Needs improvement with the guidance of masters. #include "fivewin.ch"function Main()   ? "start"   ? shbrwfolders( "c:\fwh" )  ...
by nageswaragunupudi
Sun Jan 28, 2024 5:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: "Save As" dialog box
Replies: 14
Views: 1838

FWH functions and mod harbour

Hello friends,

How can one use FIVEWIN functions, for example from the shellapi.prg

DLL32 FUNCTION or static HB_FUNC() in mod harbour?

Which functions are used in harbour to move a file or an entire directory?

Best regards,
Otto
by Otto
Mon Jan 08, 2024 7:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH functions and mod harbour
Replies: 1
Views: 642

Re: Question about deleting files and the trash

... flag is set. You must provide a full path to delete the file to the Recycle Bin. https://learn.microsoft.com/en-us/windows/win32/api/shellapi/ns-shellapi-shfileopstructa
by Jimmy
Wed Jan 03, 2024 9:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about deleting files and the trash
Replies: 11
Views: 1187

Re: Question about deleting files and the trash

https://learn.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shfileoperationa
Returns zero if successful; otherwise nonzero


so it seems as it is properly doing it...

I can't understand why they don't appear at the recycle bin
by Antonio Linares
Fri Dec 22, 2023 1:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about deleting files and the trash
Replies: 11
Views: 1187

TrayBallon for Fivewin

... use CLASS TTrayIcon() but it "just" show how to use Icon in TaskTray https://learn.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shell_notifyicona this what CLASS TTrayIcon() use  ::lSuccess = Shell_NotifyIcon( If( lAdd, NIM_ADD, NIM_MODIFY ), ...
by Jimmy
Tue Feb 21, 2023 6:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TrayBallon for Fivewin
Replies: 3
Views: 308

TTRAY error

... Error BASE/1089 Argument error: ABS Args: [ 1] = P 0x76880000 Stack Calls =========== Called from: => ABS( 0 ) Called from: .\source\winapi\SHELLAPI.PRG => SHELL_NOTIFYICON( 0 ) Called from: .\source\classes\TTRAY.PRG => TTRAYICON:REFRESH( 118 ) Called from: .\source\classes\TTRAY.PRG ...
by Natter
Mon Jan 16, 2023 12:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TTRAY error
Replies: 1
Views: 226

Re: Display Windows Version

... Information and Windows 11 is not include --- for User : FiveWin have ShellAbout() https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shellaboutw it will display Windows About Dialog which show Windows Version you can add a String, here "FiveWin", in ...
by Jimmy
Sat Jul 09, 2022 10:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Display Windows Version
Replies: 4
Views: 491

Re: Copying a file

... at ShFileOperation() which "is" the "copy" Part of Explorer https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shfileoperationa have a look at x:\fwh\samples\dlgfile.prg
by Jimmy
Sun Sep 05, 2021 8:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Copying a file
Replies: 17
Views: 1194

Error calling a service

... does everything but printing. So I did a simple program in Pelles C to probe it. #include <stdio.h> #include <windows.h> #include <shellapi.h> int main() { #define WIN32_DEFAULT_LIBS static char *cmdstr="do.bat"; ShellExecute(NULL,"open",cmdstr,NULL,NULL,SW_HIDE); ...
by Adolfo
Tue Aug 25, 2020 3:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error calling a service
Replies: 7
Views: 760

Re: Ejecutar llamada a servicio.

... mas información de esta rareza. Cree un exe en Pelles C con las siguientes lineas #include <stdio.h> #include <windows.h> #include <shellapi.h> int main() { #define WIN32_DEFAULT_LIBS static char *cmdstr="do.bat"; ShellExecute(NULL,"open",cmdstr,NULL,NULL,SW_HIDE); ...
by Adolfo
Tue Aug 25, 2020 2:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejecutar llamada a servicio.
Replies: 16
Views: 1602

Re: problem w with FWH 16.12 and xHB.com

... [Source\WinApi\ras32.prg] MYC_FLAGS = MYDEFINES = MYPRG_FLAGS = [Source\WinApi\registry.prg] MYC_FLAGS = MYDEFINES = MYPRG_FLAGS = [Source\WinApi\shellapi.prg] MYC_FLAGS = MYDEFINES = MYPRG_FLAGS = [Source\WinApi\wininet.prg] MYC_FLAGS = MYDEFINES = MYPRG_FLAGS = [source\winapi\helpchm.prg] MYC_FLAGS ...
by kajot
Sun Dec 25, 2016 9:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem w with FWH 16.12 and xHB.com
Replies: 11
Views: 4975

Recompilar FiveHMX para xhb.com

... "Obj\netapi32.obj" "Obj\odbc32.obj" "Obj\ras32.obj" "Obj\registry.obj" "Obj\shellapi.obj" "Obj\wininet.obj" "Obj\helpchm.obj" "Obj\xbrowser.obj" "Obj\tgif.obj" "Obj\dbcombo.obj" ...
by russimicro
Mon Dec 01, 2014 5:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Recompilar FiveHMX para xhb.com
Replies: 2
Views: 826

SOURCE FOR IMAGE WITH *.BMP *.EMF *.GIF *.ICO *.JPG *.PNG *

... #include <olectl.h> #include <stdlib.h> #include <malloc.h> #include <memory.h> #include <tchar.h> #include <shellapi.h> #include <commdlg.h> #include <shellapi.h> #include "h2.h" static HBITMAP hbm; // RETURN HBITMAP TO FIVEWIN using ...
by HATHAL
Sun Oct 06, 2013 8:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Cover Flow
Replies: 10
Views: 5596

Re: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

... unresolved external symbol _HB_FUN_FREELIBRARY FiveH32.lib(INI.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY FiveH32.lib(SHELLAPI.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY FiveH32.lib(WINDOW.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY ...
by Andrés González
Sun Sep 29, 2013 12:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?
Replies: 14
Views: 4701

Re: New FWH 12.09

... external symbol _HB_FUN_FREELIBRARY FiveH32.lib(TMETAFIL.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY FiveH32.lib(SHELLAPI.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY FiveH32.lib(GETTASKS.obj) : error LNK2001: unresolved external symbol ...
by rhlawek
Thu Oct 11, 2012 7:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 12.09
Replies: 5
Views: 972
Next

Return to advanced search