Default Options IDE

bri189a

Senior Contributor
Joined
Sep 11, 2003
Messages
1,004
Location
VA
I don't like typing

Option Explicit On
Option Strict On

on every code page. These should be on by default. I can't find a setting to have them automatically turned on in the Options dialog... where is it?
 
Right, that's what I'm trying to do... where do I set that? You got to remember, I'm use to C# where you have Option Strict/Option Explict by defaut, and why VB would even allow you to do undeclared variables just seems to be a recipe for disaster...... maybe even Option Compare... not sure how that one relates to C#.
 
Tools -> Options.
Click on the Projects folder and go to VB Defaults. Turn everything on. :)
why VB would even allow you to do undeclared variables just seems to be a recipe for disaster
So that its harder (for anyone) to debug of course. :p I wish that everybody would turn theirs on because it's depressing receiving someone's "working" code that violates several Option Strict ordinances and doesn't compile.
 
I'll I get is web connection settings... possibly it's the old 2002 version I'm using? BTW - love your signature...fast-paste life... :)
 
Back
Top