|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Calling Program A from Program BI want to write a sort of "program manager" (in VB 2005) from which users
can select from a list of other programs I have written ... and then when the user exits that program have control come back to the program manager so the user can select another program to be executed. I do not know how to call one program from another ... or how to return to the calling program. I have looked through the "How to's" in VB 2005 Help but did not find this subject broached. Any thoughts would be appreciated. Thanks. fripper wrote:
> I want to write a sort of "program manager" (in VB 2005) from which users Look at the Process class. It will let you launch new programs. When > can select from a list of other programs I have written ... and then when > the user exits that program have control come back to the program manager so > the user can select another program to be executed. I do not know how to > call one program from another ... or how to return to the calling program. > I have looked through the "How to's" in VB 2005 Help but did not find this > subject broached. Any thoughts would be appreciated. > > Thanks. > > > your "child" process closes down have it launch the program manager again. chris Fripper,
In addition to Chris a simple sample. \\\Notepad Dim p As New Process Dim pi As New ProcessStartInfo pi.arguments = "c:\windows\win.ini" pi.FileName = "notepad.exe" p.startinfo = pi p.Start() /// I hope this helps, Cor "fripper" <yo***@indiana.edu> schrieb: 'System.Diagnostics.Process'.> I want to write a sort of "program manager" (in VB 2005) from which users > can select from a list of other programs I have written ... and then when > the user exits that program have control come back to the program manager > so the user can select another program to be executed. I do not know how > to call one program from another ... or how to return to the calling > program. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Newbie Question 2, Reference To Controls On A Form
Problem to write a good serie of bytes in a file. Report writers for VB.NET current working directory problem Problem Communicating Between Forms help with multiple forms on asp.net 1.1 page, please late bound form reference Newbie Question Saving Projects taskbar icon Making Bitmaps and Graphics objects - two ways |
|||||||||||||||||||||||