Currently I have an activex control and I registered it to my computer with regsvr32 foo.dll.
(NOTE: This is a third party activex control so I do not actually have the source code for it, just a dll)
When I pull up regedit under the classes I see my dll registered, however it has multiple classes. Foo.class1, Foo.class2 and each one of these classes has there own clsid. When I try and embed this activex control into an html page there is no clsid for the entire control only the clsids for each class. What is the best way to embed this control to have use of its functions.
The company told me to create an activex control and put there activex control inside it. I have been searching the internet but have no idea on how to do that.
Any help would be greatly appreciated!!!
Thanks
EDIT:
All avenues with the company have been exhausted. There answer to us was to create an activex control and embed their activex control inside it. Does anyone know of examples of that begin done or if there is a better solution.
Best Answer
Not sure if this would help you as you want to embed it on a web page.
Create a C# control library
under project menu item, select properties
click on assembly information
select 'Make assembly com visible'
click 'okay'
click on build
select 'register for com interop'
then open assemblyinfo.cs and change where it says
[assembly: AssemblyVersion("1.0.*")] to [assembly: AssemblyVersion("1.0.0.0")] This way it will ensure that you GUID does not change during each build.
Check these: http://www.c-sharpcorner.com/UploadFile/dsandor/ActiveXInNet11102005040748AM/ActiveXInNet.aspx
http://www.codeproject.com/KB/miscctrl/exposingdotnetcontrols.aspx