![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
This code:
Set Iexplr = New InternetExplorer With Iexplr .Visible = False .Navigate URL:="http://xyz.com/" Do While .Busy: Loop ...some more code... End With works in Outlook 2003 (with Windows XP) but not in Outlook 2007 (with Windows Vista). In 2003 it opens an invisible instance of Internet Explorer and goes to the website xyz.com as expected. Code execution continues normally. In 2007 the .navigate command opens a 'visible' instance of Internet Explorer and goes to the website xyz.com. However, the variable Iexplr becomes null and any subsequent use (.busy) results in runtime error 462: The remote server machine does not exist or is unavailable. Can the code be made to work with both configurations? Thanks |
Ads |
#2
|
|||
|
|||
![]()
I myself don't have an answer, but this thread sounds relevant:
scripting Visual Basicscript Bring new "InternetExplorer.Application" to the front...: http://www.eggheadcafe.com/software/...netexplor.aspx -- Eric Legault [MVP - Outlook] MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007 & WSS 3.0 Application Development) Collaborative Innovations - Try Picture Attachments Wizard For Microsoft Outlook - Web: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault "Pierre Scerri" wrote in message ... This code: Set Iexplr = New InternetExplorer With Iexplr .Visible = False .Navigate URL:="http://xyz.com/" Do While .Busy: Loop ...some more code... End With works in Outlook 2003 (with Windows XP) but not in Outlook 2007 (with Windows Vista). In 2003 it opens an invisible instance of Internet Explorer and goes to the website xyz.com as expected. Code execution continues normally. In 2007 the .navigate command opens a 'visible' instance of Internet Explorer and goes to the website xyz.com. However, the variable Iexplr becomes null and any subsequent use (.busy) results in runtime error 462: The remote server machine does not exist or is unavailable. Can the code be made to work with both configurations? Thanks |
#3
|
|||
|
|||
![]()
Thanks for replying. I followed the lnk you provided but i cannot see how it
can help me. The other person's problem seems to be the opposite of mine, ie Internet explorer is not showing when it should. Maybe this problem has something to do with the ieuser.exe that runs when Internet Explorer is launched in Windows Vista?? The major problem is that the instance of Internet Explorer is lost once the ..navigate command is exxecuted and no further processing is possible. " wrote: I myself don't have an answer, but this thread sounds relevant: scripting Visual Basicscript Bring new "InternetExplorer.Application" to the front...: http://www.eggheadcafe.com/software/...netexplor.aspx -- Eric Legault [MVP - Outlook] MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007 & WSS 3.0 Application Development) Collaborative Innovations - Try Picture Attachments Wizard For Microsoft Outlook - Web: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault "Pierre Scerri" wrote in message ... This code: Set Iexplr = New InternetExplorer With Iexplr .Visible = False .Navigate URL:="http://xyz.com/" Do While .Busy: Loop ...some more code... End With works in Outlook 2003 (with Windows XP) but not in Outlook 2007 (with Windows Vista). In 2003 it opens an invisible instance of Internet Explorer and goes to the website xyz.com as expected. Code execution continues normally. In 2007 the .navigate command opens a 'visible' instance of Internet Explorer and goes to the website xyz.com. However, the variable Iexplr becomes null and any subsequent use (.busy) results in runtime error 462: The remote server machine does not exist or is unavailable. Can the code be made to work with both configurations? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How does one calculate date differences in Outlook - calendar? | cjones@jmwlaw | Outlook - Calandaring | 1 | April 2nd 08 02:32 AM |
College Football schedules in Outlook, take care of timezone differences too | ArtN | Outlook - Calandaring | 0 | July 30th 07 10:40 PM |
Differences with Word and outlook as HTMl editor | Lincoln De Kalb | Outlook - General Queries | 1 | August 11th 06 08:46 AM |
Outlook.application startup differences Outlook 200 vs 2003 Please help ;-) | Dikbill | Outlook and VBA | 6 | July 19th 06 04:28 PM |
Implementation differences in VS 2003 and VS 2005 regarding outloo | Peeyush | Outlook - Using Forms | 1 | April 17th 06 01:35 PM |