473,387 Members | 1,453 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,387 software developers and data experts.

To Know bat file, execution is completed using VB.NET

Hi

My requirement is.
I am running a batch file (test.bat) from my application using VB.NET I need
to know when test.bat gets completed using VB.NET or with any tools

I got an example using VB it works fine, but I am looking in .NET
(If you can convert from VB 6 to VB.NET fine let me know I can give need the
source code)

Thanking you in Advance

Regards,
Mustaq
Jul 21 '05 #1
1 1344
Mustaq,

Have a look at this class and than for

WaitForExit

Or if you want

HasExited

http://msdn.microsoft.com/library/de...mberstopic.asp

I hope this helps,

Cor
Jul 21 '05 #2

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

Similar topics

6
by: Prashanth Ellina | last post by:
Hi, I have used the low-level thread module to write a multi-threaded app. tid = thread.start_new_thread(process, ()) tid is an integer thread ident. the thread takes around 10 seconds to...
0
by: Auday Alwash | last post by:
Hi, A month ago, we were running out of disk space on a drive that stores the data file for a SQL Server 7 database. So I added a new drive and created a new data file on the primary filegroup...
2
by: mar10 | last post by:
I have an access 2000 database that approximately 5 people access. The data is in a separate file from the program files. Everyone accesses the same program file from a network drive. There...
1
by: Mustaq | last post by:
Hi My requirement is. I am running a batch file (test.bat) from my application using VB.NET I need to know when test.bat gets completed using VB.NET or with any tools I got an example using...
1
by: Matthew Brown | last post by:
Hi, I am working with a COM library in which modifying almost every object is done asynchronously (because the object represent physical devices across a network somewhere on a telephone...
4
by: PJ6 | last post by:
OK I haven't ever done this before... I'm going to need to create "project" files to which my application can save and retreive data. Rather than worrying about the details fo the format too much,...
2
by: Joannes Vermorel | last post by:
We have developed an open-source eCommerce sales forecasting add-on in PHP (see link below) that requires usually more than a few seconds to complete because the process involves some Web Services...
1
by: Sureshh06 | last post by:
HI , I am using Perl for GUI Automation, I am getting lot of messages in the editor , how can I save all the messages ina txt file automatically after the execution of the scripts has completed....
7
by: dm3281 | last post by:
Hello, I have this non-standard XML file that I have to manually sort thru each day and verify whether various jobs finish successfully or not. This file isn't a real XML file, so I cannot appear...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.