473,507 Members | 2,430 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Call External Program

I would like to start an 3rd oarty program from within my VB.NET and be able
to kill the app in the same program. Almost liek creating a thread and just
destroying the thread when I am done with it. Does anyone have a good place
to start for someone that does not have any experience on threads.

Nov 20 '05 #1
3 1511
In article <u4**************@TK2MSFTNGP09.phx.gbl>, Tim Sorenson wrote:
I would like to start an 3rd oarty program from within my VB.NET and be able
to kill the app in the same program. Almost liek creating a thread and just
destroying the thread when I am done with it. Does anyone have a good place
to start for someone that does not have any experience on threads.


Look at the System.Diagnostics.Process class.

--
Tom Shelton [MVP]
Nov 20 '05 #2
See System.Diagnostics.Process
"Tim Sorenson" <ts*******@Banta.com> wrote in message
news:u4**************@TK2MSFTNGP09.phx.gbl...
I would like to start an 3rd oarty program from within my VB.NET and be able to kill the app in the same program. Almost liek creating a thread and just destroying the thread when I am done with it. Does anyone have a good place to start for someone that does not have any experience on threads.

Nov 20 '05 #3
* "Tim Sorenson" <ts*******@Banta.com> scripsit:
I would like to start an 3rd oarty program from within my VB.NET and be able
to kill the app in the same program. Almost liek creating a thread and just
destroying the thread when I am done with it. Does anyone have a good place
to start for someone that does not have any experience on threads.


Have a look at the 'System.Diagnostics.Process' class, its 'Start'
method and 'ProcessStartInfo'.

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

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

Similar topics

10
8221
by: Sanyi Benczik | last post by:
Is there a standard way in C++ to call an external program or is this platform dependent? If it is platform dependent, can somebody drop a line what to use or where to look for info for GNU C++...
0
7126
by: Dave Sisk | last post by:
I've created a system or external trigger on an AS/400 file a.k.a DB2 table. (Note this is an external trigger defined with the ADDPFTRG CL command, not a SQL trigger defined with the CREATE...
8
32649
by: Greg Fierro | last post by:
I would appreciate any help from anyone with the following: I have an external program (window32 based) that I am executing with the VBA SHELL command. This program produces a text file which I...
1
4966
by: Laszlo | last post by:
Hi all, As a novice I installed PostgreSQL 7.2.1 on Win32 and works, Borland C++Builder Enterprise Suite 5.0 (build 12.34) what works too. I decided to combine these two programs and develop a...
3
3375
by: Niko Schwarz | last post by:
Hello, I'd like to run check from within my c program a gnupg signature. The easiest way should be to simply call gnupg, right? But how do i get the output of that program into a string? best...
4
20110
by: My SQL | last post by:
Hi Can I trigger an external program to run when a new record is added to the mysql table? The external program is in C and instead of scanning the table continuously for new insertions, it...
5
3612
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
2
5669
by: Serman D. | last post by:
Hi all, I'm trying to complete the samples from the excellent 2003 developerWorks article "Bringing the Power of Regular Expression Matching to SQL" by Knut Stolze: http://tinyurl.com/3bhrnn...
2
2406
by: dolphin | last post by:
What is the different between c++ call convention and c call convention?Can some give some examples?
2
2706
by: =?Utf-8?B?YmFzaA==?= | last post by:
Hello, I am compiling a CPP code using Visual studion .net 2003. I get the following error, despite having windldap.h and wldap32.dll in my include and lib paths. Here is the error. uuid.lib...
0
7111
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
7319
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,...
1
7031
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
7485
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
5623
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,...
1
5042
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...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1542
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
412
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.