Click to See Complete Forum and Search --> : How To


Reghu
February 1st, 2000, 04:49 AM
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...

Chris Eastwood
February 1st, 2000, 05:04 AM
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