G
Guest
I created a simple test app to start another app and get the process info
(to see if it has exited).
Heres my code:
Dim sinfo As New ProcessStartInfo, myProcess As Process
sinfo.FileName = "c:\test.txt"
myProcess = Process.Start(sInfo)
----------- works fine, opens in notepad, myProcess has processdata in it.
However, if I try to open an excel file, the file opens in excel, but
Process.Start returns Nothing to myProcess.
sinfo.FileName = "c:\testfile.xls"
Does Process.Start only work completly sometimes, or is this a bug?
I tried it with several kinds of files, .mdb, .doc, all work fine, only
excel doesn't work.
tried it on diff machines with same results.
Any ideas..
Thanks
BUC
(to see if it has exited).
Heres my code:
Dim sinfo As New ProcessStartInfo, myProcess As Process
sinfo.FileName = "c:\test.txt"
myProcess = Process.Start(sInfo)
----------- works fine, opens in notepad, myProcess has processdata in it.
However, if I try to open an excel file, the file opens in excel, but
Process.Start returns Nothing to myProcess.
sinfo.FileName = "c:\testfile.xls"
Does Process.Start only work completly sometimes, or is this a bug?
I tried it with several kinds of files, .mdb, .doc, all work fine, only
excel doesn't work.
tried it on diff machines with same results.
Any ideas..
Thanks
BUC