This is what I have on my VB App. It works fine as long you pass one parameter. but if you pass more it
pass lot of them. maybe i need to trim them
Public Sub Main()
Dim sArgs() As String
Dim iLoop As Integer
'Assuming that the arguments passed from
'command line will have space in between,
sArgs = Split(Command$, " ")
For iLoop = 0 To UBound(sArgs)
dba_wo = (sArgs(iLoop)) 'My dba_wo sub is expeding WOPRE and WOSUF
Next
End Sub
PD: it does not matter if it string or number, both works fine....