Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi :) I have 2 exe programs. One

Status
Not open for further replies.

Fursten

Programmer
Joined
Dec 27, 2000
Messages
403
Location
PT
Hi :)

I have 2 exe programs. One is the "main" exe where I have one menu (vertical menu style). The other is a normal vb program with windows and database access.

What I want is to be able to run the main one, and from it call the other form (I can do this with the command$). The problem is that I would like to run this one inside something like a picture box or other type of container that would belong to the main one.

For instance, imagine I have one program and when I click in a control button from that program I would like to open de calc.exe (calculator from windows). the calc.exe would have to stay inside that container that would belong to my own program. This way I couln´t be able to get the calc from that container... got it?

I had tried some Activex controls and I haven´t found something usefull to do this.

Sergio Oliveira
 
Sergio -

Look at making your 2nd program as an OCX custom control. That way it can be embedded into your 1st program's form.

Another way would be to have the 2nd program return HTML (via a property or function call), and have your 1st program display it inside a copy of the Internet Explorer control.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top