PC Review
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Terminal Server Clients
VB6 and Terminal Server
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Terminal Server Clients
VB6 and Terminal Server
![]() |
VB6 and Terminal Server |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Does anybody have vb6 code to view the active terminal session users?
-- Thank you for your help in advance!!! (smile) Mike |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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 > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

