Solved

ICON in Thumbnails view

Posted on 2004-08-26
3
266 Views
Last Modified: 2010-05-02
hello, all,

 i am coding an VB application, and choosed a icon for it in project property dialog. however,after generated exe file,  in windows explorer, details view, the icon of this App can been seen, When i switch to thumbnails view, the icon of this application is empty, what is wrong?

urgently need help

thanx in advance


 
0
Comment
Question by:kim_wei
3 Comments
 
LVL 8

Accepted Solution

by:
mladenovicz earned 50 total points
ID: 11901543
I am not sure, but maybe your ico file contain only 16x16 icon, but not 32x32. Try with ico file that contain both, 16x16 and 32x32
0
 
LVL 3

Expert Comment

by:nichia
ID: 11902718
From mvps.org:
"Changing the icon on your main form isn't enough for Windows to recognize it as the application's new icon. You also need to change the icon for the hidden top-level window VB uses to control everything. This demo shows how to do that."

And the code sample:
http://www.mvps.org/vb/code/AppIcon.zip

Two more similar references:

"How To Change the Application Icon with Visual Basic"
http://support.microsoft.com/default.aspx?scid=kb;en-us;259673

"Providing a proper VB Application Icon, Including Large Icons and 32-Bit Alpha Images"
http://www.vbaccelerator.com/home/VB/Tips/Setting_the_App_Icon_Correctly/article.asp

Hope it helps!

0
 

Author Comment

by:kim_wei
ID: 11905922
hello, mladenovicz,

 you are right, i did save this icon again with 32 x 32, after that it works fine.

thanx again
0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Using "ScreenUpdating" 6 64
Add and format columns in vb6 7 57
Passing a Text Box name to a Sub 6 96
Export Data to Different .csv Files 26 105
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question