Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2007
    Posts
    3

    Browse CD or Show CD Contents button

    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

  2. #2
    Join Date
    Nov 2006
    Posts
    306
    yes, please use the help file included in your IDE and search for "browse" without double quotes.

    Sincerely,
    -Casper

  3. #3
    Join Date
    Aug 2007
    Posts
    3
    Quote Originally Posted by usernameCasper View Post
    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?

  4. #4
    Join Date
    Nov 2006
    Posts
    306
    Use this code into a button in your application.

    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.
    It's coming straight out of the help file.

    Kind regards,
    -Casper

  5. #5
    Join Date
    Apr 2007
    Location
    Mar Sara
    Posts
    292
    No, I'm sure that he wants to open the CD drive in Windows explorer, which is done using this code:

    Code:
    Shell.Execute(_SourceDrive, "explore", "", "", SW_SHOWNORMAL);
    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.

  6. #6
    Join Date
    Aug 2007
    Posts
    3
    Quote Originally Posted by Desolator View Post
    No, I'm sure that he wants to open the CD drive in Windows explorer, which is done using this code:

    Code:
    Shell.Execute(_SourceDrive, "explore", "", "", SW_SHOWNORMAL);
    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.
    Desolator, your the man, thats! what im looking for.. if this works out well im a happy man!

    THANKS!

  7. #7
    Join Date
    Apr 2007
    Location
    Mar Sara
    Posts
    292
    No problem. That's what we're here for

Similar Threads

  1. Example: Creating an on/off button to toggle background audio
    By Jonas DK in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 07-10-2004, 02:54 PM
  2. simple button to image show
    By dave2103 in forum AutoPlay Media Studio 4.0
    Replies: 8
    Last Post: 01-21-2004, 12:18 PM
  3. Flash 'complete' status to show button?
    By Scally in forum AutoPlay Media Studio 4.0
    Replies: 7
    Last Post: 02-08-2003, 08:42 AM
  4. Packages and If Statements
    By Medlir in forum Setup Factory 6.0
    Replies: 4
    Last Post: 05-09-2002, 03:51 PM
  5. Browse Button - File Information
    By csd214 in forum Setup Factory 6.0
    Replies: 0
    Last Post: 12-17-2001, 09:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts