Solved

ICON in Thumbnails view

Posted on 2004-08-26
3
264 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now