CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    44

    Setting priorities

    How does one set process/thread priorities in VB??

    /Rob



  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Setting priorities

    use the following Win32 API functions:
    SetPriorityClass for setting the priority class for the process.
    SetThreadPriority for setting the thread priority.

    Use GetCurrentProcess and GetCurrentThread to get the handles of the currently executing process or thread.


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