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
Thanks and Regards
Vineeth.R
0
Comments
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.
thanks
Vineeth.R
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
Regards
If you need, that the user must select a file, you can use codeunit 412 (Common Dialog Management)
Vineeth.R
Thanks