English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Hi
Please let me know how are OCX files produced in VB. I am just aware that it denotes activexcontrols. But how and when are they generated and where are they stored. Is it that i include any activexcontrol in my VBP and generate an exe out of the application , the OCX files are produced? Please clarify.

2007-01-25 20:50:55 · 4 answers · asked by Vijay 1 in Computers & Internet Programming & Design

4 answers

The .ocx files are part of VB and are stored in your computer. They were loaded to your computer when you installed VB.

When you include a control in your program they are added to the list of supporting files, and need to be included if you package an executable.

Do a search on your computer for *.ocx to find the directory where all the ocx's are stored

2007-01-26 02:37:15 · answer #1 · answered by rod 6 · 0 1

If you are asking how to make an OCX, when you start VB6 choose ActiveX control instead of Standard EXE.
When you are done making the control go to File and you will see
"Make Project.ocx"
This is what you will use in your Application or Webpage.

2007-01-26 05:19:11 · answer #2 · answered by stratsandlespauls 6 · 0 0

Most of the time they are stored in the path C:\Windows\System or C:\Windows\System32 (WIN NT). THey can be written in any number of languages. Visual BASIC, C++, etc. WHen they are compiled, they are registered with the system registry, and once registered, they are available for use in other programs. Registering them with the system registry helps the computer locate them.

2007-01-26 06:18:42 · answer #3 · answered by Richard H 7 · 0 0

right click on the toolbox, click components, u see the Controls in left side u see the browse button, if u use the user defined OCX or DLL , u select as a New Control for ur program

2016-05-24 01:09:22 · answer #4 · answered by Clarissa 4 · 0 0

fedest.com, questions and answers