Results 1 to 7 of 7
- 10-23-2008, 02:16 AM #1
Member
- Join Date
- Oct 2008
- Posts
- 4
- Rep Power
- 0
Java N00B - Remote Assistance Invitations
Hi
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.
ThanksLast edited by victimist; 10-23-2008 at 02:26 AM. Reason: Added my reason for asking
- 10-23-2008, 05:17 PM #2
Member
- Join Date
- Oct 2008
- Posts
- 4
- Rep Power
- 0
Please help?
-
I found the article you described here: Offering Remote Assistance and I searched it, but nowhere could I find the term "Java" even on doing a search of the page. Sure it mentions JScript, but this is not the least bit related to Java.
So I guess my main question is this: how does this relate at all to Java? Am I missing something basic here?
- 10-24-2008, 11:20 AM #4
Member
- Join Date
- Oct 2008
- Posts
- 4
- Rep Power
- 0
Thanks for getting back to me :D
:confused: Java / JScript Are they different? :(
Perhaps i've poseted this in the wrong place ... :o
The link you posted is the link i was referring to - Try search for "Offer Remote Assistance Sample JScript" This is the example i was referring to.
Please advise whether i have posted this in the wrong place? Terribly sorry if i have, i was just looking for a place that may have been able to help. If this is the wrong forum, could you please recommend another forum to use?
Or could you still try help me to get it to write a file?
- 10-24-2008, 11:38 AM #5
Yup, this is the wrong place. JScript is not Java. JavaScript is not Java. The similarity of names is unfortunate and misleading.
Maybe you could try a MSDN forum?
db
- 10-24-2008, 12:02 PM #6
Member
- Join Date
- Oct 2008
- Posts
- 4
- Rep Power
- 0
Many Thanks for putting me on the right track and apologies for posting in the wrong place.
-
Similar Threads
-
n00b help with java2D api
By michcio in forum Java 2DReplies: 7Last Post: 10-30-2008, 07:18 PM -
yet another N00b
By java_student_4now in forum New To JavaReplies: 6Last Post: 09-16-2008, 04:56 PM -
n00b at JSP - Need help
By sylo18 in forum JavaServer Pages (JSP) and JSTLReplies: 3Last Post: 04-04-2008, 08:33 AM
Bookmarks