Information générale
Titre:
Launch a Win32 App from VFP
HI all,
I want to launch a win32 app or open some file from within VFP (for example a ZIP file).
To do so, I'm using Registry.vcx and Process.vcx classes.
With registry.vcx I get the app assosiated to a file extension, i.e. C:\PF\Winzip32.exe for a ZIP file.
After that I launch the app with process.vcx like this:
oProcess = CREATEOBJ('API_AppRun','c:\PF\Winzip32.exe ZIPFILE.ZIP' )
oProcess.LaunchAppAndWait()
It is working ok for known extensions, but I'd like to show a window allowing the user to choose the application he wants to use to open a file that has no app assosiated to its extension.
Am I clear?... something like if registry.vcx returns a null app assosiated, then open a "Open with" window instead of calling the LaunchApp() in process,vcx.
TIA
Fabian
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement