Quantcast
Channel: CodeGuru Forums - Visual Basic 6.0 Programming
Viewing all articles
Browse latest Browse all 736

ASCII Strings in Custom Resource Text File

$
0
0
Hi,

I'm maintaining some legacy VB 6 code that has a large number of strings DIMmed as Private Const.
e.g

Public Const atOn = "On"
Public Const atOff = "Off"

I'd like to save memory by defining these in a resource file, and would like to define them as ASCII not UNICODE.

I believe this is possible if they're defined in a "Custom" resource rather than "String Table"

Anyone out there know how to do this & how I then reference them in my code

Many Thanks & Regards

Kevin

Viewing all articles
Browse latest Browse all 736

Trending Articles