Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27348

VS 2008 Cannot star app. with Process.Start ?

$
0
0
I am able to start all other apps with this code except this one. I have double check the spelling look for spaces and still getting an error ' Open Failed ! ' .
Can anyone think what could be the probem ?


HTML Code:

If System.IO.File.Exists("C:\Program Files\Viscom Store Pdf To Tiff\ImageViewerPdfToTif.exe") Then
                Dim ProcessProperties As New ProcessStartInfo
                ProcessProperties.FileName = ("C:\Program Files\Viscom Store Pdf To Tiff\ImageViewerPdfToTif.exe")
                ProcessProperties.CreateNoWindow = True
                ProcessProperties.WindowStyle = ProcessWindowStyle.Normal
                Dim myProcess As Process = Process.Start(ProcessProperties)
End if


Viewing all articles
Browse latest Browse all 27348

Trending Articles