XGEN: Error Messages When Compiling or Loading FormsID: Q157081
|
If the International section [Intl] of the Win.ini file is missing or lacks some entries, you may receive one or more of the following error messages when compiling or loading a form:
Invalid outside procedure
Further symptoms include a compile error in a hidden module named "_#watchmodule#_." In addition, Visual Basic is not accepting standard syntax, such as "Option Explicit". The IDE flags the syntax and turns it red.Expected end of Statement
To resolve the problem:
[intl]
sLanguage=enu
sCountry=United States
iCountry=1
iDate=0
iTime=0
iTLZero=0
iCurrency=0
iCurrDigits=2
iNegCurr=0
iLzero=1
iDigits=2
iMeasure=1
s1159=AM
s2359=PM
sCurrency=$
sThousand=,
sDecimal=.
sDate=/
sTime=:
sList=,
sShortDate=M/d/yy
sLongDate=dddd, MMMM dd, yyyy
The following setting can also be added to this section, although it is
not required:
dialog=yes
For additional information, please see the following article in the Microsoft Knowledge Base:
Q145682 BUG: No Intl Section in WIN.INI Causes Problem w/VB 4 16-Bit
Additional query words: vb4win vb416 gp-f visual basic vb
Keywords : kbusage XGEN
Version : winnt:4.0
Platform : winnt
Issue type : kbhowto
Last Reviewed: April 4, 1999