Make OCX in VB 6.0

How can I make a OCX file? I use VB 6.0
Thanks for all!
hpyamAsked:
Who is Participating?
 
syedAliFConnect With a Mentor Commented:
this is just an example for activex control creation.
start with new project select activex control.Then add any of the available controls on the usercontrol form.Then write whatever code you want to write in any of the events of the control.The select Add-ins on the Visual basic toolbar from there select the vb6 activex control interface wizard.this will add an option below this option.click on this ,opens a user friendly wizard which is self explainatory.On set mapping option set the mapping to usercontrol. then press finish this will add a lengthy code to the control.Then make ocx by selecting file >>Make ocx ... . this will create an ocx.start another new project and add this new component in that project.
That all for it.
hope this will help you.

0
 
4PCommented:
You can do it by creating an "ActiveX Control" project. When you finished with coding, click on "Make XYZ.ocx" in the file menu.
0
 
manchulaCommented:
See Creating an ActiveX Control in MSDN
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
MarineCommented:
haym , if you want i can send you a simple control that i made it's like a progress bar.
0
 
MTroutwineCommented:
Here is a site that has some simple ActiveX control (e.g. OCXs) that you can download and learn from:
http://www.extreme-vb.net/e2/ocx_examples.htm

:>)
0
 
hpyamAuthor Commented:
1000E+10 Thanks!
0
 
hpyamAuthor Commented:
yes! marine send me your progress bar pls!
thanks!
my email is hernan@byke.com
thanks again
0
 
MarineCommented:
ok it's simple i am sending you it with a sample database with 1 table in it. It'z zipped. And OCX Project. You don't really have to register it if you place it as a project Group.
0
 
hpyamAuthor Commented:
yes! marine send me your progress bar pls!
thanks!
my email is hernan@byke.com
thanks again
0
 
MarineCommented:
I have already sended you should have it by now.
0
 
hpyamAuthor Commented:
I need make a OCX shareware
what can I do? is posible?
0
 
MarineCommented:
what type of control do you want to make ? You should then think about lisence agreenment. I never done this. I know people can tell you how you can disable your control so it won't work after a certain period of time. I don't know how it's done.
0
 
hpyamAuthor Commented:
I only want learn.
0
 
hpyamAuthor Commented:
thanks! ok ok!
0
 
hpyamAuthor Commented:
Thanks marine and thanks for all
0
 
hpyamAuthor Commented:
Thanks marine and thanks for all
0
 
MarineCommented:
Your Welcome.
0
 
hpyamAuthor Commented:
Marine I can´t dowloand your source code ....is zip file failed
=(
0
 
MarineCommented:
i'll send it to you withoout zipped then.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.