(Urgent) Running Some Other Program (Another Exe) From Visual Basic
Posted on 2001-06-22
We are making a project, in which the main is a Stock management for a company which is made in VB and it comprises of the 90% part of the project. A simple module was also there which was made by my colleagues in Win32 SDK (using VC++).
Now what I have to do is, since VB Program (Stock One), is the main program (EXE), I am told by my boss, to run the second module (.exe of Win32), from a particular Form-Button from VB. Lets take the button as SHOW MODULE. What I require is when a user click this button, the second exe should run, and my main VB program should gets disabled (inactive), means the user cannot switch to my VB Program unless and until, he/she closes the second module exe, run by it.
Meanwhile the user can work in second exe and when finishes close it, my VB Program should get notification, and whould get enabled and active.
Most important all I have to do in VB, not taking any help of VC. And I am completely Unware Of SDK, so be detailed for any soultion which you suggest.
Also I would like to know that Is there any control also, by which above things can be made possible. Because, then the second module exe will run within VB Control only, and it will look more good.