>I've been given a project that contains a custom class to open MSWord and pass it the name of a Word DOC file to open and display.
>
>I have it working, but when I close Word, go back to the list and try to open another DOC, I get an error that "
.document does not evaluate to an object"
>
>And when I close the form, I get an error that "The RPC server is not available"
>
>I suspect that there is either something from the previous session that is not being released properly, or something that is being released that shouldn't be.
>
>Anyone run into anything like this before and/or have any suggestions?
>
>Bill
Does the Word class have an Application.Quit call in it? I had a problem with that where it leaves Word open. Check the processes in task manager.