-
Save as .ocx?
Hello,
I just changed my project from vb6 to vb.net.
It was a usercontrol(ocx) i was upgradeing, I did the upgrade myself(mostly copy and pasting then changing to .net)
Now how can i compile this as a ocx?, when I do build solution I get a .dll in the /bin..
I selected new->Windows Control Library, cause there was no ActiveX Option.
-
There is not ocx's in .net. When you compile a control or something, it is just a dll. You can add a reference to the dll and use it as a control, just like you would an ocx. Right click on the toolbox, and choose the Customize toolbox... option. Then click on the .Net framework components tab. Click the add button and navigate to your dll. Click ok. It should automatically add it and check it for you. Now when you go back, you should see your control in the toolbox.
-