How to add a string resource to my Resource File at run time?
Thanks in advance.
Initiative is to success what a lighted match is to a candle...
Printable View
How to add a string resource to my Resource File at run time?
Thanks in advance.
Initiative is to success what a lighted match is to a candle...
You can't add a string (or any other type of resource) at runtime to your program. The ResourceFile is included inside the EXE when it's compiled (short of doing some low-level file io on your EXE while it's running and you really don't want to be doing that kind of thing!).
You could keep your strings inside an INI file or the registry and write to that at runtime.
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb