User Control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey all,

I need to know how to create an Active x control (User Control)

i need code and examples PLEASE !!!
 
Hey Will,

To the best of my knowledge, you cannot create *ActiveX* controls in .NET.
To create a user control, you should create a blank Windows Control Library
project, unless you want to add your control to an existing project. Then,
choose Add User Control from the project menu and give the name to the
control source code file, click Open to have the control created.

Double-click the control in the Solution Explorer and work with it almost
the same way you would work with a form - that is, add child controls, edit
the control's properties, add event handlers.

You won't need to write any "plumbing" code though. You can find examples on
user controls on the GotDotNet QuickStart pages (look in the appropriate
section at www.gotdotnet.com)
 
Will said:
Hey all,

I need to know how to create an Active x control (User Control)

i need code and examples PLEASE !!!

Do you use VB.NET? You can not create ActiveX controls, but you can build
user controls (menu project -> add usercontrol)
 
Back
Top