Graphics

 View Only
  • 1.  Properly close COM object from VB application

    Posted 09-10-2014 15:16
    How do you close the Engine object or any object properly? I get this error when trying to exit Xpression after running my VB application...


  • 2.  RE: Properly close COM object from VB application

    Posted 09-10-2014 18:13
    I answered my own question. For anyone interested it is:

    Engine.Close()

    Engine = Nothing

    #XPression


  • 3.  RE: Properly close COM object from VB application

    Posted 09-11-2014 15:03
    If you ever stop your VB application in the debugger you will get that message from XPression when shutting down because it does not know that your application has exited and it may think you are still using COM objects. If you properly exit your application then the message should not come up..

    #XPression