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

  • Thread starter Thread starter Dominator.Legend
  • Start date Start date
D

Dominator.Legend

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/micr...get+.net+dll+class+id&rnum=9#a24c3ee4b44c0edd


So please any body help me, Thanks a lot.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top