Solved

ICON in Thumbnails view

Posted on 2004-08-26
3
269 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month5 days, 21 hours left to enroll

626 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