Ahmed,
You can not export an active x control from .NET (at least, not in a
supported way). If you want to register types in .NET as COM types, you
need to use the regasm tool to create the appropriate registry entries for
the .NET classes. Of course, you also need the .NET runtime installed on
the client machine as well.
What are you trying to do? Are you trying to embed the control on the
page, or are you trying to install the control on the client side (for use
in an application).
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"ahmed khairy" <ah*********@discussions.microsoft.com> wrote in message
news:B9**********************************@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?