Get the application path - InfoPath Dev
in

InfoPath Dev

Get the application path

Last post 10-08-2006 11:30 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-06-2006 02:35 AM

    • Alison
    • Not Ranked
    • Joined on 09-05-2006
    • Posts 4

    Get the application path

    I want to create a button on my form which runs an exe.I think I can do this by doing Shell "$:\MyPath\My.exe".

    Is it possible to use the shell command in infopath and if so is it possible to detect the application path in order to determine teh exe path without hard coding it?

    Thanks

    Kay
  • 10-08-2006 11:30 PM In reply to

    Re: Get the application path

    Hi Kay,
    You can do this but it will require full trust and that is a bad practice since it complicates deployment. Check out the InfoPath SDK for the correct execution command as it varies depending on the language your form uses.
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.