How can I add resources in my application? Like .txt files and others, so that when I release it, it will just be an .exe file.
And how do I call it out?
Thanks
Code:
Dim myResources As new StringCollection
MyResources.Add("Resource to add.extension")
MyResources.Add("Another Resource")
MyResources.Add("Another Resource")
MyResources.Add("You get the idea")
To embed the resources, just use solution explorer (default should be embedded regardless, but just in case, Or linked..)
Properties of Project --> Resources tab --> Resource view drop-down -->Select Resources --> select persistence property --> change it to embedded
Solved? Embedding allows you to "embed" your resources into the exe. Linking the resources means using separate folders to hold content/resources and loads them from the file. I think embed is default.
If you have a separate .dll or something, you can is llmerge