Picking a directory

dennis_decoene
Member Posts: 13
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 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
-
I've tried to do this in the past and looked for a standard windows control (similar to the Common Dialog Control) for picking directories. I couldnt find one so had to write one myself.0
-
I don't understand.
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.In a world without Borders or Fences, who needs Windows and Gates?0 -
Bummer... The codeunit you mention is good for pikcing a file. Not for paths.
DennisI don't need PGP, my handwriting suffices.0 -
Ok, sorry missed that part.
Don't know if there is something simular but then for picking a path.In a world without Borders or Fences, who needs Windows and Gates?0 -
you can allow picking any file and just use the path from whole filename...®obi
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯0 -
Possible, sure. Only problem is the directory is empty most of the time...I don't need PGP, my handwriting suffices.0
-
And i think your customer would question your professionalism when you come up with that kind of sollution :?In a world without Borders or Fences, who needs Windows and Gates?0
-
dennis decoene wrote:Possible, sure. Only problem is the directory is empty most of the time...
(an it also looks strange)®obi
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions