none
Oskariok Data Extension 0.9.0.9 RRS feed

  • Question

  • In the intellisense for the dialogs.askforfile command it gives the following example for the filter:

    Dialogs.AskForFile("Small Basic File (*.smallbasic) |*.smallbasic")

     If I leave the verticle bar out the dialog opens to the small basic directory and if I put the verticle bar in the dialog opens to the My documents directory.  I just don't see how the filter is switching directories.  Is it supposed to do that?

    Jricestk

    Thursday, October 14, 2010 11:37 PM
    Answerer

Answers

  • Dialogs.AskForFile(Filter)

    Filter is filter for file extensions. When you have "Small Basic File (*.smallbasic) |*.smallbasic" as filter user can only select * .smallbasic files. Filter parameter shouldn't make any effect to initial directory. Initial directory changing is only a bug.


    Sorry My Bad English
    • Proposed as answer by Oskariok Friday, October 15, 2010 12:45 PM
    • Marked as answer by litdevModerator Saturday, October 30, 2010 5:11 PM
    Friday, October 15, 2010 12:43 PM