I'm looking for a way to capture the form (not the template) current location.
I've looked at a bunch of options; currently coding in vbscript but can change to jscript if needed.
wscript doesn't work..
ActiveX FileSystemObject works when I'm designing the template and switch to preview, but not when I open up a new form based on that template. I get the "ActiveX component can't create object: 'Scripting.FileSystemObject'" error. Found some info on MSDN that suggests this might be a security problem.
So... what now?
How hard can this be? Is there something obvious I'm missing? I can't use InfoPath for this project I'm doing if I can't capture the form's location.
I'm using InfoPath 2003 SP1, can upgrade to a different SP but not to 2007 yet.