Zdravim, som zaciatocnik samouk potreboval by som aby mi niekto pomohol pochopit tento kusok kodu
Dim returnValue As String()
returnValue = Environment.GetCommandLineArgs()
If returnValue.Length = 2 Then
ASN_Create_File(returnValue(1).ToString(), "")
ElseIf returnValue.Length = 3 Then
ASN_Create_File(returnValue(1).ToString(), returnValue(2).ToString())
Else
ASN_Create_File("a", "a")
End If
v podstate nechapem co znamena Environment.GetCommandLineArgs(), tym padom neviem cim sa naplna returnValue, dalej uz by som skusal sam :)
|