Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > General > Chit Chat
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Chit Chat The place for open discussions.


ico assigning in the regestri


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-01-2008, 08:46 AM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,343
Awards Showcase
Forum Contributer 
Total Awards: 1
Default ico assigning in the regestri

Hi,

Using Erel's file association example i've managed to associate the ini files with my app....
I'm only lacking the Icon association of the files...
I have an .ico file wich I want to associate to the files, but I cant get it to work..
Any help will be apreciated.
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #2 (permalink)  
Old 09-01-2008, 10:35 AM
Basic4ppc Veteran
 
Join Date: Feb 2008
Location: Hilversum, The Netherlands
Posts: 205
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Also I've tried this myself and I also couldn't get it to work with ico files,
but it did work with the exe file

similar to the lnk files :
34#"\Path\To\Exe.exe?\path\to\icon.exe, -1"
where -1 is the place of the icon...
To check the numbers i used Rviewer
If you want to use the same icon for your app and the ini files you
can just point it to the exe file with the -1
otherwise you might want to try including the ini.ico into the exe and
search for the location using Rviewer...

Hope it helps
btw. i've attached a screenshot from my phone
as you can see the ico is linked from B4PPC
Attached Images
File Type: jpg 2008-09-01_113346.jpg (18.6 KB, 15 views)
Reply With Quote
  #3 (permalink)  
Old 09-01-2008, 12:50 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,343
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

I downloaded it and instaled it but i don't understand it...
I browse for the exe, and it does show me the icon contained, but if I hit next, I get some diferent values, and NO indication of their meaning.
ie, basic4ppc icon is referenced in the regestry as 32512, but when I use the rviewer in it, I get all sort of in beetwen values...
Must I try them all?

EDIT:

I finaly got it to work...
I went to the developers website, and found there an iconslib.dll file wich contained the icon I need, and got it working...
It was like shooting an ant with a cannon, but at least the ant is dead, and i've learned something as well..
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing

Last edited by Cableguy : 09-01-2008 at 01:23 PM.
Reply With Quote
  #4 (permalink)  
Old 09-01-2008, 08:01 PM
Basic4ppc Veteran
 
Join Date: Feb 2008
Location: Hilversum, The Netherlands
Posts: 205
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by Cableguy View Post
I finaly got it to work...
I went to the developers website, and found there an iconslib.dll file wich contained the icon I need, and got it working...
It was like shooting an ant with a cannon, but at least the ant is dead, and i've learned something as well..
Good to hear, and I'm glad the ant is dead
LOL
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


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


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