Results 1 to 3 of 3

Thread: Releasing control of application object

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2008
    Posts
    1

    Releasing control of application object

    Having created an application object in code. How can I get the application to remain open after the vb code has completed ie. release the control of the application from vb to the application itself?

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Releasing control of application object

    Welcome to the forums.

    Your question is confusing.

    1. You have an application
    2. You need to keep it open after the vb code has completed and released control of itself to itself.

  3. #3
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Smile Re: Releasing control of application object

    He's created an application object in code.

    My guess is you are creating an instance of Notepad or Excel or another program, showing it on screen then wanting to exit your vb program after this has displayed on screen?

    In which case You're probably calling some code which destroys the application object (i.e. Notepad/Excel etc.), prior to closing your vb app. Can you post your code please?

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width