WellsCarrie
Well-known member
Ok I have written a file watcher service that successfully watches for a .csv file and reads it.
What I need to do now is take the information from the .csv file and create a special label for the shipping department.
I need to use word so that I can control the font size type and colors per paragragh.
I wrote my service, compiled it, started it, tested. IT WORKED GREAT. My file was created and saved and looke just like I wanted.
Now however when ever another .csv file is put in the watched folder I get the following application error:
Rejected Safe Mode action : Microsoft Office Word.
followed imediately by:
Faulting application winword.exe, version 11.0.6502.0, stamp 424d964d, faulting module winword.exe, version 11.0.6502.0, stamp 424d964d, debug? 0, fault address 0x0003da8c.
I have rebooted my PC twice and stopped and restarted the service more time than taht. but I still get the error.
I am using the following to close my doc and app objects
I would apreciate any advice.
thanks
What I need to do now is take the information from the .csv file and create a special label for the shipping department.
I need to use word so that I can control the font size type and colors per paragragh.
I wrote my service, compiled it, started it, tested. IT WORKED GREAT. My file was created and saved and looke just like I wanted.
Now however when ever another .csv file is put in the watched folder I get the following application error:
Rejected Safe Mode action : Microsoft Office Word.
followed imediately by:
Faulting application winword.exe, version 11.0.6502.0, stamp 424d964d, faulting module winword.exe, version 11.0.6502.0, stamp 424d964d, debug? 0, fault address 0x0003da8c.
I have rebooted my PC twice and stopped and restarted the service more time than taht. but I still get the error.
I am using the following to close my doc and app objects
VB.NET:
'closing document
doc.Close(Word.WdSaveOptions.wdSaveChanges)
WordApp.Quit()
doc = Nothing
WordApp = Nothing
I would apreciate any advice.
thanks
Last edited: