How do I create an OCX? The Windows Control Library only creates a DLL that I can reference, but it doesn't add my control to the toolbox.
Printable View
How do I create an OCX? The Windows Control Library only creates a DLL that I can reference, but it doesn't add my control to the toolbox.
You have to add it yourself. Right click on the toolbox and select 'add/remove items', then find your dll. It will be added at the bottom of the toolbox.
BTW there are no more OCX. Controls are now dlls.
Ok, but I get an error that says it's not registered as a COM object
You are probably in the tab that says COM Components, switch to one that says .NET Framework Components.
AHHHHHHHHHHHHH. It worked. I can't believe I did that. Thanks.