3
Contributors
8
Replies
20
Views
5 Years
Discussion Span
Last Post by codeorder
Featured Replies
  • To add images or any file/files to My.Resources, follow these little steps. First, check out the 3attached.images, in the order they appear. 2nd, you're done.:) [CODE] With PictureBox1 .Image = My.Resources.jessica_alba End With[/CODE] 3rd, [B]Jessica Alba is a hottie[/B].:* Read More

  • Steps on VS2010: Method A) [INDENT]1)Select your project 2)Right click and select the option Add 3)Select the option Existing Item 4)On the lower right corner Select the option All Files (*.*) 5)Using the left pane, nevigate to the place where the image or icon is located 6)On the right pane, … Read More

0

Add the image as new item in your project. Use the *.* filter to locate it, and insert.
on your project, select the image prperties and change the build action to embedded resource.

Hope this helps

0

Add the image as new item in your project. Use the *.* filter to locate it, and insert.
on your project, select the image prperties and change the build action to embedded resource.

Hope this helps

can u explain more ??

1

To add images or any file/files to My.Resources, follow these little steps.

First, check out the 3attached.images, in the order they appear.
2nd, you're done.:)

With PictureBox1
            .Image = My.Resources.jessica_alba
        End With

3rd, Jessica Alba is a hottie.:*

Edited by codeorder: [b]

Comments
thnx
Attachments img1.jpg 61.67 KB img2.jpg 42.05 KB img3.jpg 29.25 KB
1

Steps on VS2010:
Method A)
1)Select your project
2)Right click and select the option Add
3)Select the option Existing Item
4)On the lower right corner Select the option All Files (*.*)
5)Using the left pane, nevigate to the place where the image or icon is located
6)On the right pane, select the image you want to include and click on the Add button located in the lower right corner.
7)The image is copied into the source folder of your project.
8)On the Solution Explorer select the image and right click. Select the Properties option.
9)On the properties pane, find the Build Action. Change it to Embedded Resource.
10) Save your project

Method B)

1) Select your project.
2) On the VS2010 Menu, select Project, then the las one (yourprojectname properties)
3) Select the resources tab
4) On the top of this form, Click on Add Resource
5) Select the Add existing file
6) Continue with the steeps 4 to 7 of method A)
7) Select the image in the Resources tab, and see the properties pane
8) Find the persistance option and change it to Embedded in .resx
9) Save your project.

Hope this helps

0

Glad I could help in more ways than1, "coz".:)
.Now mark your sh.t as Solved before I start the cussing, and it won't involve anything about hotties.:D

Edited by codeorder: n/a

This question has already been answered. Start a new discussion instead.
Take the time to help us to help you. Please be thoughtful and detailed and be sure to adhere to our posting rules.