This is from my friend in England, who needs a small amount of help with his website. Can you help?
"I need to write in Visual Basic, or C++, or any other variation that is acceptable to Windows XP, a routine to do the following (for a web site that records ships that have been lost at sea during wartime):
1. I have a text file, "month.txt" containing the name of the month file .
2. I wish the programme to read the text file and copy the file that it finds there to a new file called "month.xls"
3. I wish the programme to run in the background and close when it has finished.
Background Note: I have been writing Excel files to handle an enormous amount of data which has necessitated the use of vbscript.
My original pan was to create batch files to load various data sources according to the date.
The vbscripts work OK but Windows XP does not seem to run batch files except manually through Explorer - in which case it all works.
I have tried various compilations but all the .exe files that I have created suffer from the same fate.
I think that basically the Windows XP environment shuns DOS based applications.
Thanks very much!
0 · ·