Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[HELP] Process.Start
#1
Been watching the wonderful Visual Basic tutorials on youtube and they are great.

But ive been follow other tuorials on how to use Process.Start and all of them say just do this.....
Code:
Process.Start("C:\")


That should launch explore into your C drive, but not for me i get the error.....
Code:
'Start' is not a member of 'Process'

The only way i can get it to work is by using Diagnostics like so.....
Code:
Diagnostics.Process.Start("C:\")
or like this.....
Code:
Dim p As New System.Diagnostics.Process
p.StartInfo.FileName = "C:\"
p.Start()

Anyone have a idea what's going on here im stumpt for idea's ?

Thanks <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarrassed" /><!-- s:oops: -->


Messages In This Thread
[HELP] Process.Start - by flatfish - 02-22-2013, 06:34 AM
Re: [HELP] Process.Start - by flatfish - 02-24-2013, 03:21 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)