473,398 Members | 2,525 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,398 software developers and data experts.

Running a program from the command line

Hi I want my VB.NET application to run a command from the command line and then wait for the command to finish before continuing.

I am currently using

System.Diagnostics.Process.Start(strApp)

where strApp is the the command line text.

However this method starts a new process and therefore my application continues without waiting.

Any ideas?
Nov 20 '05 #1
4 1092
* "=?Utf-8?B?aHBsbG95ZA==?=" <hp*****@discussions.microsoft.com> scripsit:
[...]

Double post.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
Hi,

You have asked this question 3 times in the Dotnet General group, and 2
times in this newsgroup.

Jon Skeet has given you a nice answer in the newsgroup dotnet.general, when
it does not fit, tell it, he is always preparred to help further when
something is misunderstood, however please one message and questions in the
same thread, when you want it in more dotnet newsgroups, that is no
problem, however crosspost it, with one message to more newsgroups.

I assume this was just new expirience,

Cor
Nov 20 '05 #3
Cor,

How does one do that?

Just put ; between newsgroup name when posting or something??

Thanks,

Shane

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:e8*************@TK2MSFTNGP10.phx.gbl...
Hi,

You have asked this question 3 times in the Dotnet General group, and 2
times in this newsgroup.

Jon Skeet has given you a nice answer in the newsgroup dotnet.general, when it does not fit, tell it, he is always preparred to help further when
something is misunderstood, however please one message and questions in the same thread, when you want it in more dotnet newsgroups, that is no
problem, however crosspost it, with one message to more newsgroups.

I assume this was just new expirience,

Cor

Nov 20 '05 #4
Hi Shane,

I just a , space between the newsgroups

Cor
Nov 20 '05 #5

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

Similar topics

7
by: Ken Innes | last post by:
I am trying to write a little program that can be run as a Windows program or as a command line program. I'm really not sure the best way to do this, so what I came up with so far was to check for...
0
by: Keith Dick | last post by:
I'm trying to use the free command line C/C++ compiler for .NET and when I try to debug a simple C program that uses printf(), I don't see the output it produces. A console window does open when...
2
by: bbxrider | last post by:
for win2k adv server/iis5.0 trying to run an external program from my asp routine that has multiple parameters, see following set shell = server.createobject("wscript.shell") shell.Run...
8
by: skyguy2002 | last post by:
I have wriiten a C program that complies and builds perfectly without errors. The purpose of the program is to count the number of times that the letter a occurs in a file. My only problem is in...
1
by: Peter Rilling | last post by:
I have an EXE that I would like to be able to run from either the command-line or as a windows service. Is there a way that I can tell which context the program is running in? Basically, if it...
3
by: ° ^F®ęâK^ ° | last post by:
Blank hi there, I just want to explain my problem. There is an application which is coded by me running. It is an vb.net application having user controls windows forms and something like visual...
13
by: John Salerno | last post by:
If I want to write my code in a separate text editor (I like UltraEdit) but then press a single button to have that code run in the IDLE environment, is that possible? I know that you can configure...
3
by: sir.linying | last post by:
My php script is to call perl scipt which makes use of Spreadsheet::ParseExcel module to parse Excel file. I am able to launch php script from command line so that perl script can run and properly...
51
by: Ojas | last post by:
Hi!, I just out of curiosity want to know how top detect the client side application under which the script is getting run. I mean to ask the how to know whether the script is running under...
3
by: WP | last post by:
Hello, I have a very simple script (or would you call it a batch file?) with the following content: connect to mydb2; DROP TABLE staff_employee_address; DROP TABLE...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.