472,355 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,355 software developers and data experts.

Using .Net Dll, On HTML Page, using <OBJECT> Tag !?!!?!?

Hallow every one, i have a problem using .net user control with the
<OBJECT> tag,
I made a normal user control in C#, then i use the regasm to register
it, also i use the option regfile to generate the *.reg file and then
merge it,

After merging it i open the reg file, which was as follow.

REGEDIT4

[HKEY_CLASSES_ROOT\DosDos.UserControl1]
@="DosDos.UserControl1"

[HKEY_CLASSES_ROOT\DosDos.UserControl1\CLSID]
@="{A2445B1F-8D67-354A-9099-B2BD872920B9}"

[HKEY_CLASSES_ROOT\CLSID\{A2445B1F-8D67-354A-9099-B2BD872920B9}]
@="DosDos.UserControl1"

[HKEY_CLASSES_ROOT\CLSID\{A2445B1F-8D67-354A-9099-B2BD872920B9}\InprocServer32]
@="mscoree.dll"
"ThreadingModel"="Both"
"Class"="DosDos.UserControl1"
"Assembly"="DosDos, Version=1.0.2154.1975, Culture=neutral,
PublicKeyToken=null"
"RuntimeVersion"="v1.1.4322"

[HKEY_CLASSES_ROOT\CLSID\{A2445B1F-8D67-354A-9099-B2BD872920B9}\InprocServer32\1.0.2154.1975]
"Class"="DosDos.UserControl1"
"Assembly"="DosDos, Version=1.0.2154.1975, Culture=neutral,
PublicKeyToken=null"
"RuntimeVersion"="v1.1.4322"

[HKEY_CLASSES_ROOT\CLSID\{A2445B1F-8D67-354A-9099-B2BD872920B9}\ProgId]
@="DosDos.UserControl1"

[HKEY_CLASSES_ROOT\CLSID\{A2445B1F-8D67-354A-9099-B2BD872920B9}\Implemented
Categories\{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}]
then i create an HTML page as follow

<HTML><BODY><OBJECT
classid="clsid:A2445B1F-8D67-354A-9099-B2BD872920B9">
</OBJECT></BODY></HTML>
But the control dosn't appear on the page,

i read the following post, i follow it step by step, but i don't know
what is the solution,

http://groups.google.com/group/micro...4c3ee4b44c0edd
So please any body help me, Thanks a lot.

Nov 24 '05 #1
0 1630

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

Similar topics

4
by: Torsten Reiners | last post by:
Hi, it might be a simple solution but I do not see it. The problem is that I have the following file stored on my local harddrive. All references are URL to a remote computer. It is working,...
4
by: KC | last post by:
Could some one explain to me the casting rules for sending generic lists, ex. List<Person>, to a function that accepts List<object>? I cannot get the following easy-cheesy app to work. I get the...
1
by: easy.lin | last post by:
.... <object id="10">door</object> .... I try to write this in clipse XSD editor <element name="object" type="string"> <attribute name="id" type="int"></attribute> </element> but get wrong...
4
by: colson | last post by:
Hi, If I have a class A, and a List<List<object>> containing instances of A. How do I explicitly cast List<List<object>> as List<List<A>>?
2
by: Jeff | last post by:
..NET 2.0 I'm wondering if it is possible set the DataGridView.DataSource to a List<objectcollection. Where object is a class derived from the object class. If it's possible then my question...
9
by: Stephan Steiner | last post by:
Hi I seem to have a bit of trouble understanding one bit of how generics work: In C#, every class automatically derives from object, and inherits a bunch of properties (i.e. ToString()). Thus,...
0
by: chiara85 | last post by:
How can I incorporate a video using this script? Can I use this script for different kind of files (AVI, MPG…?) <object data= "media/video-sample.avi" type="video/avi" />
4
by: Alan Silver | last post by:
Hello, I have an <objecttag that is used to display a Flash file. I would like the whole Flash file to be a link. The obvious thought would be to do this... <a...
3
by: etabetapi | last post by:
I'm trying to build a simple gallery using some thumbnail images to load larger images and SWF files by swapping out the source hrefs. It works okay with images, but I'm having trouble doing the same...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
0
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...

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.