Opendialog Folder

Discussion in 'Questions (Windows Mobile)' started by bob, Mar 11, 2008.

  1. bob

    bob Member Licensed User

    Hi Crew,

    is there any possibility to (pre-) select a folder within the opendialog routine? I just want to open the same directory (/save) each and every time - no need to let the user choose!

    Or is the only possibility to adapt the folderchooser example? ie. a blow out from a former single line of code (sload.show) to an additional library (treeview.dll) and many lines of code... is this really necessary?? I just want to load from the same directory (which is a sub dir of where the application is stored) each and every time, but everytime another file therefore the need for a dialog

    help? :sign0085:

    Bob
     
  2. kolbe

    kolbe Active Member Licensed User

    Bob,

    In the desktopOnly.dll you have the possibility of setting the initial directory. As for the device ???

    odEX.InitialDirectory = "%USERPROFILE%\My Documents"
     
  3. bob

    bob Member Licensed User

    found that, unfortunately I need it for the device :(
    bob
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    The OS file dialog doesn't support it.
     
  5. specci48

    specci48 Well-Known Member Licensed User

  6. bob

    bob Member Licensed User

    Hi,

    interesting to read, but it is unfortuntely no option as my application is distributed to many PDA's and they all had to install this tool in advance then...

    unbelievable that an operating system restricts an opening requester to one level of folders and let not choose the default directory... so I really have to replace one line of code with many and add an additional lib... unbelievable....

    robert
     
Loading...