473,473 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ActiveX Control Not Appearing in HTML

I've been attemping to author controls in C# for use in an HTML
document, without success. I've followed two tutorials, and both
turned out the same... with the red X, or "corrupt" icon. There isn't
really much information I could give but I've been testing the control
in Internet Explorer 6.0, and this is the basic tag format I've been
using in the HTML document (I also include ID, NAME, HEIGHT, and WIDTH
attributes):

<OBJECT CLASSID="path#namespace.class"></OBJECT>

Nov 17 '05 #1
2 1223
You need to change some security settings in order to get this to work.
Check out the article on windowsforms.net titled "Using Windows Forms
Controls in Internet Explorer" located at (watch for line wrap) for more
details:

http://windowsforms.net/articles/iesourcing.aspx

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

<yo****@gmail.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
I've been attemping to author controls in C# for use in an HTML
document, without success. I've followed two tutorials, and both
turned out the same... with the red X, or "corrupt" icon. There isn't
really much information I could give but I've been testing the control
in Internet Explorer 6.0, and this is the basic tag format I've been
using in the HTML document (I also include ID, NAME, HEIGHT, and WIDTH
attributes):

<OBJECT CLASSID="path#namespace.class"></OBJECT>

Nov 17 '05 #2
Same result. I've enabled all ActiveX-related permissions in my
Internet Options, followed that step-by-step walkthrough, and the
"currupt" icon still plauges me. I'm compiling with "Release" settings
as well.

Also, would it change anything by testing the document on my local
machine? (I.E. copying the DLL and HTML into the same directory, then
executing.)

Nov 17 '05 #3

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

Similar topics

1
by: wang xiaoyu | last post by:
Hello: i want use activex in wxpython program,but when i use MakeActiveXClass an exception occurs. this is my source code dealing the DICOM ocx.I must note that in this program "hwtxcontrol" is...
0
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...
0
by: ann | last post by:
Hi, I am trying to add an ActiveX control on my ASP.NET web form (the language for code behind is C#). I have some client-side vbscript to handle events from the html input buttons. In the...
3
by: Jeffery Franzen | last post by:
Anyone know where the documentation is regarding Activex controls in asp web forms? I'm using VS.NET 2002 enterprise and am trying to use Activex controls in vb.net web form app. I do the add...
1
by: Frank | last post by:
Short Version of Question: Can anyone provide an example of how I should embed the ActiveX and license, and then use it in a function?
0
by: martinb2007 | last post by:
Hi everybody! From Buenos Aires. A brief explanation of the application I'm developing. Any help or discussion about welcomed. I'm developing a Documents Manager that allows to upload office and...
6
by: Budhi Saputra Prasetya | last post by:
Hi All, I'm trying to display .NET Custom Control (created using Inherited Control) on an ASPX page, but no luck. I already registered the Control to Global Assembly Cache through .NET Framework...
1
by: kret | last post by:
Hi, this is my first post so first of all I would like to say hello :) Now getting to my problem. In my job I have to create an ActiveX control in .NET 1.1 that can be lunched from IE....
3
by: =?Utf-8?B?R3JlZyBN?= | last post by:
Hello, I'm running an asp.net, intranet web application using .net framework 1.1 on IIS5.1 / 6.0. Through the web application, I would like to press a button on the web page, have another window...
0
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
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
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,...
0
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...
1
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...
0
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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
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 ...

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.