Hey. I’m updating a QBasic program to VB6. I’m trying to update a certain piece of code that works fine in Qbasic, but isn’t working correctly in VB6. Here is the code written in Qbasic:
“Shell sort /+1 < c:\pb\wrk\mac.wrk > c:\pb\wrk\mac.srt”
in VB6:
RetVal = Shell(“sort /+1 < p:\pb\wrk\mac.wrk > p:\pb\wrk\mac.srt”)
The mac.wrk file is created earlier in the program and all I want this piece to do is sort the file and place it in mac.srt. For some reason the mac.srt file isn’t getting created in VB6 and the whole program fails. Can anyone help me?