com >> An ActiveX control on this page might be unsafe to interact with o

by a3Jpc3Jhano » Sat, 08 Oct 2005 15:34:01 GMT

I've developed some ActiveX components and controls which I'm using in my
site. I used internet component technology to deploy those components and
those components are digitally signed. When I'm trying to access those
components I'm getting the message:

An ActiveX control on this page might be unsafe to interact with other parts
of the page. Do you want to allow this interaction?

Without adjusting browser how to disable this?

Note: I've set Safe for Scripting to yes and Safe for Initialization to true
while creting package through Package and Deployment Wizard.

I'm following:
http://support.microsoft.com/kb/q182598. I'm not able to create tlb using
mktyplib for that file objsafe.odl

got error:fatal error M0006: Unable to pre-process input file

Any help would be appreciated.

Thank you.

Raj,


com >> An ActiveX control on this page might be unsafe to interact with o

by Ken Halter » Sat, 08 Oct 2005 23:00:09 GMT






I doubt you'll find a way to suppress that warning (which is good). Even
Windows Update shows a similar warning when it requires a new activex...
iirc, macromedia flash does too. I haven't experimented much with ax
controls on the web.


To get rid of that error, I added the following to my Path environment
variable.

C:\Program Files\Microsoft Visual Studio\VC98\Bin;C:\Program Files\Microsoft
Visual Studio\VB98

That enabled mktyplib to find all of its dependencies.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..





Similar Threads

1. An ActiveX control on this page might be unsafe to interact wi

2. Word As An Unsafe ActiveX Control

I am converting some VBA applications to Web versions. They will run VBScript 
on Web pages hosted on a server. The problem is Word is considered to be an 
unsafe ActiveX control and current security settings prevent that code from 
running. Additionally, users are prohibited by security policy from manually 
changing this.

How can Word be made safe to run this code?

3. Microsoft forms is casuing "unsafe activex" warning message

4. ActiveX unsafe message

Does anyone know how can I bypass the "An ActiveX control on this page might 
be unsafe..." message when I  using ActiveX control in customize Project 
Guid in MS Project.

Jonathan 


5. ActiveX control hosted on a web page blanks the page, please help

6. Unsafe ActiveX Initialization

Hello,

I use an ActiveX in a word document (InkPicture), and I have a warning about 
"unsafe activeX". How can I hide this warning?
I tried to activate the "Unsafe ActiveX Initialization" to the value 
"Initialize using control defaults" in the Security Settings of 
Administrative Templates, but with no result.

Thanks for answers

Regards

Maurice

7. Unsafe control

8. Control unsafe ?

Hi,
I'm French so, sorry for my bad English ;-)
I have a problem with an ActiveX control (made with VB 6).
I want to use it in an HTML page with parameters (with <PARAM> tags) but, 
when I use this parameters, I have a message : 'Internet Explorer has blocked 
this site from using an ActiveX control in an unsafe manner'. In this other 
side, when I don't use <PARAM>, everything is ok !!!
My control is signed (with a private certificate) and, in the package and 
deployment wizard, I specified that the control was safe for initilization 
and script !!! 
Have I forgotten something ???
Thank you very much.