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 > Additional Libraries
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.

FileEncoder V1.0 [FR-EN]

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-14-2010, 09:38 PM
sitajony's Avatar
Basic4ppc Veteran
 
Join Date: Mar 2010
Location: France
Posts: 416
Awards Showcase
Beta Tester 
Total Awards: 1
Default FileEncoder V1.0 [FR-EN]

FileEncoder V1.0
Avec cette Library vous pouvez maintenant importer dans votre code source Basic4PPC tout type de fichier et ensuite compiler le fichier EXE comportant tout vos fichiers de n'importe quel type! (WMV, EXE, DOC, TXT, MP3...).
Grâce au mini programme (j'ai pas mis mon coeur sur le design comme vous le remarquerez) il vous suffit juste de séléctionner les fichiers que vous voulez importer dans votre programme et cliquer sur Sauvegarder.
Ensuite il vous suffit juste de séléctionner le fichier Module "ResFiles.bas" depuis le menu B4PPC et lire les indications généré dans ce module...

With this library you can finally import in your source code Basic4PPC every files type and compile it in your EXE. You can import WMV, EXE, DOC, TXT, MP3... files...
With the small program include in this ZIP File your can choose your files and save it, an Module File "ResFiles.bas" is automaticly generated in the same folder that this program, you've just to click on "Add an existing module" and choose this module bas.
Finaly just read the comments who are on this module and compile it!

Please comment!

Update:
-Problem variable fixed.
-FileImport.exe design updated.

Update:
-Forgot the spaces, it's now replaced by underscore...
-Add text info who show the total size stored...
-Add an encode indicator in percent...

(Look also at here: http://www.basic4ppc.com/forum/addit...er-v1-0-a.html)
Attached Files
File Type: zip FileEncoder.zip (151.6 KB, 123 views)

Last edited by sitajony : 05-15-2010 at 05:56 PM.
Reply With Quote
  #2 (permalink)  
Old 05-15-2010, 03:38 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Nice work. Very creative

I added a file starting with a number and it failed because it is not a legal variable name. You should make sure that the variable name starts with a letter (other characters can be letters, digits and underscore).
Reply With Quote
  #3 (permalink)  
Old 05-15-2010, 04:28 PM
sitajony's Avatar
Basic4ppc Veteran
 
Join Date: Mar 2010
Location: France
Posts: 416
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Thanks
I forgot this, I'll update it and I'll change the design, cause it's a few ugly lol
It'll be available in few minutes...
Reply With Quote
  #4 (permalink)  
Old 05-15-2010, 05:03 PM
sitajony's Avatar
Basic4ppc Veteran
 
Join Date: Mar 2010
Location: France
Posts: 416
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Problem variable name is fixed and I updated the FileImport.exe design...
I replaced "dot" by "underscore" and replace the ' by nothing...
Each names are preceded by a letter "F"...
I hope it'll be usefull, with this idea you can make a Wizard installer, a CAB EXE etc...
Reply With Quote
  #5 (permalink)  
Old 05-15-2010, 05:27 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

I will include this tonight in the Dll Listings, hope to have more comming from you!
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #6 (permalink)  
Old 05-15-2010, 05:39 PM
sitajony's Avatar
Basic4ppc Veteran
 
Join Date: Mar 2010
Location: France
Posts: 416
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Thanks for this adding...
Yes I thing, there'll be more of componements...

Anyway: I did an update (again), I forgot the space caractere so I replaced it by underscore caractere and added some small features...
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


All times are GMT. The time now is 07:13 AM.


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