Some help for an InfoPath beginner. I've done some light VBScript, but I'm a bit lost here in InfoPath 2003.
I have a text box on a form with a path entered. I created a button called "Open" to open that path in Explorer. This code works:
Set objShell = CreateObject ("WScript.Shell")objShell.Run "C:\Path",1,false
I want to change that it gets the path from the text box instead of having it hard-coded. I figured that I need some code to pull the data using the XPath, but everything I've tried has come up with an error.
Can someone help a novice? Thanks.