|
-
Jan 24th, 2007, 03:36 PM
#1
Thread Starter
Hyperactive Member
-
Jan 24th, 2007, 03:43 PM
#2
Fanatic Member
Re: [2005] File Icons
I am not sure if you can change icons after the .exe is created......Could you create an imagelist and add the icon pictures there? Then have a form or panel with images set to each picture in your image list. Once they select a picture, then maybe you could set the form's Icon property directly so long as they are also in your resource list??
Not sure, doin this from top of my head....
D
Platforms of choice: Visual Studio 2005/2008 Professional : Visual Studio 2010 Enterprise : PHP - Notepad++/WAMP
Please Rate If I helped you. 
Please remember to mark threads as closed if your issue has been resolved.
Reserved Words in Access | Connection Strings
-
Jan 24th, 2007, 03:56 PM
#3
Thread Starter
Hyperactive Member
Re: [2005] File Icons
I don't want to change the EXE's icon. I guess I explained this wrong. When I was working with Inno Setup, it works like this:
Root: HKCR; Subkey: TestApp\DefaultIcon; ValueType: string; ValueName: ; ValueData: {app}\TestApp.exe,0
The last 0 means the first icon in the EXE. 1 would be the second icon.
How can I assign multiple icons in an executable so for one file type I can set TestApp.exe,1 and for another file type, TestApp.exe,2 while keeping the visible EXE icon as 0.
Like this:
-
Jan 24th, 2007, 06:24 PM
#4
Frenzied Member
-
Jan 24th, 2007, 07:02 PM
#5
Thread Starter
Hyperactive Member
Re: [2005] File Icons
That worked perfectly. Just incase you are all wondering:
Open your .vbproj and replace:
<ApplicationIcon></ApplicationIcon>
with:
<Win32Resource>youResourceFile.res</Win32Resource>
Final Result:
-
Jan 24th, 2007, 07:06 PM
#6
Frenzied Member
Re: [2005] File Icons
dont forget to mark this thread as Resolved
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|