Dim Retval
Retval = Shell(" c:\SCADA\scadapgm.exe '02OX0468920105' '24 SEP 99 12:00:00 p.m.' 25", 6)
The above command is working perfectly.
Here the 1st portion is the program to be executed, 2nd part is the customer id, and the 3rd part is date, and last part is no. of hours.
The ID is selecting from 'MSHFlexgrid', the the date part is getting from a 'datetimepicker control', and the No.of Hours is from a 'text box'.
The main problem is I don't know how to format Date in that format in VB.
Anybody please help me to solve this.
Thank you
Retval = Shell(" c:\SCADA\scadapgm.exe '02OX0468920105' '24 SEP 99 12:00:00 p.m.' 25", 6)
The above command is working perfectly.
Here the 1st portion is the program to be executed, 2nd part is the customer id, and the 3rd part is date, and last part is no. of hours.
The ID is selecting from 'MSHFlexgrid', the the date part is getting from a 'datetimepicker control', and the No.of Hours is from a 'text box'.
The main problem is I don't know how to format Date in that format in VB.
Anybody please help me to solve this.
Thank you