I have a console application that I am calling from a vfp program
the vfp rpogram is apssing two variables to the console applicaiotn
the following statement is being used in console appl. to accept the variables being passed from the vfp applicaiton
wpassword = Trim(Environment.GetCommandLineArgs(1))
the variable wpassword contains the two field separated by a comma','
for example wpassword = "JIMNAN,402679"
how can i get set the value of one variable = 'jimnan' and another variable = '402679'
the first variable can have a max. length of 7 character and the second variable can have a max. length of ten characters
I have wpassword.substring(0,6) which give me 'jimnan' but I can not figure out how to get the second variable to the right on the comma','
any suggestions/comments greatly appreciated
thanks in advance
the vfp rpogram is apssing two variables to the console applicaiotn
the following statement is being used in console appl. to accept the variables being passed from the vfp applicaiton
wpassword = Trim(Environment.GetCommandLineArgs(1))
the variable wpassword contains the two field separated by a comma','
for example wpassword = "JIMNAN,402679"
how can i get set the value of one variable = 'jimnan' and another variable = '402679'
the first variable can have a max. length of 7 character and the second variable can have a max. length of ten characters
I have wpassword.substring(0,6) which give me 'jimnan' but I can not figure out how to get the second variable to the right on the comma','
any suggestions/comments greatly appreciated
thanks in advance