hasmukh mandavia
March 23rd, 2001, 04:33 AM
How to create user controll in vb which can be used in different forms
|
Click to See Complete Forum and Search --> : User Controll hasmukh mandavia March 23rd, 2001, 04:33 AM How to create user controll in vb which can be used in different forms Cakkie March 23rd, 2001, 04:41 AM 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 slisse@planetinternet.be The best way to escape a problem, is to solve it. John G Duffy March 23rd, 2001, 10:19 AM 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 codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |