VB6 executable icons - vb6

I have quite a large VB6 project, with many forms, classes, modules and user controls.
When I create a shortcut to the compiled executable and choose "change icon" for the shortcut there are multiple icons that I can select from. This indicates that there are multiple icon resources being compiled into the executable. The first icon is the "normal" application icon which seems to be controlled by setting the icon form in the MAKE tab of the project settings. That is fine and works as expected.
The problem I have is that I just cannot find out where the other icons that are being compiled into the executable are coming from. Is there a way I can take a VB6 project or a Complied executable and find out where in the project the icons resources are being set?
I've checked all the forms and a bunch of the image lists and none seem to be the icons in question.
Any ideas?

This link talks about using the VB6 add-in manager to use an add-in called the VB6 Resource Editor. Sounds like a good place to check for more resources.

The problem I have is that I just
cannot find out where the other icons
that are being compiled into the
executable are coming from.
I believe this is a misapprehension.
The default set of alternate icons for a shortcut are held within Shell32.dll.

Related

How to embed icons inside VB.Net application, so they can be used as shortcut icons?

I am making a single exe application, that is linked in multiple Right-Click menus.
It is VB.Net application, using Net Framework 4.0
Each of those items needs a different icon.
How do I expose icons inside my exe, so they are available in Right-Click menu items and shortcuts without using post-build hackery?
I mention post-build as hackery, cos some anti-virus might not like the change in the signature that comes with messing about with the exe as a post-build step.
What I tried:
Adding png and ico versions of icons to My.Resources
Adding png and ico versions of icons using Project -> Add -> Existing Item -> selecting files
Using ImageMagick to combine multiple icons in to one ico file
What I want (example using explorer.exe):
What I have:

Cocoa: Localize Dialog

I'm currently translating my application (Mac OS X app) into another language. I've done almost all translations, but now I'm stuck on a pretty strange thing:
I have an additional window for the applications settings and translated the GUI elements the same way I did it for the main window. I imported the translations into my project which seemed to work fine because I can use the preview windows, switch the language of the assistant editor to German and see that the dialog will be localized correctly.
But as soon as I run my application (with "German" as language) and open the settings dialog the whole dialog is still in English (the base language).
The settings dialog's XIB file is located in the base.lproj folder and the corresponding .strings file is located in the de.lproj folder (which should be correct as the preview shows the correct translations).
I don't know what's going on and have no clue what might be the issue.
Does someone have any clue?
I'm using Xcode 6.1.1
I found the reason for this issue: Localizing the settings dialog forced Xcode to move it into the Base.lproj folder. But instead of moving the file Xcode just copied it into that folder - so the XIB file for the dialog existed twice and Cocoa used the old one (which was not localized).
After cleaning the build directory and deleting the derived data for the project the localization works fine now.

how to change icon in XNA

I built a game, and I wanted to change the icon (this is a windows game.) I tried removing the Game.ico that it came with and put in another , but now it just showed the standard exe file icon. All help would be appreciated.
When changing the .ico file, right-click on your project in Visual Studio and go to Properties. Select "Application" form the list on the left. In the "Resources" section browse to the icon file that you wish to use for your game.
Note that the .ico file is only used by XNA on Windows game projects and is ignored for Xbox 360 and Windows Phone 7 games. Also note that it's often easier to edit the existing Game.ico file and make your changes to that file when possible (easier because it's already linked and is in the correct format).

Visual Studio Deployment Project Application Shortcut does not allow drag and drop file opening

I'm having an issue with an creating application shortcut on the desktop from a Visual Studio 2010 deployment project. The shortcut is created just fine, but when I go to drag and drop an application-specific file onto the shortcut, it doesn't work (the cursor turns into the red circle with a slash through it). On the other hand, if I go to the application directory and do this on the executable itself it works fine (it opens the file properly). The interesting part is if I manually create a shortcut to the executable after install, it also works to drag and drop files onto that.
Something that might be useful that I discovered when I was trying to fix this is that if I open up the properties dialog of both the shortcuts (the deployment project created one and the one I made manually), the manually created one has as its target the full path of the executable, whereas the other one just has the name of the executable (although its start in directory is correct). They both run the application when I double-click on them and they both have the correct icon displayed.
How do I get the deployment project created shortcut to allow drag and drop of executable files onto it to open them?
I had the same issue.
First i went here, which answers your question:
http://social.msdn.microsoft.com/Forums/en/vssetup/thread/b57f1d84-9b0c-4c29-b140-0555f92ffed8
But apparently support for orca.exe and WiRunSQL.vbs seems to have disappeared because I couldn't find it on msdn anywhere.
Then i found http://www.instedit.com which seems to have done the trick. I liked the automated answer of the vbs script, but oh well.

How to change Firefox icon?

Is there any way to change Firefox system icon (the one on the left top of the window)?
Precision : I want to change the icon of a bundled version of Firefox with apache/php and my application. So manual operation on each computer is not a solution.
I try Resource Hacker and it's the good solution. The add ons one is good too.
Resource hacker does the job of swapping application icons in Windows (up to XP, not tested with Vista yet).
Available at:
http://www.angusj.com/resourcehacker/
#phloopy's good suggestion to use http://iconpacks.mozdev.org/ unfortunately doesn't work with newer versions of Firefox (I think to the omni.jar change). You can still use their ICO files (or your own), but you now need to do the following manual steps...
Unzip omni.ja in your Firefox application directory.
Delete omni.ja or rename it (e.g. omni.ja.off).
Create directories icons/default in the Firefox chrome application directory.
Copy the icon file you want to chrome/icons/default/main-window.ico
Start Firefox and enjoy your new icon
Notes:
There are other ICO file names you can use for other windows. The ones I have personally seen work are:
main-window.ico for browser windows and Scratchpad
downloadManager.ico for Downloads
If you know others please comment so I can add them. I personally would love one for Firebug and the Error Console. One for Library (Bookmarks) would be nice also (bookmark-window.ico does not work).
Your start time will be a little slower (due to the unzipping of omni.ja). In theory you can jar it up again, but I am not 100% sure that will work once they get the omni.ja optimization working again (it's "broken" in Firefox 10 so omni.ja is actually normal JAR/ZIP file).
If you let Firefox update you will need to do this again
Note many zip tools cannot read Firefox’s variation on the JAR format (see https://bugzilla.mozilla.org/show_bug.cgi?id=605524).
More info is available at http://iconpacks.mozdev.org/docs/faq.html
There are icon packs available at http://iconpacks.mozdev.org/ that work by installing an extension. If you want to use your own icon, extensions are just zipped files so change the extension from xpi to zip and examine the source code and images it contains to customize it. If you do customize it, I suggest changing the GUID that so it doesn't auto-update and overwrite your customizations.
I think you mean the system icon, not the site icon as someone else thought. On a Mac, you can hold-Click -> Get Info on Firefox.app, then drag or paste an image on top of the icon.
I'm not sure about Windows, but I think you may need to compile from source to change it.
If you're talking about the application icon (which under Windows is typically located in the top-left corner of the application's window), then... no... and yes.
Like most windows apps, the icon you see there is probably a resource compiled into the application itself, so you can't change it.
There may be add-ins to Firefox that let you do this, but I doubt it - that icon is trademarked and "identifies" the Firefox "brand" (if you will). So it's unlikely that you could change it at run-time.
Firefox is open-source; you could always just download & compile your own version, replacing the icon resource with your own. A bit dramatic, but possible.

Resources