|
-
Jan 25th, 2006, 11:11 AM
#1
Thread Starter
Hyperactive Member
icon sizes
hi. i made a logo to use on a program. the logo looks perfectly fine in my desk and when i put the .ico file inside a folder, but in the control box of my forms in VB it looks bad, like this:
(look it has black all arround it)
do you know what size and what format (256colors, XP format, etc) should it be to work properly there?
thanks
PS: i use windows XP in with all default settings
EDIT: one more question: does VB.net support PNG images? is there a way to use PNG images on VB 6?
Last edited by Kanbei; Jan 25th, 2006 at 11:17 AM.
-
Jan 25th, 2006, 11:22 AM
#2
Re: icon sizes
I believe .NET 2005 des support png files now.
What that black outline is is called the Alpha channel mask. It occuers when you have a icon created in 32 bits. Thats 24 bits of color and 8 bits for the alpha channel.
Are you running vb.net 2002 or 2003? or vb6?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 25th, 2006, 11:47 AM
#3
Thread Starter
Hyperactive Member
Re: icon sizes
thanks for your reply, im running vb6.
i know what the alpha channel is (i think), but isnt it supposed to be just the same size and form as the whole icon? So what format should i use there?
-
Jan 25th, 2006, 11:57 AM
#4
Re: icon sizes
Heres a link for a utility that can create the 32 bit icons.
http://www.vbaccelerator.com/home/VB...or/article.asp
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 25th, 2006, 12:20 PM
#5
Thread Starter
Hyperactive Member
Re: icon sizes
i have a good program already. in fact, like i said, the logo works perfect everywhere EXCEPT in the control box.
i just wanna know which format and size should i use there.
-
Jan 25th, 2006, 12:27 PM
#6
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 25th, 2006, 12:50 PM
#7
Thread Starter
Hyperactive Member
-
Jan 26th, 2006, 05:27 AM
#8
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|