VB How could i block a specific process ?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: VB How could i block a specific process ?

  1. #1
    Join Date
    Jul 2010
    Posts
    4

    Question VB How could i block a specific process ?

    I am working on the project called block process. Is there any way to block a specific type of application? let's say NTprocess.exe, when i put the name in the text box and press button it will block and show msg with VByesno if i click No then it run ??
    Any code behind this scheme?

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,091

    Re: VB How could i block a specific process ?

    Why do you need this?

  3. #3
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,982

    Re: VB How could i block a specific process ?

    Not with any OS after NT...
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  4. #4
    Join Date
    Jul 2010
    Posts
    4

    Exclamation Re: VB How could i block a specific process ?

    Quote Originally Posted by dglienna View Post
    Not with any OS after NT...
    i think it may be possible if i add process running in to list and if some process runs then at that moment quick response about new entry. And first of all before adding process to list i will save process.tmp and then match new one with previous one ....???

  5. #5
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,982

    Re: VB How could i block a specific process ?

    That would be a huge security risk. That's why there is a Trusted Installer Service in Vista/Win7. Most critical processes run a services.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center