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.

Choose Directory?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-10-2008, 10:58 AM
Basic4ppc Veteran
 
Join Date: Apr 2008
Location: Gosford NSW Australia
Posts: 223
Send a message via MSN to tsteward
Default Choose Directory?

I know I can use opendialog to allow the user to choose a file but how would I get the user to choose a directory.

In my application a user has related files in one directory. So if they want to open a different collection they need to tell me what directory they reside in.

Thanks
Tony
Reply With Quote
  #2 (permalink)  
Old 08-10-2008, 11:00 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You can use the FolderChooser example.
It is located under: C:\Program Files\Anywhere Software\Basic4ppc Desktop\Samples
Reply With Quote
  #3 (permalink)  
Old 08-10-2008, 11:53 AM
Basic4ppc Veteran
 
Join Date: Apr 2008
Location: Gosford NSW Australia
Posts: 223
Send a message via MSN to tsteward
Default

Wow pardon my ignorance but I actually have to do it manually?
Guess I should also include a hard drive chooser for when run on desktop.

Thanks Erel
Reply With Quote
  #4 (permalink)  
Old 08-10-2008, 03:55 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

There is no native FolderChooser on the device. So yes it should be done with code.
Next version will make it easier. You will be able to add the FolderChooser as a module.
Reply With Quote
  #5 (permalink)  
Old 08-11-2008, 08:30 AM
Basic4ppc Veteran
 
Join Date: Apr 2008
Location: Gosford NSW Australia
Posts: 223
Send a message via MSN to tsteward
Default

No worries thanks for your prompt assistance.

That code works really well and does exactly what I want.

Thanks
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
Choose Folder - Optimized Compilation orhan Questions (Windows Mobile) 10 11-05-2008 09:52 AM
How to find files in a directory pmu5757 Questions (Windows Mobile) 2 05-07-2008 12:37 PM
Combinations Sub: choose(n,k) Stellaferox Code Samples & Tips 2 02-21-2008 06:51 PM
code to write out combinations e.g. (10 choose 3) Stellaferox Questions (Windows Mobile) 4 02-04-2008 05:51 AM
ActiveSync & program directory emaster Questions (Windows Mobile) 1 09-27-2007 06:01 AM


All times are GMT. The time now is 10:17 AM.


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