Basic4ppc - Windows Mobile Development  

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

Basic4ppc Wishlist Missing any feature?


Source Code Folders On The Device


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-01-2007, 10:01 AM
RandomCoder's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Location: UK
Posts: 446
Question Source Code Folders On The Device

Would/Is it possible to store our source code in a folder within another folder on the device?

I'm wanting to create a folder called "B4PPC" then two seperate folders within this called "My Apps" and "Forum Apps", further still I would like to create seperate folders for each app that I create.

At present I appear to only be able to access the first level folder to open source files.

Regards,
RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD.
Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD.

"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #2 (permalink)  
Old 06-01-2007, 11:31 AM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,024
Default

From my experience, the device openfiledialog only scouts one folder level.

I've tryed this tree, B4ppc\projects\myproject and it only listed files in b4ppc...
I don't think this is a b4ppc related issue, and i also wish that we could just replace the opendialog, or change its properties in order to increased the scouting levels....

P.S.: RandomCoder, Glad to see you're in your way up to veteran!!
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote
  #3 (permalink)  
Old 06-01-2007, 02:16 PM
RandomCoder's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Location: UK
Posts: 446
Default

Thanks CableGuy, but I'm quite happy being back at my former 'Senior' level
I'm gonna try my hand at SQL next as that appears to be quite a hot subject which I've never tried using before.

But back to the initial topic... I've seen a view apps created in B4PPC that show the folders in a tree view.
Could we not have this type of option to chose the folder to look in when loading a B4PPC source file on the device?
I know that it's almost there already but it only allows folders in the first level to be viewed.
I'd like to view the next level or better still the level after that i.e.

B4PPC\MyApps\SpatMaster\Splat Master.sbp

I should think that it's possible to do, but is it worthy of the next version??

Regards,
RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD.
Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD.

"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #4 (permalink)  
Old 06-01-2007, 02:36 PM
Senior Member
 
Join Date: Apr 2007
Location: Copenhagen
Posts: 115
Default

Have you tried using the freeware "FileDialogChanger"? If you are using it then the usual "Save As" and "Open" dialogs open any folder on the Pocketpc (on any level). It works very well for me

See review etc at http://www.pocketpcfreewares.com/en/index.php?soft=752

all the best,

Björn
Reply With Quote
  #5 (permalink)  
Old 06-01-2007, 02:43 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,024
Default

Great find, I'll try later on the day and comment...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote
  #6 (permalink)  
Old 06-05-2007, 10:51 AM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,024
Default

Ok, so the link take's us to a page that contains the link to the author's page...in japaneese....
After a few minutes I found the reference to the change dialog file and downloaded the zip file, directly in the device....
The zip file only contains a text file in jp and three folder for three processors, Arm, SH, and MIPS. Inside each I found only a .cpl file, what should I do with it?
A quick web search returned that cpl files are control panel ones and shoul be stored in the Windows\system dir but the ppc dir doesn't contain any of these files...Help!!!
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote
  #7 (permalink)  
Old 06-05-2007, 05:48 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 528
Default

Hi Cableguy,

I had done some posts about the filedialogchanger in the old forum...

Copy the filedlgchg.cpl (arm version) and the gsgetfile.dll into the windows folder of your Qtek9000. I don't remember if a softreset is needed.
After that, check your "system settings", a new icon for the filedialogchanger appeard. You can enable or disable the filedialogchanger, or define some exceptional applications which should not use this feature at all.


specci48
Reply With Quote
  #8 (permalink)  
Old 06-06-2007, 11:08 AM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,024
Default

Thanks,

Got it working...too bad it alway starts in \My Docs....
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote
  #9 (permalink)  
Old 06-06-2007, 04:31 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 528
Default

Not quite elegant, but if you want to preselect a folder, e.g.

Code:
SaveDialog.File="/My Documents/MyFiles/"
before using SaveDialog.Show and the the folder MyFiles is preselected.

The only disadvantage: the folder name is also preselected as the filename, so you have to overtype it every time


specci48
Reply With Quote
  #10 (permalink)  
Old 06-06-2007, 07:52 PM
RandomCoder's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Location: UK
Posts: 446
Thumbs up Now Thats What I Was Talking About!!!!


Thanks for sharing this great little util with us. I downloaded it the day you posted the link but have been busy ever since. The installation advice was also really helpful, doubt I'd have sussed it myself (being unable to understand any language other than English).

