【VB】命令ライン(command line)から引数を渡して受ける方法
c:\>sample.exe 1
Private Sub Form_Load() If Command() = 1 Then MsgBox "accept ok" Else MsgBox "no" End If End Sub