Standard
and ActiveX .exe projects: A Beginner’s Guide...Contd.
4.0
Develop a Standard EXE file, with an example Now, we develop our Standard EXE
application that uses the ActiveX component developed earlier. 1. Open Visual Basic 6.0 - it should be
on your start menu if you have just installed it (Programs -> Microsoft
Visual Basic 6.0 -> Microsoft Visual Basic 6.0) Open another instance of Visual basic, select the
“Standard EXE” and click “Open”.
Fig:ActiveX-6; Dialog
Box showing the type of project to open. Change the name property of form to frmTestActivex and
caption to “Test form” Include the following controls on the form:
Select References from Project menu by going to “Project
-> References” as shown in the figure below:
Fig: ActiveX-7; References dialog box. On selecting References Menu item a dialog box as shown
below will be opened.
Fig:ActiveX-8; References Dialog Box Select the ActiveX Exe made in the above project and click
on OK. In case you don’t see the ActiveX component that you had just made, use
“Browse” button locate and select the component. Refer to appendix-D for code to be included in Form. HOME UP
|
|||||||||||||||||||||||||||||||||