Get computer Name - InfoPath Dev
in

InfoPath Dev

Get computer Name

Last post 06-17-2008 11:59 PM by brittaink112. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-17-2008 05:36 AM

    Get computer Name

    I have written an infopath document that queries an access database for all of the asset details on that particular workstation. eg. If I am sat at workstation "1"  I would query "1" and it would bring up all of the details for that workstation. The workstation number is actually the computer name, and I was wondering if there was an on load event I could write to obtain the computer name and place it into the query box on my Infopath document. I could then automatically query it.

    I am used to writing VBA in Access and how no real knowledge of JScript. If anyone knows how I can do this in JScript or how I can write VBA for Infopath, please could you let me know. Thank You

     

    Keith Brittain

  • 06-17-2008 04:05 PM In reply to

    What you require is considered secure information and is sanboxed from InfoPath. However, you can set your form to Full Trust, and then you can get at the computer name. Or you might have available a Web Service which can return that information.

  • 06-17-2008 11:59 PM In reply to

    If I set the security to full trust, how do I then get the computer name? Also do you have any idea of how to test if I have a web server that will provide the info?

     

    Keith

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.