Hi,
As the titles says, im a trying out AutoPlay Media Studio 6.0 and need to know how to make a browse cd button, is that possible?
Kind regards
Rob
Professional Software Development Tools
Hi,
As the titles says, im a trying out AutoPlay Media Studio 6.0 and need to know how to make a browse cd button, is that possible?
Kind regards
Rob
yes, please use the help file included in your IDE and search for "browse" without double quotes.
Sincerely,
-Casper
Sorry but em.. i dont get it.. i did search in the help file and found this:
Folder:
The path to the folder on the CD-ROM that will be explored. Click the Browse button to select a folder.
Tip: You can clear the current text from the field by right-clicking in the field and selecting Clear Text.
Run Mode
The window mode you want to use. Choose from Normal, Minimized and Maximized.
Exit after action
Exit the application after this action is performed.
But what to do, i dunno?.. can you help me out a little?
Use this code into a button in your application.
It's coming straight out of the help file.Code:Example 1 files = Dialog.FileBrowse(true, "Open File", _ProgramFilesFolder, "Text File (*.txt)|*.txt|All Files(*.*)|*.*|", "", "", false, false); Prompts the user to select a single text file in their Program Files folder, and stores the path to the file they select in a table named "files." Note: _ProgramFilesFolder is a built-in variable that contains the path to the user's "Program Files" folder.
Kind regards,
-Casper
No, I'm sure that he wants to open the CD drive in Windows explorer, which is done using this code:
Or if your application isn't on the CD, then you can replace _SourceDrive with the path to the CD drive, but to get it is a little more complex.Code:Shell.Execute(_SourceDrive, "explore", "", "", SW_SHOWNORMAL);
No problem. That's what we're here for![]()