Automating Word 2003 I have found that the usual way of cleaning up objects when the app closes does not work the same as vb.net.
Why cant I set the application object equal to a null like I can in other Office apps?
Thanks
VB Code:
private Word.Application moApp; ///... private void Form1_Closing(object sender, System.ComponentModel.CancelEventArgs e) { ///... moApp.Quit(ref a, ref b, ref a); moApp = null; }





Reply With Quote