Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Opendialog Folder

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-11-2008, 10:06 AM
bob bob is offline
Junior Member
 
Join Date: Oct 2007
Location: Germany / FÜ
Posts: 10
Default Opendialog Folder

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?

Bob
Reply With Quote
  #2 (permalink)  
Old 03-11-2008, 10:43 AM
Knows the basics
 
Join Date: Sep 2007
Posts: 87
Default

Bob,

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

odEX.InitialDirectory = "%USERPROFILE%\My Documents"
Reply With Quote
  #3 (permalink)  
Old 03-11-2008, 10:51 AM
bob bob is offline
Junior Member
 
Join Date: Oct 2007
Location: Germany / FÜ
Posts: 10
Default

found that, unfortunately I need it for the device
bob
Reply With Quote
  #4 (permalink)  
Old 03-12-2008, 06:30 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

The OS file dialog doesn't support it.
Reply With Quote
  #5 (permalink)  
Old 03-12-2008, 05:55 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 1,057
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Hi bob,

yes, there is!

Please have a look at this thread:
http://www.basic4ppc.com/forum/showt...edialogchanger
especially at post #7 and post #9.


Cheers
specci48
Reply With Quote
  #6 (permalink)  
Old 03-13-2008, 10:36 AM
bob bob is offline
Junior Member
 
Join Date: Oct 2007
Location: Germany / FÜ
Posts: 10
Default

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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opendialog Altair Questions (Windows Mobile) 4 01-21-2008 02:00 PM
V5 - Opendialog Desktop sloopa Bug Reports 5 06-26-2007 05:59 AM
OpenDialog Filter Cableguy Questions (Windows Mobile) 5 05-22-2007 08:37 AM
OpenDialog or SaveDialog control do not work Put Claude Questions (Windows Mobile) 4 05-17-2007 03:26 PM


All times are GMT. The time now is 08:56 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0