Page 1 of 1

Access to IA File Browse Dialog?

Posted: Wed Aug 18, 2010 12:35 pm
by Edhy
Hi, I am writting a Plug-In and need to call the IA File Browse dialog to allow the user to browse to the $TARGETDIR$ and select a file. I need to have the whole file path as in IA like $TARGETDIR$\MyFileName.exe Is this possible?

I then want to put that command in the RTM file.

I am using IA 9 R2 (Build Moya sp3 070910)

Re: Access to IA File Browse Dialog?

Posted: Wed Aug 18, 2010 11:05 pm
by mills
Yes, this should be possible.

You can pass a variable to your plugin ($TARGETDIR$).

Then, from your plugin, you can call OpenFileDialog with the "$TARGETDIR$" as the default location (and you can force that to be the only acceptable path as well), then return the full file path as a result.