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.


Choose Directory?


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-10-2008, 11:58 AM
Senior Member
 
Join Date: Apr 2008
Location: Gosford NSW Australia
Posts: 123
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, 12:00 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,134
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, 12:53 PM
Senior Member
 
Join Date: Apr 2008
Location: Gosford NSW Australia
Posts: 123
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, 04:55 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,134
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, 09:30 AM
Senior Member
 
Join Date: Apr 2008
Location: Gosford NSW Australia
Posts: 123
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Choose Folder - Optimized Compilation orhan Questions & Help Needed 10 11-05-2008 10:52 AM
How to find files in a directory pmu5757 Questions & Help Needed 2 05-07-2008 01:37 PM
Combinations Sub: choose(n,k) Stellaferox Code Samples & Tips 2 02-21-2008 07:51 PM
code to write out combinations e.g. (10 choose 3) Stellaferox Questions & Help Needed 4 02-04-2008 06:51 AM
ActiveSync & program directory emaster Questions & Help Needed 1 09-27-2007 07:01 AM


All times are GMT. The time now is 04:35 PM.


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