Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass HWND to exe ?
Message
From
16/07/2003 20:54:19
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00810893
Message ID:
00810919
Views:
6
>Bill,
>
>Try
loIE = Null
>lhWND = INT(VAL(cHWND))
>oShell = CREATEOBJ('Shell.Application')
>oIEColl = oShell.Windows
>FOR EACH oIE IN oIEColl
>  IF "IEXPLORE.EXE" $ oIE.FullName AND oIE.hWnd = lhWND
>    loIE = oIE
>    EXIT
>  ENDIF
>ENDFOR
>oIEColl = NULL
>oShell = NULL
>...
>
>
>>I'm using VFP 7.0
>>
>>In an exe, is there any way to use an instance of InternetExplorer that was created in another exe?
>>
>>myPrg
>>  local loIE, lnHWND
>>  loIE = CreateObject('InternetExplorer.Application')
>>  lnHWND = loIE.HWND
>>  do myExe.exe with transform(lnHWND)
>>
>>myExe.prg (inside myExe.exe)
>>  lparameters cHWND
>>  local loIE
>>  loIE = ?????         << how do I get myExe to use the window created in myPrg
>>
>>
>>TIA

Thanks Sergey
Bill Morris
Previous
Reply
Map
View

Click here to load this message in the networking platform