PC Review Forums Newsgroups Windows 2000 Microsoft Windows 2000 Terminal Server Applications VB6 and Terminal Server

Reply

VB6 and Terminal Server

 
Thread Tools Rate Thread
Old 01-06-2004, 06:13 PM   #1
Michael Kintner
Guest
 
Posts: n/a
Default VB6 and Terminal Server


Does anybody have vb6 code to view the active terminal session users?

--
Thank you for your help in advance!!! (smile)

Mike


  Reply With Quote
Old 01-06-2004, 11:35 PM   #2
Michael C
Guest
 
Posts: n/a
Default Re: VB6 and Terminal Server

I just wrote a program in C# that does that. There's a lot of code out
there for this particular function in VB6 and VB.NET/C#.NET. Just do a
search for source code using the WTS API (WTSAPI32.DLL). The main functions
you're looking for are WTSEnumerateServers() and WTSEnumerateSessions().
Check out this MS KB article to start:
http://support.microsoft.com/default.aspx?scid=KB;[LN];Q291789.

Michael C.

"Michael Kintner" <nospam@nospam.com> wrote in message
news:10bpe27afu3rt68@corp.supernews.com...
> Does anybody have vb6 code to view the active terminal session users?
>
> --
> Thank you for your help in advance!!! (smile)
>
> Mike
>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off