I want to create a vb.net project that I will use to only hold image and string resources that I will need in multiple projects.
What I can’t figure out is how do I access these resources using code from other projects.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’ll need to load the assembly by either referencing it in your projects or calling Assembly.Load to load the actual DLL files and create a new object called ResourceManager passing along the assembly you loaded or the type of the assembly (if you referenced it in your project).
Then make calls from the Resource manager (GetString, GetInt, GetImage, etc) for the different things the satellite assembly holds.