General information
Category:
COM/DCOM and OLE Automation
>I'm sorry Della. The error happens when I try running vfp with winfax 10.0. I am running code that will fax out reports with each record within a table (about 144 of them). I can fax the reports for the first record fine but it just crashes and burns after that one...
"The server threw an exception" loosely translates to "Houston, we have a problem" < g >. Usually it means you're trying to open it when it's already open, or you're asking it to do something it's already doing, or you're asking it to do something when it isn't in a state to do it.
I've never automated WinFax, so I can't speak specifically to that, but I can tell you that you probably want to make sure that you are shutting WinFax down gracefully in between (so that it *really* closes--be sure you've released all object references, and it's out of the task manager). An alternative is to NOT close down WinFax between jobs, but ensure that you're properly closing the faxxed document.
Hope this helps,
- della
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only