Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / August 2006

Tip: Looking for answers? Try searching our database.

detect if running on a terminal server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Smokey Grindle - 17 Jul 2006 01:04 GMT
is there any way to detect if yoru app is runnign on a terminal server in
.net? so we can slim down graphics and such for it? thanks!
Chris - 17 Jul 2006 02:40 GMT
> is there any way to detect if yoru app is runnign on a terminal server in
> .net? so we can slim down graphics and such for it? thanks!

I just set a command line parameter that I would launch whenever I
launched from a terminal server.

Program.Exe /TS

Then I would lower the graphics.

Chris
Michel Posseth [MCP] - 17 Jul 2006 12:29 GMT
If Terminal Server is installed, the product suite registry entry will
contain the string "Terminal Server."

regards

Michel Posseth [MCP]

> is there any way to detect if yoru app is runnign on a terminal server in
> ..net? so we can slim down graphics and such for it? thanks!
Smokey Grindle - 07 Aug 2006 15:09 GMT
I'm sorry but I dont have a clue where the product suite registry entry is,
I searched the registery for "Terminal Server" but found nothing that isnt
also in my standard XP workstation registry also....

> If Terminal Server is installed, the product suite registry entry will
> contain the string "Terminal Server."
[quoted text clipped - 5 lines]
>> is there any way to detect if yoru app is runnign on a terminal server in
>> ..net? so we can slim down graphics and such for it? thanks!
Michel Posseth [MCP] - 07 Aug 2006 15:42 GMT
Well it sure should be there ,

to be more specific here

HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\ProductOptions

Here you can find detailed info ( source however is in C++ )

regards

Michel Posseth [MCP]

> I'm sorry but I dont have a clue where the product suite registry entry is,
> I searched the registery for "Terminal Server" but found nothing that isnt
[quoted text clipped - 9 lines]
> >> is there any way to detect if yoru app is runnign on a terminal server in
> >> ..net? so we can slim down graphics and such for it? thanks!
Michel Posseth [MCP] - 07 Aug 2006 15:46 GMT
sorry forgot to paste the link

http://www.microsoft.com/technet/prodtechnol/win2kts/maintain/optimize/tsappdev.mspx

> Well it sure should be there ,
>
[quoted text clipped - 21 lines]
> > >> is there any way to detect if yoru app is runnign on a terminal server in
> > >> ..net? so we can slim down graphics and such for it? thanks!
Smokey Grindle - 07 Aug 2006 18:46 GMT
ah ok found it now thanks!

> Well it sure should be there ,
>
[quoted text clipped - 24 lines]
>> >> in
>> >> ..net? so we can slim down graphics and such for it? thanks!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.