I'm locking for an C# equivalent to the VBS code
On Error Resume Next
Set objWord = CreateObject("W ord.Application ", "" & txtPCName.Value & "")
strCapsLock = objWord.CapsLoc k
strNumLock = objWord.Numlock
objWord.Quit
How can this be accomplished in C# or is there another approach to retrieve
this information by parsing admin creadentials.
On Error Resume Next
Set objWord = CreateObject("W ord.Application ", "" & txtPCName.Value & "")
strCapsLock = objWord.CapsLoc k
strNumLock = objWord.Numlock
objWord.Quit
How can this be accomplished in C# or is there another approach to retrieve
this information by parsing admin creadentials.