Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word GetObject() - WHACKED?????
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00538237
Message ID:
00538496
Views:
10
Jim,
Looks like you found a solution, but here is this if you are interested at all. This is pretty basic.
John
lcFile = GETFILE()
l_OpenWin( lcFile )



FUNCTION l_openwin
PARAMETERS tcOpenMe

  DECLARE INTEGER ShellExecute ;
    IN SHELL32.dll ;
    INTEGER nWinHandle, ;
    STRING cOperation, ;
    STRING cFileName, ;
    STRING cParameters, ;
    STRING cDirectory, ;
    INTEGER nShowWindow

  DECLARE INTEGER FindWindow ;
    IN WIN32API ;
    STRING cNull, ;
    STRING cWinName
          
  ShellExecute(FindWindow(0, _SCREEN.caption), ;
    "Open", tcOpenMe, ;
    "", SYS(2023), 1)                    
ENDFUNC 
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform