The Browse Folder Dialog KO will display a browse window that will allow you (the user) to select the destination directory. Window -> Knowledge Objects -> Browse Folder Dialog.
Then you can use the CopyFile WinAPI function to copy the file:
CopyFile(sourceFilePath, wzDirectoryChosen ^ filename, copyFailed)
HTH
Charles Rholl TOTO Multimedia
Andy Davison wrote:
> Hi! > > I need help from the wise on how to create a button that allows the user to > copy a file from the CD to his harddrive. The button needs to link the file > on the CD to the current page(screen) that the user is looking at , and > allow the user to choose where to save the file on his/her harddive. If > anyone has done this or has some good advice please let me know. > > Thanks, > > Andy Davison > Multimedia Developer > Multimedia Communications Division-AiG
-- Search the Archives -- UPDATED EVERY DAY!! http://www.e-media.nl/aware/search.html
The AWARE List http://www.e-media.nl/aware/index.html
Netiquette: !! Use descriptive subject fields !! Delete all unneeded lines from your reply
- Use subject prefixes (A5 , A5Mac , A5Web , KO , UCD , OT)