473,668 Members | 2,589 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What would be a good way to add image files to my solution

I have a solution in which the menu items have no images.

I want to add them.

Having never done this before, nor explicitly add any resources, I'm
wondering the best way to do that.

So I download a few example solutions to see how other do it but really
didn't find what I needed.

One solution seemed to contain something I liked.

It had a folder called "Resources" in which all the images were stored.

However, I expected the images' Action property would be "Embedded Resource"
but it was not. Of course I do not know if it would be desirable to use
"Embedded Resource" .

So I'm asking, what would be a good way to go about adding image files to my
solution and then using them in my menus?
Thanks

I have 4 big VS2003 books but none give any help on this subject.


Dec 21 '06 #1
2 1533

Franky schrieb:
So I'm asking, what would be a good way to go about adding image files to my
solution and then using them in my menus?
Hi Franky,

In VS2005 you can add resources with the following steps:
Right click on Project file --Select 'Properties' --Select tab
'Resources' --Select 'Add Resource' --Select 'Add existing file'
--Choose image file
The image should now be a resource of your project.
I don't know if it's the same in VS2003, but maybe this helps...

Dec 21 '06 #2
I'm glad I asked. I wasn't even close.

Thanks

PS
I have VS2005, my books are for VS2003

"Norman Chong" <no*********@fr eenet.dewrote in message
news:11******** **************@ n67g2000cwd.goo glegroups.com.. .
>
Franky schrieb:
>So I'm asking, what would be a good way to go about adding image files to
my
solution and then using them in my menus?

Hi Franky,

In VS2005 you can add resources with the following steps:
Right click on Project file --Select 'Properties' --Select tab
'Resources' --Select 'Add Resource' --Select 'Add existing file'
--Choose image file
The image should now be a resource of your project.
I don't know if it's the same in VS2003, but maybe this helps...

Dec 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3470
by: Al Davis | last post by:
Note: I tried cross-posting this message to several newsgoups, including comp.lang.perl.misc, c.l.p.moderated, comp.infosystems.www.authoring.cgi, comp.lang.javascript and comp.lang.php. Nothing appeared on my news server, so I'm trying again - this time posting a separate copy of the message to each group. I'm thinking this should be fairly easy to accomplish - a quick and dirty ... what? ... script? program?
125
14708
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from software giant such as Microsoft SQL Server, Oracle, and Sybase? Is PostgreSQL reliable enough to be used for high-end commercial application? Thanks
1
2504
by: drinc2much | last post by:
Let me just start out by saying that I am a Java webapp developer. I was pulled into rebuilding our intranet site. I have limited experience with what is the best method for structuring an intranet site. We have a pretty big (~1000 pages) intranet site that has completly gone to crap. The person that was in charge of the site has left the company. Now that she is gone, they have come to me to revamp the look and feel of the site. So I...
2
3498
by: Don Tucker | last post by:
Hello, I have a Windows Application that needs to load multiple image files in response to users clicking buttons. Currently, I just have these images as .jpg files on disk, but I don't want to have to migrate the files everywhere that the executable is installed. Is there a way to add them to a Visual Studio solution/project so that they are embedded in the application somehow? If so, how do I access the images when needed? Thanks,...
13
3906
by: salad | last post by:
Hi Guys: I was stuck. I needed to send a report to a file. My beautiful report(s) in Access were going to require loss of formatting with RTFs, a PITA in WordMailMerge, sending it as a text file...whatever. I described my situation to the guy I'm doing work for and he did some research for me and came up with the following link. http://www.novapdf.com/ The part that should excite us Access developers is their SDK
1
4706
by: reidarT | last post by:
I have oppened a solution in Vb.net with an image folder. When I have opened vb.net and then adds an image to the image folder, it is not updated. I have to strt vb.net all over. Am I missing something? reidarT
5
1546
by: =?Utf-8?B?Q2hyaXM=?= | last post by:
Hi, I need to store lots of product images. I was thinking of storing the paths in the database but overtime it may become cumbersome as I'll be dealing with lots of images. I would need to display both a thumbnail and large versions. The average size per image is 400kb and the max display is 1702 by 2542. Would SQL Server be a good alternative?
4
9162
by: andre rodier | last post by:
Hello, I need to display or propose a jpeg image on a web page. When I need to display the image, I use this code : header("Content-Length: $fileSize") ; header("Content-Type: $type") ; header("Content-disposition: inline") ; header("Location: $imageURL"); And when I need to propose the image to save, I use this one :
5
1091
by: Timothy Madden | last post by:
Hello I see there is now why to truncate a file (in C or C++) and that I have to use platform-specific functions for truncating files. Anyone knows why ? I mean C/C++ evolved over many years now, and still, people making _the_ standards never decided to include such a function. Even in POSIX it was included only in recent versions, mostly not fully supported yet.
0
8459
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8371
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8572
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6206
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5677
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4202
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2782
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2017
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1779
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.