VideoHelp Forum
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Member
    Join Date
    Jan 2004
    Location
    huntersvile, nc
    Search Comp PM
    hey alll,

    I am trying to learn visual basic and I want to create a program that will let me input a process and then set a time and after that set of time then the program terminates. does anyone have any suggestions or experience with creating this type of program?

    thanks,
    for any help,
    schunn99
    Quote Quote  
  2. Member tekkieman's Avatar
    Join Date
    Mar 2004
    Location
    Over the hill
    Search Comp PM
    As long as you have the process name or ID, you can easily kill the process using the Win32 API.
    Quote Quote  
  3. Just as tekkieman said - very easy in win32 api
    CreateProcess()
    SetTimer()
    TerminateProcess()
    Maybe these func. calls have similiar syntax in VB.
    Good luck.
    Quote Quote  
  4. Have a look into the visualbasicforum. You will find examples for all the necessary API calls.
    http://www.visualbasicforum.com/
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!