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

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

Tutorials Basic4ppc tutorials

A better open/close filedialog for the device.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-05-2009, 06:15 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 585
Awards Showcase
Beta Tester 
Total Awards: 1
Default A better open/close filedialog for the device.

I received an email from a member who was a little confused about the alternative open/close dialog changer.
So I thought I'd write a quick tutorial.

The open/close file dialog on the device is somewhat limited to what directories are available for opening or saving files to/from.

Download it here.
filedlgchg

The files you need are:
filedlgchg.cpl
gsgetfile.dll
Probably located in the /ARM folder in the zip file.

Copy these files to your device's Windows directory.
Then click filedlgchg.cpl to activate it. A soft reset may be required.

Now when you issue a opendialog1.show command, the entire device is available to you.
When you open a dialog, if you tap the bottom left side of the screen, left of the keyboard icon, it takes you up a level.
The word 'Up' should be displayed there, but it doesn't on my WM6 device

If you want the dialog to open in your root directory, put,
opendialog1.File="\" before calling opendialog1.Show
Or place it in Sub App_Start

To open the dialog in your current working directory, use,
opendialog1.File= AppPath

Any filepath can be used this way.

Questions ?? Feel free to ask
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk

Last edited by taximania : 03-26-2011 at 09:09 PM.
Reply With Quote
  #2 (permalink)  
Old 01-13-2010, 08:16 PM
Senior Member
 
Join Date: Sep 2009
Location: Surrey, UK
Posts: 111
Default

Hi

For us paranoid pessimists, can you tell us if it's possible to revert to the original dialog if for some reason the change all goes horribly wrong?

Thanks

Caravelle
__________________
Caravelle
I learn by my mistakes - so I learn a lot in a short time.
Reply With Quote
  #3 (permalink)  
Old 01-13-2010, 08:28 PM
derez's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Posts: 918
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

I use it for few years already and never felt the need to revert...
__________________
David Erez
Ramat Hasharon, Israel
Reply With Quote
  #4 (permalink)  
Old 01-13-2010, 08:47 PM
Senior Member
 
Join Date: Sep 2009
Location: Surrey, UK
Posts: 111
Default

That's just a recommendation, not a guarantee!

Caravelle
__________________
Caravelle
I learn by my mistakes - so I learn a lot in a short time.
Reply With Quote
  #5 (permalink)  
Old 01-13-2010, 11:20 PM
Basic4ppc Veteran
 
Join Date: Jul 2008
Location: Borchen, Germany
Posts: 434
Send a message via ICQ to corwin42
Awards Showcase
Beta Tester 
Total Awards: 1
Default

You can delete the files again and get the old file dialog back. You even can disable the new file dialog for an application or you can disable it completely.

This was one of the first tools I ever installed on a PPC and I never wanted to uninstall it.

Greetings,
__________________
Markus
Reply With Quote
  #6 (permalink)  
Old 01-14-2010, 12:04 AM
Senior Member
 
Join Date: Sep 2009
Location: Surrey, UK
Posts: 111
Default

That's more like it! Good news, I shall try it out.

Thanks

Caravelle
__________________
Caravelle
I learn by my mistakes - so I learn a lot in a short time.
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
Can't open source on device Ricky D Questions (Windows Mobile) 4 11-11-2008 05:35 PM
Help ! How to close the device screen ? mixter Questions (Windows Mobile) 1 11-02-2008 08:23 AM
close button kavka Questions (Windows Mobile) 4 02-27-2008 10:29 AM
Open serial port crashes program on device Steve Bug Reports 2 05-23-2007 10:52 PM
SQLite Open Close - how often? sloopa Questions (Windows Mobile) 3 05-01-2007 03:01 PM


All times are GMT. The time now is 02:53 AM.


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