file browsing in navision
Vineeth.R
Member Posts: 121
dear friends
is it possible in navision to browse thru all the locations in our hard disk to find a file, like if i want to open/select a file from my drive then can i write coding for that in a buttons onpush to open a window like browser screen and search for my file and select it??? please provide some coding hints or similar form/report ID in our standard navision.
thanks
Vineeth
is it possible in navision to browse thru all the locations in our hard disk to find a file, like if i want to open/select a file from my drive then can i write coding for that in a buttons onpush to open a window like browser screen and search for my file and select it??? please provide some coding hints or similar form/report ID in our standard navision.
thanks
Vineeth
Thanks and Regards
Vineeth.R
Vineeth.R
0
Comments
-
There are several ways to finde a solution for this. It depends on what you exactly want to do and how much effort you want to invest. Use the search function."Money is likewise the greatest chance and the greatest scourge of mankind."0
-
hi
Dou know any form or report which use this function to browse thru our hard disk to find a file or picture...if so pls tell.. I could not find the function serach in help. please provide a sample coding or eg for this.
thankseinsTeIn.NET wrote:There are several ways to finde a solution for this. It depends on what you exactly want to do and how much effort you want to invest. Use the search function.Thanks and Regards
Vineeth.R0 -
You can use the virtual Table "FILE" like:
File.setrange(Path,'C:\');
Path Is a file Name
C:\ No AltNaviDB <-- Is a folder
C:\ No ATI
C:\ No BCFONT
C:\ No Binaries
C:\ No C5450n
C:\ No Data
C:\ YE AUTOEXEC.BAT <-- is a file
C:\ YE AUTORUN.inf
C:\ YE bootfont.bin
so you can loop through the folders setrange(Path,Path+NameOfFolder)
and then you check, if there exist you needed file.
Also possible, you can use WSH -> FileSystemObject or WSH -> Files
RegardsDo you make it right, it works too!0 -
this was the solution for auto finding.
If you need, that the user must select a file, you can use codeunit 412 (Common Dialog Management)Do you make it right, it works too!0 -
Please write [solved] in your Subject title of your first post.
ThanksDo you make it right, it works too!0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions