Java N00B - Remote Assistance Invitations
Today i researched Windows Remote Assistance as i happen to use this at the place i work. My idea was to try use a vb wmi script invoke a remote invation back to myself instead of me offering assistance, my reason is to proove to a collegue that its possible to do. :cool: I found the following msdn article ms811079 "Offering Remote Assistance", which happens to be pretty much what i had in mind except it only covers C and Java. They have a example script towards the centre of the page, which Ill admit works a treat. The only problem is im not getting anywhere whiles trying to add new functions. I've tried to get some parameters to write out to a file located in a share, but this turned out harder than i imagined. :eek: Any chances someone could help me please? In the example, im trying to get oSessionObj.UserName and RemConnectionParms written to a file. The written file (Path = "\\server\share\" + oSessionObj.UserName + ".msrcincident") needs only the following line written to it (starting after the "[" ending before the "]")
[<?xml version="1.0" encoding="Unicode" ?><UPLOADINFO TYPE="Escalated"><UPLOADDATA USERNAME=" + oSessionObj.UserName + " RCTICKET=" + RemConnectionParms + " RCTICKETENCRYPTED="0" DtStart="1224696669" DtLength="1800" PassStub="" L="0" /></UPLOADINFO>]. Once the file is written and is closed is there any way of excuting it? Perhaps a shell command?
:confused: PLEASE HELP :confused:
PS - I work with VB & VBA all day so my java knowledge is lackin a tad.