Hi,
I would like to be able to click an assistedit button and a form should open, allowing the selection of a directory path.
I know there is an example of this on this site, but it uses an additional automation server to get the windows handle. It is not desirable to use components that are not windows/navision standard.
Is there another way to get the handle of the navision window?
Dennis
I don't need PGP, my handwriting suffices.
0
Comments
You can use the "Common Dialog Control" to pick a directory.
Where would you need a window handle for?
Have a look at CodeUnit 412. That will get you further.
If you realy need a window handle this is done with API calls. Since navision c/side doesn't support this you will need to wrap this API call in a ActiveX DLL. I'm affraid then there is no way to get the window handle in navision using components that are on every windows machine.
Bummer... The codeunit you mention is good for pikcing a file. Not for paths.
Dennis
Don't know if there is something simular but then for picking a path.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
(an it also looks strange)
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