Jump to content
Xtreme .Net Talk

How do I create an ActiveX like control in Vb.net?


Recommended Posts

Guest cgchris99
Posted

I am fairly new to vb.net.

 

I have the source code to a vb6 ocx that I want to re-create in vb.net. I think I can make it faster because of the new networkstreams.

 

How do I create a new control or activeX in vb.net?

 

This control is not for web based app so asp will not help me I don't think

 

Thanks for any advice

  • *Gurus*
Posted

If you have Visual Studio .NET Professional Edition or higher all you need to do is create a new UserControl project. If you're poor like the rest of us here's the basic code to create a UserControl in Notepad:

 

Namespace myLibrary

   Public Class myControl

       Inherits System.Windows.Forms.UserControl

   End Class 'myControl

End Namespace 'myLibrary

Guest cgchris99
Posted

Is there a way to add the Windows Control Library project Template to VB.net standard?

 

Thanks

Guest cgchris99
Posted

Can you give me some details on how to do this?

 

Thanks for your help

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...