Results 1 to 4 of 4

Thread: External Resources in DLL

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    2

    External Resources in DLL

    Hello,

    I am new to these forums and somewhat new to Visual Basic .NET. I am using Visual Studio .NET 2005. Here's basically what I want to do:

    I have a lot of graphic images for my application, including icons and png files. I want to store these files in an external DLL so my application can load faster. As it is, I just have these resource files in the same project as the main EXE file.

    How do I put these images into an external DLL project and then reference them in my main application?

    Thanks in advance for the help!

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339

    Re: External Resources in DLL

    You can do that but it wont make your program load any faster, in fact there is a slight chance it would load slower.

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    2

    Re: External Resources in DLL

    Well, atleast it will provide a smaller excutable and easier changes in the future if I want to switch out graphics or something. Could you elaborate as how to do it?

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: External Resources in DLL

    What you're talking about are called "satellite assemblies", which by definition contain only resources.

    Creating Satellite Assemblies
    How to: Access Resources in Satellite DLLs
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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