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

  • Thread starter Thread starter cgchris99
  • Start date Start date
C

cgchris99

Guest
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
 
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:

Visual Basic:
Namespace myLibrary

    Public Class myControl

        Inherits System.Windows.Forms.UserControl

    End Class 'myControl

End Namespace 'myLibrary
 
Whoa, I didn't know standard edition was limited that way. What project types are available in it?
 
Is there a way to add the Windows Control Library project Template to VB.net standard?

Thanks
 
Back
Top