Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / May 2008

Tip: Looking for answers? Try searching our database.

Outlook 2003/2007 differences

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pierre Scerri - 18 May 2008 17:07 GMT
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
elegaultZZZ@REMOVEZZZmvps.org - 21 May 2008 16:24 GMT
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/aspnet/30054809/bring-new-internetexplor.aspx

Signature

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

> This code:
>
[quoted text clipped - 22 lines]
>
> Thanks
Pierre Scerri - 21 May 2008 19:03 GMT
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.

> I myself don't have an answer, but this thread sounds relevant:
>
[quoted text clipped - 28 lines]
> >
> > Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.