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 ( 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:

  2. kolbe

    kolbe Active Member Licensed User


    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 :(
  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


    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....

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice