Re: Run Dos Command
From: MadCrazyNewbie (test_at_nospam.com)
Date: 03/29/04
- Next message: Elliot M. Rodriguez: "Re: vb.net winform apps fail on WindowsNT"
- Previous message: Herfried K. Wagner [MVP]: "Re: MFC and VB .NET"
- In reply to: Herfried K. Wagner [MVP]: "Re: Run Dos Command"
- Next in thread: Herfried K. Wagner [MVP]: "Re: Run Dos Command"
- Reply: Herfried K. Wagner [MVP]: "Re: Run Dos Command"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 29 Mar 2004 18:38:12 +0100
Great that worked, but how can I run arguments for the program? I tryed:
Shell("C:\Program Files\Sysmantec\PCAnywhere\Awhost32 LanHost.BHF")
But it doesn`t seem to run my arguments:(
Ta
Si
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:c49lv9$2f2p1o$2@ID-208219.news.uni-berlin.de...
> * "MadCrazyNewbie" <test@nospam.com> scripsit:
> > Do you have any links or code?
>
> Opening a file:
>
> \\\
> Imports System.Diagnostics
>
> .
> .
> .
> Dim psi As New ProcessStartInfo()
> psi.UseShellExecute = True
> psi.FileName = "C:\bla.html"
> Process.Start(psi)
> .
> .
> .
> ///
>
> Starting an application:
>
> If you want to start an application, you can simply call
> 'System.Diagnostics.Process.Start("C:\bla.exe")' or in VB.NET
> 'Shell("C:\bla.exe")'.
>
> --
> Herfried K. Wagner [MVP]
> <URL:http://dotnet.mvps.org/>
- Next message: Elliot M. Rodriguez: "Re: vb.net winform apps fail on WindowsNT"
- Previous message: Herfried K. Wagner [MVP]: "Re: MFC and VB .NET"
- In reply to: Herfried K. Wagner [MVP]: "Re: Run Dos Command"
- Next in thread: Herfried K. Wagner [MVP]: "Re: Run Dos Command"
- Reply: Herfried K. Wagner [MVP]: "Re: Run Dos Command"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|