I'm using Visual Basic 6.0 Learning Edition. Does anyone know how to set an Icon for my program (other than the default)? When I click the '...' and then choose an Icon, it claim's I have 'set an Invalid property value'. Can anyone help with this?
Roberdin
9
Supreme Evil Overlord
Team Colleague
Recommended Answers
Jump to PostI used to use VB6 for years but now I only have Visual Studio.NET installed, so it's hard for me to remember back and picture what you're seeing.
As far as an icon, you're talking about the little icon that shows up on the top left of the title …
Jump to PostWell, the taskbar icon is the same as the icon I was talking about ... it just goes to the taskbar when the program is minimized.
I don't understand why this doesn't work. Are you sure you're in the right property field? Do you have a screenshot or ... …
Jump to PostWhat if you tried doing it as a typed command? e.g., on form load, do myForm.icon = myIcon.ico or something along those lines
at least for now, to debug?
Jump to PostI've had this problem in the past with Visual Basic 5. It's a pain. It was with an icon I created. When I tried another icon, one that came with Visual Basic, it worked fine. Try using another icon and see what happens. I get the feeling that even if …
All 14 Replies
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Roberdin
9
Supreme Evil Overlord
Team Colleague
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Roberdin
9
Supreme Evil Overlord
Team Colleague
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
samaru
145
a.k.a inscissor
Team Colleague
Roberdin
9
Supreme Evil Overlord
Team Colleague
Roberdin
9
Supreme Evil Overlord
Team Colleague
samaru
145
a.k.a inscissor
Team Colleague
archangel
0
Newbie Poster
Roberdin
9
Supreme Evil Overlord
Team Colleague
samaru
145
a.k.a inscissor
Team Colleague
sendoshin
6
Light Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.