|
-
Aug 31st, 2002, 04:56 PM
#1
Thread Starter
New Member
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.
-
Aug 31st, 2002, 05:02 PM
#2
PowerPoster
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.
-
Aug 31st, 2002, 05:58 PM
#3
Thread Starter
New Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|