Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > ActiveX Conferencing > ActiveX Warning...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 51 of 121
Post > Topic >>

ActiveX Warning with Navigate but not with Open--HELP!!!

by orgdoctor@[EMAIL PROTECTED] (Orgdoctor) Aug 22, 2004 at 03:34 PM

As many of you know, Microsoft's Service Pack 2 for XP, as well as a
previous security patch, has made it very difficult for a web page to
launch another page via the Window.Open command. In searching for an
alternative way to open a window, I found that this could be done
using the InternetExplorer Object. The following code illustrates this
(thanks to Rick Strahl):

     Set oIE = CREATEOBJECT("InternetExplorer.Application")
     oIE.Visible = True
     oIE.Height = 768
     oIE.Width = 1015
     oIE.ToolBar = False
     oIE.AddressBar= False
     oIE.statusbar = False
     oIE.menubar = False
    
oIE.Navigate("http://www.SomeSiteName.com/SomePageName.asp?RespondentID="&
         respondentID & "&OrgCode=" & OrgCode

My problem is this: When I use Window.Open to open such a page, it 
does so directly without the ActiveX warning message "An ActiveX 
control on this page might be unsafe to interact with other parts 
of this page. Do you want to allow this interaction?" (The web page 
I'm trying to open does contain a custom ActiveX control.) However, 
when I try to Navigate to this same page in the window opened by the
InternetExplorer object (above), I get the ActiveX warning prompt.

The control is signed with Authenticode, ObjSafe is implemented in it,
and I've checked the registry to ensure that its component
implementations include "Safe for scripting" and "Safe for
initialization".

Can anyone furnish some clues as to how I can avoid eliciting the
ActiveX warning prompt using Navigate with the InternetExplorer object
method of creating a new window? Thanks in advance for any help you
can provide.
 




 1 Posts in Topic:
ActiveX Warning with Navigate but not with Open--HELP!!!
orgdoctor@[EMAIL PROTECTE  2004-08-22 15:34:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 23:52:47 CST 2008.