"Mario" <Ma***@discussions.microsoft.com> wrote in message
news:A1**********************************@microsof t.com...
I am trying to Open an exe file.
Dim p As String
p = "C:\Program Files\hello.exe"
File.Open(p, FileMode.Append)
Me.Visible = False
But nothing is happening. Any help or Knowledge about this would be
aprreciated
What did you expect to happen as a result of this code? You have opened a
file for output in a mode that will append new data (when written) to
existing data already in the file. Are you trying to write additional binary
data to the file?
If you are trying to write to a file, look here:
http://msdn.microsoft.com/library/de...albasicnet.asp
OTOH, if you are trying to execute the file:
http://msdn.microsoft.com/library/de...vafctshell.asp
--
Peter [MVP Visual Developer]
Jack of all trades, master of none.