Results 1 to 7 of 7
  1. #1
    victimist is offline Member
    Join Date
    Oct 2008
    Posts
    4
    Rep Power
    0

    Question 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.

    Thanks
    Last edited by victimist; 10-23-2008 at 01:26 AM. Reason: Added my reason for asking

  2. #2
    victimist is offline Member
    Join Date
    Oct 2008
    Posts
    4
    Rep Power
    0

    Default

    Please help?

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    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?

  4. #4
    victimist is offline Member
    Join Date
    Oct 2008
    Posts
    4
    Rep Power
    0

    Default

    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?

  5. #5
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default

    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

  6. #6
    victimist is offline Member
    Join Date
    Oct 2008
    Posts
    4
    Rep Power
    0

    Wink

    Many Thanks for putting me on the right track and apologies for posting in the wrong place.

  7. #7
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. n00b help with java2D api
    By michcio in forum Java 2D
    Replies: 7
    Last Post: 10-30-2008, 06:18 PM
  2. yet another N00b
    By java_student_4now in forum New To Java
    Replies: 6
    Last Post: 09-16-2008, 03:56 PM
  3. n00b at JSP - Need help
    By sylo18 in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 04-04-2008, 07:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •