473,657 Members | 2,453 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to mark ActiveX control (VB6.0) as save for scripting

Hello,

I've developed an ASP.NET application and I use an ActiveX control in
it. The ActiveX control is developed in Visual Basic 6.0. Each time a
page with the ActiveX control is loaded, I get the message that
describes that the ActiveX control isn't marked as save for scripting.

Does anyone know how I can mark my ActiveX (VB 6.0) control as save, so
that the browser knows it can load it. Has anyone samples for Visual
Basic 6.0?

Greetings,
Chris.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #1
1 2076
Chris,

See
http://msdn.microsoft.com/library/en...fetyLevels.asp
for the options available for VB6. If you're interested in going the
IObjectSafety route, the sample to which the document refers should be on
your VB or VStudio disk.

That said, before you mark it as safe for scripting, you should really
ensure that no unintended or potentially deleterious actions can be
accomplished by scripting the object.

HTH,
Nicole
"Chris Zoper" <te***********@ 12move.nl> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
Hello,

I've developed an ASP.NET application and I use an ActiveX control in
it. The ActiveX control is developed in Visual Basic 6.0. Each time a
page with the ActiveX control is loaded, I get the message that
describes that the ActiveX control isn't marked as save for scripting.

Does anyone know how I can mark my ActiveX (VB 6.0) control as save, so
that the browser knows it can load it. Has anyone samples for Visual
Basic 6.0?

Greetings,
Chris.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
6530
by: Filip Wtterwulghe | last post by:
Hello, We have a number of VB6 ActiveX applicationmodule(s) that are loaded into a IE6 WebBrowserControl . This WebControl is imbededded into Application X . Now We want to send a message from Application X to all the ActiveX applicationmodules that are in IEWebbrowser . Contains Contains Application X ------------> IE WebControl -------------> Vb6 ActiveX A Contains
2
7567
by: Fie Fie Niles | last post by:
This one XP machine (with IE 6) is having a problem viewing any ActiveX controls (created on VB6) on the Internet Explorer browser. I put the same ActiveX control in a VB program, and when I run the VB program on that same machine, I can view the ActiveX control fine. He is using Citrix. The same ActiveX controls can be viewed on other machines. When trying to view 1 of the ActiveX control, he got an error "Visual Basic Run-time redist...
0
866
by: Chris Zoper | last post by:
Hello, I've developed an ASP.NET web application and I use an ActiveX control on it that is developed with Visual Basic 6.0. When the page that has the control on it is loaded, a warning is displayed about unsafe ActiveX controls. How can I mark my Visual Basic 6.0 control, so that the browser knows it is a safe control?
0
7121
by: Ike | last post by:
I have an Activex Control created in VB6, which, displays no problem on any machine I have, but, on some machines of others, it does not. All machines are running either XP or Windows 2000, and all are running MSIE6.x, woth security settings set to display this control. For the life of me, I cannot figure out how such a simple control can be so sporadic in it;s showing on a page. It always downloads - it just doesn't always show. I'm...
1
1531
by: Chris Zoper | last post by:
Hello, I've developed an ASP.NET application and I use an ActiveX control in it. The ActiveX control is developed in Visual Basic 6.0. Each time a page with the ActiveX control is loaded, I get the message that describes that the ActiveX control isn't marked as save. Does anyone know how I can mark my ActiveX (VB 6.0) control as save, so that the browser knows it can load it.
7
1201
by: Rob T | last post by:
I'm hoping someone can point me in the right direction...I've been picking through MSDN all day and I'm more confused now what I was when I started this! Hopefully I have the right terminology.... I'm a VB programmer....C# is basically greek to me......... I want to create an ActiveX control. To keep it simple, let's say I want a windows form that just has a label that says "Hello World". I would like my web form to load this...
2
1998
by: Shawn | last post by:
Hi. I've never created an ActiveX control before, so I know little about what it is capable of and what its limitations are. My problem is this: I have to create a way to send multiple documents from the web server to a printer on the user's network. The way it works today the user has to manually download each document and send it to his printer, but now they want me to create an automated process. Will I be able to download documents...
4
1435
by: Captain Chaos | last post by:
Hello Is it Possible to build an ActiveX Control with NET ? I want to take a NET UserControl and use it with VB6. I found a solution how to embbed a NET UserControl into a WebPage (Like it was possible with ActiveX Control) http://www.vbdotnetheaven.com/Code/Jun2003/2067.asp
4
23361
by: fniles | last post by:
I have an ActiveX control in my web page that I tried to access using intranet. I have implemented IObjectSafety in the ActiveX control, and when I created the CAB file using VB Pakage and Deployment Wizard, under "Safety Settings" I selected "Yes" for "Safe for Scripting" and "Yes" for "Safe for Initialization". I also have signed the CAB file. In IE, the option 'Script ActiveX controls marked Safe for Scripting' is already set to...
0
8420
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8842
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8740
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8516
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8617
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7353
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.