Have a program that
1 - converts a EXCEL to a text file using vb.net, if no excel file exists then it creates an empty text file with correct name - current date and time. So my VB program first Shell's the vb.net program. A special shell that waits for the process to end before proceeding.
2 – FTP’s the text file to a certain location then receives the file back and sends an email about the result.
It always works when no excel file exists. It always works when run manually even if an excel file exists or not. However sometimes when scheduled and an excel file exists it might not work. When I receive the email saying it doesn’t work I run it manually and it works. It converts the files but doesn’t send it and every time I debug it - it always works.
Confused :-(.
Help please.
Thanks.
1 - converts a EXCEL to a text file using vb.net, if no excel file exists then it creates an empty text file with correct name - current date and time. So my VB program first Shell's the vb.net program. A special shell that waits for the process to end before proceeding.
2 – FTP’s the text file to a certain location then receives the file back and sends an email about the result.
It always works when no excel file exists. It always works when run manually even if an excel file exists or not. However sometimes when scheduled and an excel file exists it might not work. When I receive the email saying it doesn’t work I run it manually and it works. It converts the files but doesn’t send it and every time I debug it - it always works.
Confused :-(.
Help please.
Thanks.