473,320 Members | 1,732 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.

calling a .bat program in a vb .net program

Hi,

I need to call a .bat program inside a vb .net program. I have yet to
find anything on this but have just started searching. Can someone
enlighten me? It was be very much appreciated.

Thanks,
Janet Heath

Nov 15 '06 #1
4 1104
Hello janet,

Use Process.Start method

jI need to call a .bat program inside a vb .net program. I have yet
jto find anything on this but have just started searching. Can
jsomeone enlighten me? It was be very much appreciated.
j>
jThanks,
jJanet Heath
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Nov 15 '06 #2
Janet,

I have just placed this page on our website, so in addition to Michael

Cor

"Janet" <jo****@wehco.comschreef in bericht
news:11*********************@b28g2000cwb.googlegro ups.com...
Hi,

I need to call a .bat program inside a vb .net program. I have yet to
find anything on this but have just started searching. Can someone
enlighten me? It was be very much appreciated.

Thanks,
Janet Heath

Nov 15 '06 #3
Sorry,

http://www.vb-tips.com/dbPages.aspx?...a-14d6b93856e8

Cor

"Cor Ligthert [MVP]" <no************@planet.nlschreef in bericht
news:O9****************@TK2MSFTNGP03.phx.gbl...
Janet,

I have just placed this page on our website, so in addition to Michael

Cor

"Janet" <jo****@wehco.comschreef in bericht
news:11*********************@b28g2000cwb.googlegro ups.com...
>Hi,

I need to call a .bat program inside a vb .net program. I have yet to
find anything on this but have just started searching. Can someone
enlighten me? It was be very much appreciated.

Thanks,
Janet Heath


Nov 15 '06 #4
Thank you so much guys. How about killing a process? Would all the
starts become kills?

Janet

Cor Ligthert [MVP] wrote:
Janet,

I have just placed this page on our website, so in addition to Michael

Cor

"Janet" <jo****@wehco.comschreef in bericht
news:11*********************@b28g2000cwb.googlegro ups.com...
Hi,

I need to call a .bat program inside a vb .net program. I have yet to
find anything on this but have just started searching. Can someone
enlighten me? It was be very much appreciated.

Thanks,
Janet Heath
Nov 15 '06 #5

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

Similar topics

2
by: Shailan | last post by:
Hi Im having trouble with the following code that seems to be behave differently when called from the browser as opposed to the command line. The calling script is a cgi that forks, with the...
4
by: Paul | last post by:
Hi, In SQL Books Online in the section on @@Error it gives the following example: -- Execute the INSERT statement. INSERT INTO authors (au_id, au_lname, au_fname, phone, address, city,...
8
by: Vinod | last post by:
Hi, I have a problem, i am calling an exe from asp program. Its not working fine. When i execute the exe through the dos program directly i get the desired result. My exe will convert files in...
2
by: Giulio Belrango | last post by:
Hi I need someones help I'm working in an IBM 390 batch environment. What I'm trying to do is to call from a non DB2 COBOL program a DB2 COBOL program that will access a table and perform an...
0
by: szehau | last post by:
Hi all, I have a program written in C with embeded SQL. Following are the configuration: DB2/LINUX 8.1.5 Thread model: posix gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) My problems...
5
by: Dave | last post by:
does calling a regular function cost any cpu time? In other words, is it faster to write the code of two functions into main(), or is it the exact same thing as calling two functions. I know its...
2
by: sumanthsclsdc | last post by:
Hello friends, I have a problem, I implemented a class which uses tkinter and displays the window as required, the class will create a window with listbox and inserts some items into it, I...
15
by: dspfun | last post by:
Hi, Is it possible to print the function name of the calling function? For example, f1() and f2() both calls f3(), in f3() I would like to print the name of the function calling f3() which...
2
by: John Wright | last post by:
I have a central program I am starting to develop that will track processing deviations. This program is VB 2008 and needs to be called from VB 2005 programs and VB2008 programs (we have some VB 6...
0
amitpatel66
by: amitpatel66 | last post by:
There is always a requirement that in Oracle Applications, the Concurrent Program need to be execute programatically based on certain conditions/validations: Concurrent programs can be executed...
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...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.