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
>I am trying to Open an exe file.
>
[quoted text clipped - 6 lines]
> 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/default.asp?url=/library/en-us/vbcn7/html/vats
kchoosingamongfileiooptionsinvisualbasicnet.asp
OTOH, if you are trying to execute the file:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vafc
tshell.asp

Signature
Peter [MVP Visual Developer]
Jack of all trades, master of none.