Adding command line arguments to VB.Net application

后端 未结 1 689
礼貌的吻别
礼貌的吻别 2021-01-05 05:32

I have a windows forms based application made by another programmer and I need to add a few command line switches to it\'s primary output exe so that I can pass

相关标签:
1条回答
  • 2021-01-05 06:00

    Similar to C/C#, you get them as an array. Different from C/C#, you obtain them as a read-only property from the application itself (My.Application.CommandlineArgs)

    http://msdn.microsoft.com/en-us/library/z2d603cy(v=vs.80).aspx#Y550

    Code sample on that page (for VB) should show you what you need i think...

    0 讨论(0)
提交回复
热议问题