|
-
May 19th, 2010, 11:26 PM
#1
[RESOLVED] 'Require Variable Declaration' bug
I just noticed a strange little thing in VB6 IDE. Did some quick Google searching but couldn't find any mention of it.
I, of course, as soon as I install VB6 go to Tools > Options and turn on "Require Variable Declaration" that forces the IDE to auto-add the Option Explicit statement to beggining of each Form, Module...
And that works fine if I go to New Project > Standard Exe. But if I choose 'VB Enterprise Edition Controls' from the New Project window/wizard, then open Form1 code, Option Explicit is not there. If I add a module or a new form to the project however, it does get added. Starting a fresh project like that I also checked the option in Tools > Options, and it is still turned on. No sign of Option Explicit in Form1 though.
Can anyone else replicate this or is it just happening to me?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|