Visual Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 18011
Number of posts: 55384

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Menu with pictures, Application icons Posted by PrzemekG_ on 20 Aug 2001 at 3:37 PM
- In most of Visual Basic menu's have small icons, how can I add icons to my menu ?

- Many EXE programs have multiple icons, when you changing icon of a file, you can choose from icons in Dll's, ICO and EXE file, the firs and the last one have can have more than one icon, how can I add add more than one icon in my program ?

- How can I extract icons from EXE and DLL's files ?<br>

Report
Re: Menu with pictures, Application icons Posted by alaa_m on 20 Aug 2001 at 4:41 PM
: - In most of Visual Basic menu's have small icons, how can I add icons to my menu ?
:
: - Many EXE programs have multiple icons, when you changing icon of a file, you can choose from icons in Dll's, ICO and EXE file, the firs and the last one have can have more than one icon, how can I add add more than one icon in my program ?
:
: - How can I extract icons from EXE and DLL's files ?
:

1- To add icons to your menu items, you have to use some windows API functions like SetMenuItemBitmaps() and others. Or you can search for a third party control that helps you in adding icons.

2- Icons in programs are resources linked with your exe. To add more icons to your exe, add a resource file and put as many icons as you want.

3- Use the ExtractIcon() API function



Report
Re: Menu with pictures, Application icons Posted by danielread on 20 Aug 2001 at 6:42 PM
: : - How can I extract icons from EXE and DLL's files ?

There's also a nice shareware program called MicroAngelo that you can use to extract icons from other programs, and also make your own.

Take care,
Daniel Read
developer.*
http://www.developerdotstar.com





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.