473,503 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IObjectSafety How do I do it?

Hi
Have been following the following example that creates an ActiveX in C#
which I call from a local HTML page via Javascript (XP Pro IE6) however it
always pops up a warning I have been told I need to implement IObjectSafety
But I don't Have a clue!!!

http://www.devhood.com/messages/mess...hread_id=16569

Could someone tell me how I would extend this example so it uses
IObjectSafety please.

Thanks
May 7 '06 #1
1 6618
Adrian,

Why are you bothering creating an ActiveX in C#? It's an unsupported
hack which is fragile, and not recommended.

Why not host a windows forms control in IE? Check this out:

http://samples.gotdotnet.com/quickst...eSourcing.aspx

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Adrian" <ad****@nospam.comk> wrote in message
news:pK********************@bt.com...
Hi
Have been following the following example that creates an ActiveX in C#
which I call from a local HTML page via Javascript (XP Pro IE6) however it
always pops up a warning I have been told I need to implement
IObjectSafety
But I don't Have a clue!!!

http://www.devhood.com/messages/mess...hread_id=16569

Could someone tell me how I would extend this example so it uses
IObjectSafety please.

Thanks

May 8 '06 #2

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

Similar topics

3
3355
by: Simon CJC | last post by:
Hello I use AxSHDocVw.AxWebBrowser in a windows application. But sometimes the url I browsed in AxSHDocVw.AxWebBrowser contains error caused by javascript. Can I prevent javascript from running in...
4
4448
by: lwickland | last post by:
Non-visual C# objects on a webpage are not marked as "safe for scripting" I'm developing .NET components in C# which are used as ActiveX-style controls on web pages that are displayed inside a...
1
1528
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...
1
2073
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...
4
23339
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...
1
950
by: fniles | last post by:
Our application which was written in classic ASP uses some ActiveX controls (with IObjectSafety Implementation and we created CAB files and sign them). In ASP.NET, can we use ActiveX controls also,...
5
5943
by: fniles | last post by:
We created an ActiveX control and marked it as safe for scripting using Implements IObjectSafety. We then created a CAB file and signed it using Verisign. We also created a license file (LPK file)...
2
1438
by: exr | last post by:
The project I am doing requires custom functionality from a DLL executed from with Internet Explorer. The DLL is written in VB 2005. The DLL resides on the local machine, where it is registered...
0
826
by: CodeSpanker | last post by:
I have a class library that is COM visible as it is instantiated via webpage. V1 of this class library is live and has been installed on client machines so that when they navigate to...
0
7203
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,...
0
7087
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7462
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...
0
5579
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,...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3156
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1514
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
383
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...

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.