Hi all
I have a Setup Form. At this form there is a field named "Export path".
This is a path where i will export some information by using dataports.
The name of file will be generated automatically. And the question is:
Is it possible to make some kind of "Directory choose dialog"?
I know about 412 CODEUNIT, but it`s not quite the right solution i think
0
Comments
Automation...
anyway, thanks
we use COMDLG32 for locating some file from required directory and then we delete file name, so we get only path for directory.
this is not elegant solution, but when you not like Automation, it can be sufficient.
then delete file name and you will get path :-)
as I said, very silly.
I needed this stuff in these days and implemented well... but... every time the Shell Window is show up in the background and not in focus! :roll:
This focused to Windows system but not to Navision and the user cannot see that lookup Shell window!
I use this: Where the 0 meanings the Hwnd but how can I set, the Navision is the parent window? :-s
Thanks for the help!
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
I know it is must be loaded .
Thank you!
To only show directories place a filter on the field "Is a File" with the value 'FALSE'.
You do need to do some programming around it all to make it work, but as you wanted it saves you loading a dll.