We are facing a issue with one of our VB 6.0 application.
There is line of code which convert a text file to excel file through Excel.Workbook.
This code works fine when we run through windows application.
But if we run the same exe from a windows service developed in C#.Net then it gives this error on this line
oWB.SaveAs FileName, XlFileFormat.xlExcel8
I have tried to search on google but didn't get any success.
Any suggestion will be very much helpful.
Thanks in Advance.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)