473,473 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Open Image in Resources folder in c# 2008 Express Edition

Hi, i added an image in my Solution in folder Resources and now i will
open... Someone can help me?
thanks
Jun 27 '08 #1
1 2634
Before trying to display an image, make sure that you have included the below namespaces:
using System.IO;
using System.Reflection;

To load the image resource programmatically, use the following code:

1. Create a folder "images".
2. Add an image "myImage.jpg" to "images" folder.
3. Add an Image control in Default.aspx.
4. Right-click on the image control and select "Properties".
5. Select the "ImageUrl" Property.
6. Select the picture "myImage.jpg" and click "OK".
7. Now run the appilcation. Your image will be displayed at localhost.

Hope you got it. All the Best..!!
Rakesh Vikram
Jun 27 '08 #2

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

Similar topics

4
by: Phillip Parr | last post by:
Hello, I have a nice system where someone clicks on a picture to show the full version. This pops up in a window.open box. It works great, the only problem is that if the user clicks a second...
7
by: Dennis | last post by:
I am trying to use the Image Editor to add a resource to my VB.Net project. The instructions from the help file are: (I have Vs.Net 2003, Pro edition) 1)In Solution Explorer, right-click the...
24
by: JJ | last post by:
I see the new software is 'RTM' but what does that mean in terms of when we can actually purchase it? Thanks, JJ
0
by: =?Utf-8?B?TWlyYW5v?= | last post by:
I tried it several times, setup disk is not damaged, everything is fine, but it always fails with the error below after completing like 75% of the installation. Then I saw other posts, and figured...
5
by: XiCookieX | last post by:
I'm not sure if I am in the right section. If i am not I'm very sorry, but can you guys at least answer my question: I tried downloading the Microsoft Visual C++ 2008 Express Edition Trial and...
2
by: Jason | last post by:
Right now I have VB.Net 2008 Express Edition, the free edition. Is the actual full version of Just VB 2008 coming out soon? Is there anywhere I can get pricing info? I've looked over MS site...
4
by: Michael A. Covington | last post by:
I am happily developing software with C# using Visual Studio 2005. Should I upgrade to Visual Studio 2008? If I do, will I be able to work on the same project alternately with the two different...
0
juve11
by: juve11 | last post by:
that's what i try in vb express edition 2008 and it just doesnt work : "4. Select the toolbar control. Right click and select properties and select general tab. 5. select imagelist as...
1
by: BobLewiston | last post by:
I installed SQL Server 2008 Express, basic edition (SQLEXPR32_x86_ENU_Bootstrapper.exe, version 9.0.30729.1) without any problem. Then I attempted to install AdventureWorks Sample Databases for...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
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...
0
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...
0
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...
0
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 ...
0
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...

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.