General information
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only