Overview
So far, my program uses external icons that are loaded from a sub dir lower than the program is located in. The code used to display them is as follows
imgArray(loopint).Image = Image.FromFile(“SubDir\” & reader.getstring(1) & “.gif”)
The reader.getstring(1) is an integer from the SQL Database (unrelated to this question)
Objective
I would like to put all the gif files into a single DLL and still be able to use them the same way as above. The only command even remotely related is as follows:
Global.ProgramNameSpace.My.Resources.NameofResource
The above code does not allow integers to be used. It is a static line. And requires the files to be placed in the Exe. Therefore, here is what I want to know.
Goal
I would like to use a DLL to store the graphic files. I would like to use those graphics in the program. I do not want to put the graphics in the main EXE as it is still under development and if I can externalize the graphics, it would save on upload speeds. Any help would be much appreciated. Google is not helping at all.
So far, my program uses external icons that are loaded from a sub dir lower than the program is located in. The code used to display them is as follows
imgArray(loopint).Image = Image.FromFile(“SubDir\” & reader.getstring(1) & “.gif”)
The reader.getstring(1) is an integer from the SQL Database (unrelated to this question)
Objective
I would like to put all the gif files into a single DLL and still be able to use them the same way as above. The only command even remotely related is as follows:
Global.ProgramNameSpace.My.Resources.NameofResource
The above code does not allow integers to be used. It is a static line. And requires the files to be placed in the Exe. Therefore, here is what I want to know.
Goal
I would like to use a DLL to store the graphic files. I would like to use those graphics in the program. I do not want to put the graphics in the main EXE as it is still under development and if I can externalize the graphics, it would save on upload speeds. Any help would be much appreciated. Google is not helping at all.