Advertisement
7_2009-2012 Files/ File Controls/ Input/ Output #217635

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에서 복구됨