Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2004
    Posts
    3

    Huh? Allow user to identify a specific file.

    I am using the 'packages' feature to allow the user to choose between a full install (with a new database) or an upgraded install (keeping thier old database).

    I am having a problem however because I need to have the user identify where thier existing database file is located. I have found that I can use the "Select Folder" screen to save a folder path to a variable, but I have not been able to find any screen that will allow the user to specifically identify a single file within a folder (and then save that path / filename in to a variable).

    Can anyone help??

  2. #2
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834
    Take a look at the Edit Boxes screen. On the Custom tab you will see a field labeled "Browse button style". In the dropdown you can select "file" and it should accomplish what you are trying to do.

    Hope that helps.

    Darryl
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

  3. #3
    Join Date
    Oct 2004
    Posts
    3

    Huh?

    Thanks Darryl. That helps a lot. One more question. Is it possible to seperate the path from the filename, ending up with two variables?

    For example, user browses to find: c:\program\file.ext using the solution you provided with the 'Edit Boxes' screen I have the choice of saving either "Folder" or "File". The "Folder" option does indeed save only the folder (path) information, however, when I select the "File" option, it saves both the filename as well as the path into the variable name.

    Do you know of a way that I could parse out the filename from the path and save them as seperate variables? I am thinking of trying to use some of the string actions to find the last occurance of the / and then read everything to the right of it (that becomes the filename variable)... but too seems rather difficult to accomplish in SF6.

  4. #4
    Join Date
    Oct 2004
    Posts
    3

    Grin

    Sorry. I guess users should pay more attention to the help files you spend so much time creating.

    I just discovered the ParsePath sting action. It is working wonderfully. Thanks!

Similar Threads

  1. Audio Tracks Project
    By Michael in forum AutoPlay Media Studio 5.0
    Replies: 7
    Last Post: 03-18-2004, 10:58 PM
  2. Mac autostart function???
    By Protocol in forum AutoPlay Media Studio 4.0
    Replies: 21
    Last Post: 06-26-2003, 10:25 AM
  3. HOWTO: Open an HTML Help File to a Specific Topic
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-01-2002, 02:24 PM
  4. Can search allow manual browse even if file is found?
    By RichardShaw in forum Setup Factory 5.0
    Replies: 2
    Last Post: 08-28-2000, 06:08 PM
  5. Replies: 0
    Last Post: 08-17-2000, 02:29 PM

Posting Permissions

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