467,858 Members | 1,725 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,858 developers. It's quick & easy.

activeX dll

i've developed a user control using C# and turned it into a dll so that i can
use it on the web on an html page. however i need to put that dll in a cab
file so that it registers itself correctly on client's PCs. each time i try
to register it using regsvr32 it comes up with the error, that the file was
loaded but the dllRegisterServer entry point was not found. and on client pcs
the cab file is downloaded but is not registered with error message: class
not registered hr = 80040154.
any suggestions?
Aug 29 '05 #1
  • viewed: 1583
Share:
1 Reply
A c# UserControl cannot be registered using regsvr32 like an ActiveX
control. A .Net dll normally does not have a DLLregisterServer method.

To use the UserControl like an ActiveX control, you can register it for COM
interop ( regasm), but i am not sure if this method will work when controls
are delivered over the web.

-Atul, Sky Software http://www.ssware.com
Shell MegaPack For ActiveX & .Net - Windows Explorer Like Shell UI Controls


"ahmed khairy" <ah*********@discussions.microsoft.com> wrote in message
news:E7**********************************@microsof t.com...
i've developed a user control using C# and turned it into a dll so that i
can
use it on the web on an html page. however i need to put that dll in a cab
file so that it registers itself correctly on client's PCs. each time i
try
to register it using regsvr32 it comes up with the error, that the file
was
loaded but the dllRegisterServer entry point was not found. and on client
pcs
the cab file is downloaded but is not registered with error message: class
not registered hr = 80040154.
any suggestions?

Aug 29 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by AnalogKid | last post: by
1 post views Thread by wang xiaoyu | last post: by
2 posts views Thread by Fie Fie Niles | last post: by
6 posts views Thread by Pippen | last post: by
12 posts views Thread by A.M. | last post: by
18 posts views Thread by DartmanX | last post: by
7 posts views Thread by Jarod_24 | last post: by
4 posts views Thread by Wilfried Mestdagh | last post: by
6 posts views Thread by hufaunder | last post: by
reply views Thread by jack112 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.