CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: User Controll

  1. #1
    Join Date
    Mar 2001
    Posts
    1

    User Controll

    How to create user controll in vb which can be used in different forms


  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: User Controll

    Create a new project, when the box appears, select ActiveX Control in stead of Standard Exe. When you created the control (added code and stuff), compile it to an ocx.

    When you want to use the control in another project, select components from the projet menu and select the component. If it isn't there, click browse and select the ocx file you created. Now the control should be added to your toolbox.

    Tom Cannaerts
    [email protected]

    The best way to escape a problem, is to solve it.
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

  3. #3
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: User Controll

    there is a very extensive tutorial on how to create your own controls on http://search.microsoft.com/us/SearchMS.asp
    which deals with creating your own user controls. Search on "Creating an ActiveX Control" (Without the Quotes of course, then look for the start of the tutorial. It is about 200 printed pages.

    John G

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

Featured