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:
  1. private Word.Application moApp;
  2.  
  3. ///...
  4.  
  5. private void Form1_Closing(object sender, System.ComponentModel.CancelEventArgs e)
  6.         {
  7.                 ///...
  8.                 moApp.Quit(ref a, ref b, ref a);
  9.                 moApp = null;
  10.         }