Results 1 to 2 of 2

Thread: [VB6] WTSSendMessage

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    [VB6] WTSSendMessage

    Here are a couple of simple demos.

    One just shows how to have a "MsgBox" that times out after some number of seconds if the user does not choose a button.

    The other shows how you might raise a "MsgBox" from a Service or a batch Scheduled Task.


    Requires Windows 2000 or later, or NT 4.0 with Terminal Services installed.


    No idea whether this works on all Editions of Windows (Home, etc.). Only tested on Pro.

    You could make more sophisticated use of the API to send messages between machines as well as to the local machine.
    Attached Files Attached Files

  2. #2

    Thread Starter
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: [VB6] WTSSendMessage

    When you use this you can whittle down the constants and API calls to just what you need of course.

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