Whilst searching for the "gsgetfile.dll" (didn't realise that this was a separate download on the same site) I came across this info...posted by Mivec
Quote:
Windows Mobile 5 PocketPC with gsGetFile.dll, the tool which it tries to be able to access to the file other than the folder below My Documents. The software which uses the file selective dialogue of PocketPC standard almost it corresponds.
For example PocketExcel "acquiring name, also replacement of retention" dialogue is possible. * The software which uses individual file selective dialogue is outside the object. * If gsGetFile.dll international edition is used, it is enabled with language.
1. Filedlgchg.cpl is copied in the Windows folder of installation method PPC. In addition other way gsGetFile.dll the system folder is copied (\Windows and the like). It can procure gsGetFile.dll international edition from below URL. (It is the expectation which operates even with gsGetFile.dll which is open other than this.) Http: //www.geocities.co.jp/SiliconValley-Cupertino/2039/gsgetfile-i.zip
2. FileDialogChanger is executed from the system tub of the use methodological control panel. When [ Exchange Standard File Dialog ] is checked, it replaces with the file selective dialogue gsGetFile.dll of standard. * File selection dialogue replacement until check is cancelled, is effective. Resetting, it continues, [ it can appoint application k Shaun who does not do file selection dialogue replacement with Exceptional Applications ].
3. FileDialogChanger is executed from the system tub of the un installation methodological control panel. ? [ The check of Exchange Standard File Dialog ] is removed. ? [ Exceptional Applications ] is deleted entirely. Filedlgchg.cpl is deleted. 4. File selective dialogue after the thanks replacing has designated gsGetFile.DLL of Y.Nagamidori compilation as the base. We appreciate in Y.Nagamidori which useful ライプラリ gratuitously is released.
5. The writer (ホーミン) you keep the copyright of this software such as notice. This program is the free software. If there is no utilization, duplication with private use of this software and redistribution (reprinting) alteration etc. of contents, being free, it is possible to do freely.
It is due to the use of this program, vis-a-vis whatever damage, the writer does not owe responsibility. We ask utilization on responsibility of the individual. As for operation report and bug report (hou_ming_2@yahoo.co.jp) to.
6. Modification career 2002/04/05 [ V1.00 ] first release 2002/04/17 [ V1.10 it modified ] program constitution, installation/at the time of un installation made reset unnecessary.
In addition detailed correction.
2002/06/17 [ V1.11 it corresponds to the case where DLL which calls ] file dialogue is delayed is loaded.
Supporting the file execution from command line 2002/07/01 [ V1.12 adding ] permanent station mode 2002/09/03 [ V1.20 it tried to do the hook of the ] shell, the operation every of application unnecessary made.
Language correspondence other than Japanese (the international edition compilation of gsGetFile.dll)
2002/09/12 [ V1.21 correcting the fact that ] MIPS edition normally has stopped operating. The time when it requires for the hook (almost instantaneously) shortening.
2003/12/14 [ V1.22 at the time of ] installation it tried to be able to register to startup. When starting from startup way message is not indicated, modification. 2004/02/26 [ V1.30 ] gsGetFile.dll international edition Ver.0.05 β suitably Ver.Up. Method of the hook was modified, cord/code size was reduced.
2004/02/27 [ V1.31 processing of the ] hook correcting the fact that the part bug っ て it is.
2004/07/18 [ V1.40 exe modifying ] file constitution independently, it made file size small. GsGetFile.dll international it stopped bundled of edition. 2004/08/07 [ V1.41 correcting the fact that illegitimate message it is indicatory when starting from ] startup. Way PPC2003SE warning message when installing is not made, correction. 2004/11/09 [ V1.50 the application which does not replace ] file dialogue was made setting possible. Control panel the to applet it converted.
2005/11/13 [ V1.60 the compilation for ] WM5 2006/01/03 [ V1.61 at the time of ] reset correcting the fact that setting of file replacement has become invalid 2006/04/03 [ V1.65 ] WM5 edition unification of version of time before the that (ARM edition even with WM5 operation)
Thanks Mivec, but to cut a long story short, I think its trying to state that its WM5 compatible??

Regards,
RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD.
Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD.

"Defeat never comes to any man until he admits it."Josephus Daniels
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
Error loading source code Roadrunner Bug Reports 12 06-02-2008 07:46 AM
Add file association to Basic4ppc source code files (on the device) Erel Code Samples & Tips 8 01-16-2008 07:01 AM
Include source code from an external file Zemog Questions & Help Needed 2 06-29-2007 08:38 AM
Source Code Form Issues Louis Questions & Help Needed 3 06-16-2007 08:17 PM
The best folder for your source code Erel Code Samples & Tips 0 05-01-2007 07:17 PM


All times are GMT. The time now is 01:10 PM.


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