Since VB is not case sensitive, I suspect that somewhere in your code you
are using the lower case ns. Why it is changing the definition, I can not
answer other than it sees that you have it as a lower case NS somewhere in
the code.
What you might try to do is do a search and replace on ns as a whole word
and replace it with something like N1S and see what happens.
Jeff K. Steinkamp N7YG
Tucson, AZ
SCUD Missile Coordinates:
N032-13-55.02 W110-55-52.79
Registered Linux User: 420428
------------------------------------------------------
HEADLINE: U'S FOOD SERVICE FEEDS THOUSANDS, GROSSES MILLIONS
----- Original Message -----
From: "grantbingeman" <grantbingeman@...>
To: <VisualBasic_Official@yahoogroups.com>
Sent: Sunday, December 21, 2008 16:24
Subject: [Visual Basic] VB6 changing upper case variables to lower case
>I can save an integer variable as upper case, but when I pull up the
> project at a later time, this same variable has been changed to lower
> case. For example "Dim NS as integer" appears at the start of the main
> program, everything compiles and links and runs okay. No error
> messages, and the program does what I expect it to do. Then I save the
> project and exit the development system.
>
> Next time I enter the development system, my code shows a lower
> case "ns" throughout. NS is only declared in one place, but is used in
> various subroutines that are part of the overall project. It did not
> help to activate a debug flag to show where NS was changed during
> program execution.
>
> How can I check the library code to see if NS is defined elsewhere?
>
>
> ------------------------------------
>
> Visit http://aiaiai.com for more groups to joinYahoo! Groups Links
>
>
>
>
--------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.10.0/1861 - Release Date: 12/22/2008
11:23 AM