View Single Post
Old May 21st, 2004, 02:01 AM
compcad compcad is offline
Registered User
Join Date: May 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

one thing i had noticed was when i used the debug feature i placed it over CmdLine varible and it shows that [TBLITE.EXE CmdLine] was passed where as the other variables passed ok i am wondering if this could be my run time error 9 problem if so what can i do to split this. i tried using a comma to split it but this moves everything one spot in the command line area of make.exe area it is setup as such: TBLITE.EXE CmdLine, RAFFLEID, PASSWORD, FirstTicketNo, LastTicketNo

Dim strValuesFromCommandLine() As String
Dim CmdLine As String
Dim RAFFLEID As String
Dim PASSWORD As String
Dim FirstTicketNo As String
Dim LastTicketNo As String
Dim RAFFLEID1a As String

    Form1.WindowState = 0

 strValuesFromCommandLine() = Split(Command$, ", ")
 CmdLine = strValuesFromCommandLine(0)
 RAFFLEID = strValuesFromCommandLine(1)
 PASSWORD = strValuesFromCommandLine(2)
 FirstTicketNo = strValuesFromCommandLine(3)
 LastTicketNo = strValuesFromCommandLine(4)

thank you