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
|
|||
|
|||
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
|
|||
|
|||
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 |
Display Modes | |
|
|
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 |