473,320 Members | 1,991 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

sorry for the simple question...

All,
How do I start another exe from my vb desktop app? want to create simple
setup wrapper that calls several setups in sequence...
MTIA
wardeaux
Nov 21 '05 #1
5 1038
Hi,

Process.Start("MyApp.exe")

Ken
----------------------------
"Wardeaux" <wa******@bellsouth.net> wrote in message
news:eK**************@TK2MSFTNGP09.phx.gbl...
All,
How do I start another exe from my vb desktop app? want to create simple
setup wrapper that calls several setups in sequence...
MTIA
wardeaux

Nov 21 '05 #2
* "Wardeaux" <wa******@bellsouth.net> scripsit:
How do I start another exe from my vb desktop app? want to create simple
setup wrapper that calls several setups in sequence...


'Shell' or 'System.Diagnostics.Process.Start'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #3
Thank you for both answers. Now, is there also a way to wait for the exe
and capture the exit code of the apps when they exit to validate they
completed successfully or handle errors?
MTIA
wardeaux

"Wardeaux" <wa******@bellsouth.net> wrote in message
news:eK**************@TK2MSFTNGP09.phx.gbl...
All,
How do I start another exe from my vb desktop app? want to create simple
setup wrapper that calls several setups in sequence...
MTIA
wardeaux

Nov 21 '05 #4
Process.WaitForExit() & Process.ExitCode

"Wardeaux" <wa******@bellsouth.net> wrote in message
news:OR**************@TK2MSFTNGP15.phx.gbl...
Thank you for both answers. Now, is there also a way to wait for the exe
and capture the exit code of the apps when they exit to validate they
completed successfully or handle errors?
MTIA
wardeaux

"Wardeaux" <wa******@bellsouth.net> wrote in message
news:eK**************@TK2MSFTNGP09.phx.gbl...
All,
How do I start another exe from my vb desktop app? want to create simple
setup wrapper that calls several setups in sequence...
MTIA
wardeaux


Nov 21 '05 #5
very cool!!!
thanks!
wardeaux

"Shiva" <sh******@online.excite.com> wrote in message
news:OT******************@TK2MSFTNGP12.phx.gbl...
Process.WaitForExit() & Process.ExitCode

"Wardeaux" <wa******@bellsouth.net> wrote in message
news:OR**************@TK2MSFTNGP15.phx.gbl...
Thank you for both answers. Now, is there also a way to wait for the exe
and capture the exit code of the apps when they exit to validate they
completed successfully or handle errors?
MTIA
wardeaux

"Wardeaux" <wa******@bellsouth.net> wrote in message
news:eK**************@TK2MSFTNGP09.phx.gbl...
All,
How do I start another exe from my vb desktop app? want to create simple setup wrapper that calls several setups in sequence...
MTIA
wardeaux


Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Peroq | last post by:
Hi all I'm not sure ASP is the problem, but my SQL statement seems fine to me. This works fine : strSQL = "SELECT .* FROM _RechPat INNER JOIN NivPatri ON .cod_niv = NivPatri.cod_niv WHERE...
1
by: Tony Vasquez | last post by:
First off, I am coding soley for IE 5.5+ right now. I am going to try to later add code for other support of other browsers, but I doubt it will ever support more than a few. The site is up at...
6
by: John Wiese | last post by:
I am creating my first website and need some help desperatley. I have choosen to use Front Page XP for this simple Intranet project. All I am trying to do is: 1. Collect childrens names for a...
3
by: David Sworder | last post by:
This message was already cross-posted to C# and ADO.NET, but I forgot to post to this "general" group... sorry about that. It just occured to me after my first post that the "general" group readers...
18
by: Xiangliang Meng | last post by:
Hi. void setValue(int n) { int size = getValueLength(); int buffer_p; if (buffer_p) { ....
11
by: sneill | last post by:
I have read a number of posts on the use of eval() in Javascript, and I agree that its use is questionable. But it does beg the following question: "How arbitrary does a string need to be before...
5
by: Brian | last post by:
I am "learning" C# and have run into a problem that, though I can work around it, I would like to know what the *right* way to handle the issue is. I have created an "Info" struct and assigned...
13
by: Wardeaux | last post by:
OK... how do I set the aspx page html title from my codebehind? MTIA wardeaux
2
by: Colin McGuire | last post by:
Sorry to ask a simple question on syntax but the line inside the subroutine "assignBitmapArray" won't compile giving me an "Expression Expected" error. What is the correct syntax to initialize an...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.