Page 27 - Open Soource Technologies 304.indd
P. 27
Unit 2: Working of VB Applications
Here a value is passed from Standard Exe to ActiveX Exe based on the option button we selected
and its corresponding drop-down box is enabled in ActiveX.
Figure 2.11: ActiveX-11; ActiveX EXE Call.
Select any number from the drop-down box (Numbers Drop-down box in this case) and click on
“Select and close” Button
Figure 2.12: ActiveX-12; Here the Control is passed to the ActiveX EXE Application.
On clicking the “Select and close” button the form in ActiveX Exe is closed, and the control is
passed back to the Main (Standard EXE file). However, note that the ActiveX EXE is still running
in the background. It is possible to close ActiveX EXE, if so desired. In our example, it would
be closed only when the Main application is closed.
LOVELY PROFESSIONAL UNIVERSITY 21