What is the VB 6 equivalent of Process.Start?

前端 未结 3 1421
星月不相逢
星月不相逢 2021-01-14 13:19

I am stuck on a really stuck with this one line. In vb.net this is easy, but how do I do this in vb6? Tried to search from google for few hours and got nothing. Feels almost

3条回答
  •  北恋
    北恋 (楼主)
    2021-01-14 14:01

    You can use Shell and ShellExecute

    Shell "c:\runme.exe", vbNormalFocus
    

    http://msdn.microsoft.com/en-us/library/aa242087(v=vs.60).aspx

提交回复
热议问题