Results 1 to 3 of 3

Thread: Create a dll of accessible images [Resolved]

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2004
    Posts
    143

    Resolved Create a dll of accessible images [Resolved]

    Hi all,

    I want to create an exe that uses images (replaces some, removes some, adds some etc). But what I don't want to do is to have these images in a folder structure so that any tom dick or harry can come along and delete them, move them or otherwise bum out my app.

    So what I thought would be good was to package them into a dll that i can then reference in my app and then use them straight from the dll.

    Or is there a way i can "store" them in the form somehow?

    Any ideas how I would achieve this as google is not playing ball.

    Thanks







    Added green "resolved" checkmark - Hack
    Last edited by Hack; Jan 24th, 2006 at 10:34 AM.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Create a dll of accessible images

    Add the images to your solution. Right click on them, go to properties, and set their build type (I think) to embedded resource.

    Then read this

    http://msdn.microsoft.com/library/de...rcevisualc.asp

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Dec 2004
    Posts
    143

    Re: Create a dll of accessible images

    That's exactly what I was looking for!

    Thanks very much.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width