Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Internet Exlporer and Vista
I have code that, in Windows XP, would go out and upload or download
information to a web page using the web pages GUI. This code still works fine in XP, but using it on a vista machine causes the code to fail. I cannot keep a handle on the internet explorer object if I navigate away from the page more than once. Of course if that happens I can no longer manipulate the page and my code fails. I realize they changed how IE works in Vista, so does anyone know of a working method to do this. I need to navigate using the links, and click the objects in the browser, since I don;t want the code to have acces to anything else. here is a sample of the code I'm using: Sub UploadToIE() Dim ieBW As InternetExplorer Set ieBW = New InternetExplorer ieBW.Navigate2 "www.Google.com" ieBW.Navigate2 "www.microsoft.com" 'This is where the code fails as it no longer knows what ieBW is Do DoEvents Loop Until ieBW.ReadyState = READYSTATE_COMPLETE And Not ieBW.Busy End Sub Thanks for any help! -- ********************* J Streger MS Office Master 2000 ed. MS Project White Belt 2003 User of MS Office 2003 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
VISTA | New Users to Excel | |||
Where does MS Vista store xslx files opened directly from Internet | Excel Discussion (Misc queries) | |||
Vista -vs- XP | Excel Programming | |||
XP V Vista | Excel Discussion (Misc queries) | |||
Vista and VB6 DLL | Excel Programming |