Advertisement
ASP_Volume3 Files/ File Controls/ Input/ Output #44784

Program with Command Line inputs

Make your application run from command lines or the run dialog with arguements. ie: myapp.exe -m No need to vote for this code because it is really basic.

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
Sub Main()
If Command = "" Then
  Form1.Label1.Caption = "No arguement."
  Form1.Show
ElseIf Command = "-m" Then
  Form1.Show
  Form1.WindowState = 1
  Form1.Label1.Caption = "Arguement: " & Command
Else
  Form1.Label1.Caption = "Arguement: " & Command
  Form1.Show
End If
End Sub
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine