Dear All / Sir Linares,
Good Day!
As per the subject, do you have a sample program in FWH that will tell if a file (i.e. pdf ) has no associated program to run it? Thanks
Best Regards,
Apollo
FWH10.6|BCC5.82|PELLEC|XMATE
Dear All / Sir Linares,
Good Day!
As per the subject, do you have a sample program in FWH that will tell if a file (i.e. pdf ) has no associated program to run it? Thanks
Best Regards,
Apollo
nRetValue:= ShellExecute( 0, cOperation, cPathFilename, cParameters, cDirectory, nShowCommand ) // › RETURNS
// nRetValue: if the numeric return value is greater than 32, the function executed successful. Should the return value be less or equal to 32, the value represents a specific error.
#define ERROR_BAD_FORMAT 11 // Datei ist keine Win32 Anwendung - invalid EXE file
#define SE_ERR_ACCESSDENIED 5 // Zugriff verweigert
#define SE_ERR_ASSOCINCOMPLETE 27 // Datei-Assoziation ist unvollstaendig
#define SE_ERR_DDEBUSY 30 // DDE ist nicht bereit
#define SE_ERR_DDEFAIL 29 // DDE-Vorgang gescheitert
#define SE_ERR_DDETIMEOUT 28 // DDE-Zeitlimit wurde erreicht
#define SE_ERR_DLLNOTFOUND 32 // benoetigte DLL wurde nicht gefunden
#define SE_ERR_FNF 2 // Datei wurde nicht gefunden - invalid path or filename
#define SE_ERR_NOASSOC 31 // Datei ist nicht assoziiert - invalid action, or no application associated with the specified file
#define SE_ERR_OOM 8 // Nicht genügend Speicher - insufficient memory
#define SE_ERR_PNF 3 // Pfad wurde nicht gefunden
#define SE_ERR_SHARE 26 // Sharing-Verletzung