how to run exe in vb.net 2003 application

I am writing this code and not able to get any thing but it runs fine in Windows application.


Dim startInfo As System.Diagnostics.ProcessStartInfo
Dim p As New Process
startInfo = New System.Diagnostics.ProcessStartInfo("C:\\test.bat")
p.StartInfo = startInfo
p.Start()


Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: