How do I copy and paste graphic in a project?

Last post 03-22-2008 12:48 PM by Suprotim Agarwal. 3 replies.

Sort Posts:

  • How do I copy and paste graphic in a project?

    03-21-2008, 8:47 PM
    • Loading...
    • newbie2C#
    • Joined on 02-15-2007, 10:37 PM
    • Posts 217

    I am working with an asp.net project in VWD 2005 Express. I want to copy the background image and paste it outside of the project. I am trying to do this so I can figure out the size of the file and to experiment with alternate ones.

     I tried to copy and paste through the Solution Explorer but paste wasn't enabled. Should I have chosen "Exclude From Project". If you "Exclude From Project", how do you include it back into the project?

     Whoops, I forgot that I can go to the images folder under the project in My Documents.

                                                                                                                            -thanks

    Debugging is fun, no?
  • Re: How do I copy and paste graphic in a project?

    03-22-2008, 1:33 AM

    Hi,

    Create a new folder called Images in your project structure. Add images to that folder. If you are binding a control to that images, all you have to do is bind the image one by one till you get your desired image. The path will remain the same. For eg: "~/Images/YourImage1.jpg". The imagename will change.

     

    HTH,
    Suprotim Agarwal

  • Re: How do I copy and paste graphic in a project?

    03-22-2008, 10:01 AM
    • Loading...
    • newbie2C#
    • Joined on 02-15-2007, 10:37 PM
    • Posts 217

    Thanks for the help.  What happens when I choose "Exclude From Project"? Does the file go to a folder that is outside of the project? Would I simply paste the file back into the appropriate folder with in the project to reinclude it?

    Debugging is fun, no?
  • Re: How do I copy and paste graphic in a project?

    03-22-2008, 12:48 PM
    Answer

    Hi,

    When you "Exclude from Project", the file gets temporarily disassociated from the project. You can always view the file by choosing the "Show All Files" in the Solution Explorer.

    If you want to associate it back again, click "Show All File" and then select the item. Then in the Project Menu > "Include In Project".

    That's it!!

     

    HTH,
    Suprotim Agarwal

Page 1 of 1 (4 items)
Microsoft Communities
Page view counter