Results 1 to 2 of 2

Thread: Make VB an NT Process and set Priority

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Rockford, IL
    1. How would you go about making a VB application run as a process in NT? I don't want anyone to see it when they Cnt-Alt-Del

    2. How do you set the priority in NT? I need to set my program to realtime so it will be sure to run no matter what else is running.

    The Security of an entire nation is at stake!

    Not really. More like a small office.

    Please HELP!

  2. #2
    New Member
    Join Date
    Sep 2001
    To make it run as process just make it an ActiveEXE (always slower then DLLs or Services). That and there is a program (can't remember the name) that converts EXEs into's on the SDK

    Now for process priorities just call this API

    Public Declare Function SetPriorityClass Lib "kernel32" (ByVal hProcess As Long, ByVal dwPriorityClass As Long) As Long

    The hProcess is the value of

    Public Declare Function GetCurrentProcess Lib "kernel32" () As Long

    Hope this Helps,
    Lior Amar

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