Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Button images on a menubar

Posted on 2008-10-01
10
Medium Priority
?
588 Views
Last Modified: 2013-11-26
How do I place button images that I copied from other button images onto a custom menubar on my VB.NEt form?

I sucessfully created a menubar using the menustrip tool but I cannot copy button images from my Access application to the application that I am upgrading to VB.NET

Thanks,
Lenny Gray
0
Comment
Question by:LennyGray
  • 5
  • 5
10 Comments
 
LVL 48

Expert Comment

by:jpaulino
ID: 22618546
Do you have the pictures already ? You just need to add a new item to the menustrip and then select the image using the Image property.
0
 
LVL 10

Author Comment

by:LennyGray
ID: 22618632
Hi JPaulino -

When I use the image property for a custom icon, the images seem to have a background that is inconsistent with the menubar. I guess that I could overcome that.

In Access, I would simply copy a button image that existed on a toolbar in either Access, Excel, Word or Outlook and then paste the image into my custom menubar menubar.

I never looked into where these built-in Microsoft button images were found or if they had a special location. At times, I would create my own icon in an icon-maker application or in Paint and then paste the icon into the menubar.

I am trying to use the same process, if that is available in VS2008.

Can you guide me as to where to look for these built-in button images?

Thanks!

Lenny
0
 
LVL 48

Expert Comment

by:jpaulino
ID: 22618779
That could be a problem of the image quality. Can you upload on image that you're having problems ?
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 10

Author Comment

by:LennyGray
ID: 22620160
Hi JPaulino -

You are probably correct about the image quality but that problem represents a small portion of my question.

I am more interested in trying to understand how to use Microsoft's button images that I can copy from their toolbars in their Office applications.

How can I "hijack" the button images from a microsoft toolbar and put it into my menu on the menustrip?

Thank you for your patience with me.

Lenny


0
 
LVL 48

Expert Comment

by:jpaulino
ID: 22620246
You have to find those icon on the web. Check this link that has allot of them http://www.kde-look.org/
You also can find some application on the web (just google it) that can extract icons form the exe or dll files.
You don't have available like you have on the access wizards.
0
 
LVL 10

Author Comment

by:LennyGray
ID: 22620292
Thank you for the link but it does not give me what I need. And it could be that I cannot do in VS2008 what I can do in Access.

In Access, when I want to add a button image to the menubar, I click on Tools->Customize and then I click on a Microsoft Office button and click on "Copy Button Image". then I move to my custom menubar, locate the place that I want that button and then click on "Paste Button Image" and the Access custom menubar gets that image.

This is the effect that I want to do with Visual Studio on the menustrip.

Am I asking for something that is not possible?

Thanks.

Is there a way to do that?
0
 
LVL 48

Accepted Solution

by:
jpaulino earned 2000 total points
ID: 22620307
>> Am I asking for something that is not possible?
No, it's not possible. In Access you have a library with all the icons and when you copy and paste, access just uses that reference.
In VS you cannot do that.


 
0
 
LVL 10

Author Comment

by:LennyGray
ID: 22620321
OK.

Thanks for your patience.

I will look forthe DLL that Office uses and see if I can extract their icons.

After 14 years of Access experience, I am embarking on .NET very optimistically. I appreciate having someone with your skill available to me for help.

Thanks again for your help.

Lenny
0
 
LVL 10

Author Closing Comment

by:LennyGray
ID: 31502139
Thanks for all of your professional assistance!
0
 
LVL 48

Expert Comment

by:jpaulino
ID: 22620357
Ok, good luck!
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

963 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