Results 1 to 5 of 5

Thread: [Just wondering] Stop Process Explorer from closing VB App

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2006
    Location
    Anchorage, Alaska
    Posts
    545

    [Just wondering] Stop Process Explorer from closing VB App

    Is there a way to catch when Process Explorer tries to close a VB Application?

    I found how to check if WindowsTaskManager specifically tries to close, or the user, or code etc... but when I used Process Explorer to close the file, it does not seem to run the queryunload function.

    ?
    Last edited by rack; Jul 19th, 2006 at 03:23 AM.

  2. #2
    Frenzied Member d3gerald's Avatar
    Join Date
    Jan 2006
    Posts
    1,348

    Re: Stop Process Explorer from closing VB App

    before anything else, what type of program are you doing? usually thats the question that people who wants to develop spywares ask. Are you developing a spyware? if thats it, you better forget your project. it does no good to anyone.
    On error goto Trap

    Trap:
    in case of emergency, drop the case...

    ****************************************
    If this post has been resolved. Please mark it as "Resolved" by going through the "Thread Tools" above and clicking on the "Mark Thread Resolved " option.
    if a post is helpful to you, Please Rate it by clicking on the Rate link right below the avatar

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2006
    Location
    Anchorage, Alaska
    Posts
    545

    Re: Stop Process Explorer from closing VB App

    Just read a long post that I saw you had posted in.

    No, I have no reason to monitor when Process Explorer is closing a VB app, I was just wondering.

    I just thought it was cool that Process Explorer gets by whatever Task Manager is limited in doing.

    My program is for my business.

    Mj Heena Enterprise

    We rent out DVD's to customers, and I have been working on a program to allow my brotherinlaw to rent the dvd's, track the rental, check for late returns etc..

  4. #4
    Frenzied Member d3gerald's Avatar
    Join Date
    Jan 2006
    Posts
    1,348

    Re: Stop Process Explorer from closing VB App

    does your application really requires it not to be closed once it is activated?
    On error goto Trap

    Trap:
    in case of emergency, drop the case...

    ****************************************
    If this post has been resolved. Please mark it as "Resolved" by going through the "Thread Tools" above and clicking on the "Mark Thread Resolved " option.
    if a post is helpful to you, Please Rate it by clicking on the Rate link right below the avatar

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2006
    Location
    Anchorage, Alaska
    Posts
    545

    Re: Stop Process Explorer from closing VB App

    Like I said, no =)
    I'm like that little girl from "The Animaniacs", Minda and her dog?
    All she kept saying is, why? why? =)
    I just ask a lot of usless questions, Sorry my friend.

    My program needs to be closed, because we turn the lights off, and in the building we have, the light switch is also attached to the power outlet, so the computer will turn off hehe.

    I started in Quickbasic (no color) on a Mac Classic, and moved to C, then Visual Basic, then back to C, now i'm back on Visual Basic, I never really learned VB the first time around, I mainly re-used Quickbasic code. (life story ended... hehe)

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