Hi
I'm wondering if anyone knows a way of launching a "Metro"/Windows 8 UI style app from foxpro.
I have had some success using the Shellexecute() from the Win32API.
By calling for a specific file I can launch a "Metro"/Windows 8 UI style app as long as it is the 'default' program for that file type.
example:
cFileName = "c:\my_picture.jpg"
cAction = "open"
ShellExecute(0,cAction,cFileName,"","",1)
But if I need to launch a specific app (one that can't be chosen as the 'default' for a particular file type) like the Camera app.
Shellexecute() wont work.
example:
cFileName = "c:\Windows\Camera\Camera.exe"
cAction = "open"
ShellExecute(0,cAction,cFileName,"","",1)
I'm almost ready to resort to writing an executable in .NET that will launch the Metro and then launching that from foxpro.
Any Suggestions?
Thanks
Tim