Matt_Hirst
Access Numpty
- Local time
- Today, 20:06
- Joined
- Nov 25, 2006
- Messages
- 15
I have been given the dubious task of writing a front end to a data processing tool, basicly the front end needs to write a text file, it should then call the data processor(dos based fortran) the data processor then produces two output files.
I have used shell ("d:\matt\matt.exe", appwinstyle.maximisedfocus) this appears to call the dos based processor but it then closes down straight away without processing the file. If I double click the data processor, through windows explorer, it processes the file correctly.
Couple of questions:
What am I doing wrong - why does the dos file processor see the text file when manually started but not when started via VB?
What is the corret way of starting the dos file and then when the dos program returns control to the calling program, it continuing on it's merry way?
regards,
Matt
I have used shell ("d:\matt\matt.exe", appwinstyle.maximisedfocus) this appears to call the dos based processor but it then closes down straight away without processing the file. If I double click the data processor, through windows explorer, it processes the file correctly.
Couple of questions:
What am I doing wrong - why does the dos file processor see the text file when manually started but not when started via VB?
What is the corret way of starting the dos file and then when the dos program returns control to the calling program, it continuing on it's merry way?
regards,
Matt