![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Chit Chat The place for open discussions. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Hi guys...
I was aiming for a litle surprise, but I have a doubt that "forces" me to pop the package up... I'm about 75% done of an INI file creator for the device... I thought to myself: " it's pretty easy writing an INI file, so lets try it in the device...hum...with what app should I do it?" Then I realized that there is no easy way, either to create an INI file,or rename a TXT file into INI... So I decided to get myself going in creating a very simple but yet effective INI creator... NOW my problem is not directly related to the coding, but more on how things work... I was planning to include some file association for my app, so that any INI file tapped would open the App automatically and loaded... Also planning to do a custom icon for the INI files, so that they would be more easely tracked in a fileexplorer in the device... How can I achieve theese two things? I know i have to teak the regestry, and even know were and what to create, the only doubt about that is how to enable the tap - open event... Do I need to define some args to my app?
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
|
||||
|
You can use code similar to that one to add file association in the registry: Add file association to Basic4ppc source code files (on the device)
Your program will receive the tapped file name as the first argument - args(0). You can check in App_Start: Code:
If args.Count > 0 then ... 'Load tapped file End If |
|
||||
|
Thanks Erel, so I Do have to work with args...
great....Hope to have it ful working by week end...
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSV file generates strange start in file | sunnyboyj | Questions & Help Needed | 9 | 12-21-2007 09:38 PM |