R
Roja Doja
I need to be able to change the Terminal Services attributes.
Using vbscript on Server 2003 this is easy enough, as described at
http://www.microsoft.com/technet/scriptcenter/scripts/ts/default.mspx
for example.
I want to be able to write a web interface to do this, to make it
easier for those who will be setting these settings, and to log
changes, control access etc. However, doing the same simple task in
..Net languages (C# VB.NET etc) is proving damn near impossible. After
wrapping a Win32 API, I find I can now alter string type settings in
C#, such as TerminalServicesProfilePath, but not DWORD settings such
as MaxDisconnectionTime, which is the one I really want to be able to
change via a web interface.
As it's easy enough in vbscript, I'm wondering if there is any way I
can call a server-side vbscript plus parameters from within an ASP.NET
page?
Thanks,
Roger
Using vbscript on Server 2003 this is easy enough, as described at
http://www.microsoft.com/technet/scriptcenter/scripts/ts/default.mspx
for example.
I want to be able to write a web interface to do this, to make it
easier for those who will be setting these settings, and to log
changes, control access etc. However, doing the same simple task in
..Net languages (C# VB.NET etc) is proving damn near impossible. After
wrapping a Win32 API, I find I can now alter string type settings in
C#, such as TerminalServicesProfilePath, but not DWORD settings such
as MaxDisconnectionTime, which is the one I really want to be able to
change via a web interface.
As it's easy enough in vbscript, I'm wondering if there is any way I
can call a server-side vbscript plus parameters from within an ASP.NET
page?
Thanks,
Roger