Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Opendialog Folder


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-11-2008, 11: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, 11:43 AM
Junior Member
 
Join Date: Sep 2007
Posts: 28
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, 11: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, 07:30 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,335
Default

The OS file dialog doesn't support it.
Reply With Quote
  #5 (permalink)  
Old 03-12-2008, 06:55 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 672
Default

Hi bob,

yes, there is!

Please have a look at this thread:
Source Code Folders On The Device
especially at post #7 and post #9.


Cheers
specci48
Reply With Quote
  #6 (permalink)  
Old 03-13-2008, 11: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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenDialog - sort by date desc? badkarma Questions & Help Needed 4 06-28-2008 11:53 AM
Opendialog Altair Questions & Help Needed 4 01-21-2008 03:00 PM
V5 - Opendialog Desktop sloopa Bug Reports 5 06-26-2007 06:59 AM
OpenDialog Filter Cableguy Questions & Help Needed 5 05-22-2007 09:37 AM
OpenDialog or SaveDialog control do not work Put Claude Questions & Help Needed 4 05-17-2007 04:26 PM


All times are GMT. The time now is 07:37 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0