CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: How To

  1. #1
    Join Date
    Feb 2000
    Location
    Pune, India
    Posts
    34

    How To

    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...

  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: How To

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured