...

View Full Version : VBScript Question (Didn't know where to put it)



comfroels
12-16-2012, 07:17 AM
I am terrible at VBScript and am not sure of syntax here I am trying to just check if there is an active rdp session active and if there is to pop up a window saying so.


dim IsRemoteSession


bool IsRemoteSession(void)

return GetSystemMetrics( SM_REMOTESESSION )

if IsRemoteSession = true then
MessageBox "RDP Session Active"
end if

any help would be appreciated



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum