Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlling IE5 from VFP 6
Message
 
 
To
02/10/2001 17:12:42
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00563316
Message ID:
00563317
Views:
22
>Hello,
>
>I have code to instantiate an IE5 browser and navigate to a url which works fine. My problem is that IE remains in the background and the user then needs to press ALT+TAB.
>
>   oie = CreateObject("InternetExplorer.Application")
>   oie.Navigate("http://njmtl0035.impactrx.com/cgi-bin/Physician_Uploads.pl?username=EVER4700")
>   oie.Visible = .T.
>
>
>In VB I used the following similar code and IE pops up in the foreground.
>
>   Dim oie As Object
>   Set oie = CreateObject("InternetExplorer.Application")
>   oie.Navigate ("http://njmtl0035.impactrx.com/cgi-bin/Physician_Uploads.pl?username=EVER4700")
>   oie.Visible = True
>
>
>In VFP, how do I tell the IE window to come to the foreground?
>Any suggestions would be greatly appreciated.
>
>TIA
>-Isaac

See, if this thread can help you: Forum: Visual FoxPro Category: COM/DCOM and OLE Automation Title: Re: Bring instance of IE to front? Thread #524396 Message #524521

I made a quick search here, but haven't found the specific thread. I remember, this problem was discussed before...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform