>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 #
524521I 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