Results 1 to 3 of 3

Thread: Save as .ocx?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2002
    Posts
    12

    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.

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    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.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2002
    Posts
    12
    thx alot bud

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width