Solved

Make OCX in VB 6.0

Posted on 2000-05-06
19
323 Views
Last Modified: 2008-03-17
How can I make a OCX file? I use VB 6.0
Thanks for all!
0
Comment
Question by:hpyam
19 Comments
 
LVL 1

Expert Comment

by:4P
ID: 2783558
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
 
LVL 1

Expert Comment

by:manchula
ID: 2783577
See Creating an ActiveX Control in MSDN
0
 

Accepted Solution

by:
syedAliF earned 100 total points
ID: 2783578
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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 6

Expert Comment

by:Marine
ID: 2783774
haym , if you want i can send you a simple control that i made it's like a progress bar.
0
 
LVL 3

Expert Comment

by:MTroutwine
ID: 2783943
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
 

Author Comment

by:hpyam
ID: 2784189
1000E+10 Thanks!
0
 

Author Comment

by:hpyam
ID: 2784199
yes! marine send me your progress bar pls!
thanks!
my email is hernan@byke.com
thanks again
0
 
LVL 6

Expert Comment

by:Marine
ID: 2784209
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
 

Author Comment

by:hpyam
ID: 2784244
yes! marine send me your progress bar pls!
thanks!
my email is hernan@byke.com
thanks again
0
 
LVL 6

Expert Comment

by:Marine
ID: 2784245
I have already sended you should have it by now.
0
 

Author Comment

by:hpyam
ID: 2784247
I need make a OCX shareware
what can I do? is posible?
0
 
LVL 6

Expert Comment

by:Marine
ID: 2784251
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
 

Author Comment

by:hpyam
ID: 2784256
I only want learn.
0
 

Author Comment

by:hpyam
ID: 2784273
thanks! ok ok!
0
 

Author Comment

by:hpyam
ID: 2784294
Thanks marine and thanks for all
0
 

Author Comment

by:hpyam
ID: 2784297
Thanks marine and thanks for all
0
 
LVL 6

Expert Comment

by:Marine
ID: 2784348
Your Welcome.
0
 

Author Comment

by:hpyam
ID: 2785087
Marine I can´t dowloand your source code ....is zip file failed
=(
0
 
LVL 6

Expert Comment

by:Marine
ID: 2785090
i'll send it to you withoout zipped then.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question