A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

vba instantiated internetExplorer.application differs from user la



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 16th 09, 08:31 PM posted to microsoft.public.outlook.program_vba
Rob
external usenet poster
 
Posts: 146
Default vba instantiated internetExplorer.application differs from user la

I am trying to use VBA code to print an intranet page that uses .aspx, and I
cannot get past the security failures. Here are the pertinent lines of code:

Call objTest.navigate(strAspWebPage, navTrustedForActiveX, "_self",
"Export.aspx?Report=cr_MS.rpt&Site=H", "")
objTest.Visible = True

If I open IE as a user and go to the same URL, I have no problem.

I have been looking for some options that I must be missing when I created
the object:
Set objTest = CreateObject("internetexplorer.application")
so that it will inherit all the same security as if I had opened it as a user.
Maybe my sense of where the solution lies is mistaken.

Any help would be appreciated.

Ads
  #2  
Old September 18th 09, 02:58 PM posted to microsoft.public.outlook.program_vba
JP[_3_]
external usenet poster
 
Posts: 201
Default vba instantiated internetExplorer.application differs from userla

You might need to post more of your code.

(ps- this is the Outlook VBA programming group, you might only get
limited help here.)

--JP

On Sep 16, 3:31*pm, Rob wrote:
I am trying to use VBA code to print an intranet page that uses .aspx, and I
cannot get past the security failures. *Here are the pertinent lines of code:

Call objTest.navigate(strAspWebPage, navTrustedForActiveX, "_self",
"Export.aspx?Report=cr_MS.rpt&Site=H", "")
objTest.Visible = True

If I open IE as a user and go to the same URL, I have no problem.

I have been looking for some options that I must be missing when I created
the object:
Set objTest = CreateObject("internetexplorer.application")
so that it will inherit all the same security as if I had opened it as a user.
Maybe my sense of where the solution lies is mistaken.

Any help would be appreciated.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
which event for readping pane fully instantiated. BatKing Outlook - Using Forms 8 October 21st 08 03:50 PM
Understanding .pst folders,and how Outlook differs from OE. sheana Outlook - General Queries 5 September 24th 08 02:51 PM
contact name sort differs ? abendx Outlook - Using Contacts 1 February 6th 07 04:38 PM
"Office (application) not installed for this user" slatons Outlook - Installation 0 December 1st 06 11:11 PM
Keyboard Differs Midas NDT Sales Outlook - General Queries 0 February 24th 06 04:35 PM


All times are GMT +1. The time now is 02:45 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.