CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2013
    Posts
    3

    Need help and opinions.

    I NEED YOUR HELP GUISE!!! I have something on my mind that i wanted to start from coding it but i don't even know where to start!
    I wonder how i could possibly create a program or script using VB that disables selected processes or executable file from running it temporarily?

    For example, let's say i have that program already running on my system and whenever i tried to run a selected process i.e (war3.exe) it will be disabled temporarily and will pop-up a MsgBox that has a vbOkOnly button saying "Please click Ok to continue running this process."

    Now my question is, is it possible to make in VB? or do i have to use other programming language?

    any kind of help and advice will be greatly appreciated!

  2. #2
    Join Date
    Feb 2013
    Posts
    3

    Re: Need help and opinions.

    About killing the process, i don't want to actually kill it, what i wanted to do is to stack the process from running it through asking from the message box if the user wants to continue the process or not.

    If the user clicks the vbOkOnly
    it will start to run the process (executable file)
    if he choose cancel then
    this time the program will terminate the process itself.

    Sorry if i missed to include this following details.

  3. #3
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: Need help and opinions.

    Yes it is possible or sort of anyway.
    Sounds liek you would need to monitor the processes in a timer and take action when a new process appears in the list.
    Always use [code][/code] tags when posting code.

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

Featured