Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2007
    Posts
    7

    Cool Stupid question.. sorry

    Hey there, I am fairly new to this software and was wondering if someone could help me out.

    Basically I want the user to click on a button that will take them to a "File Browse" window so that they can select the file to delete.

    First of all, can i change the button so it doesn't say "Open"? Can I change it to "Select" or "Select Event"?

    If not, it doesn't matter. But anyway, I have the program run the following code:

    Code:
    evntloc = Dialog.FileBrowse(true, "Select Event to Delete", "C://Program Files//AVS Project Planner//prog//", "Event Files (*.txt*)|*.txt*|", "", "txt", false, true);
    
    Input.SetText("Input2", evntloc);
    But upon running the program, I get a "On Click, Line 3: attempt to concatenate global `eventloc' (a table value)"

    How can I get it to not give me that error and place the path they selected into a blank input object?

    Thank you for your time, I appreciate it!
    Last edited by avsfilms; 10-18-2007 at 10:06 PM.

  2. #2
    Join Date
    Dec 2004
    Location
    Texas
    Posts
    239
    Change:

    Code:
    Input.SetText("Input2", ""..evntloc.."");
    To:
    Code:
    Input.SetText("Input2", evntloc);
    Not really sure what is going on but between me selecting post reply and actually replying the code changed.

  3. #3
    Join Date
    Mar 2007
    Posts
    7

    Another Error

    Haha I edited the code on my post like a minute after I posted it so that's probably why.

    But even after I changed the code, I get the error that's shown below.
    Attached Images

  4. #4
    Join Date
    Dec 2004
    Location
    Texas
    Posts
    239
    Sorry I just noticed you are using a Dialog.FileBrowse which returns a table.

    Try:

    Code:
    Input.SetText("Input2", evntloc[1]);

  5. #5
    Join Date
    Mar 2007
    Posts
    7
    Awesome! Thank you so much!

Similar Threads

  1. Stupid graphics question
    By thetford in forum AutoPlay Media Studio 6.0
    Replies: 7
    Last Post: 10-15-2007, 06:08 PM
  2. This might be a stupid question!
    By stickck in forum AutoPlay Media Studio 5.0
    Replies: 2
    Last Post: 10-11-2005, 06:06 AM
  3. Stupid question
    By Bundle in forum AutoPlay Media Studio 6.0
    Replies: 7
    Last Post: 09-25-2005, 10:26 AM
  4. Stupid question on a friday morning
    By ZenLunatic in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 05-20-2005, 10:48 AM
  5. Stupid Question - But storming me
    By Agent Jones in forum AutoPlay Media Studio 5.0
    Replies: 2
    Last Post: 01-15-2004, 08:35 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