Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Troubled for a long time, i need 128*128 or more big

What I have tried:

I get icon always small, i need more big icon.
C#
may be i was wrong
Posted
Updated 3-Jan-22 20:46pm

1 solution

Study these links: [^], [^] .

In Windows 10 "MyComputer" is replaced by "This PC."
 
Share this answer
 
Comments
Demo-Liu 4-Jan-22 4:50am    
thanks! I checked your link, but I need a bigger icon
BillWoodruff 4-Jan-22 10:38am    
Are you sure Win 10/11 does nor have a 128x128 size This PC icon ? You can almost certainly find a graphic you can capture or download on Google:

https://www.google.com/search?q=windows%2010%20%20%22This%20PC%22%20icon&tbm=isch&hl=en&tbs=isz:l&rlz=1C1CHWL_enTH966TH966&sa=X&ved=0CAIQpwVqFwoTCIiispW2mPUCFQAAAAAdAAAAABAC&biw=1352&bih=641#imgrc=6zy-nC76FaRv_M
Demo-Liu 4-Jan-22 20:48pm    
That's what I'm doing now, but i want to get icon by c#. This is compatible with different systems.
BillWoodruff 5-Jan-22 0:37am    
then, you'll have to do the hard work of finding that icon file in Windows using the techniques I directed you to. but, first, you need to research if Windows includes a 128x128 or larger icon for "This PC" which is a rather unique icon in terms of usage.

https://www.creativefreedom.co.uk/icon-designers-blog/windows-7-icon-sizes/

when/if you have the Icon file, you can display it in a Picturebox:

picturebox1.Image = TheIcon.ToBitmap();

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900