Default Options IDE

bri189a

Well-known member
Joined
Sep 11, 2003
Messages
1,004
Location
VA
I dont like typing

Option Explicit On
Option Strict On

on every code page. These should be on by default. I cant find a setting to have them automatically turned on in the Options dialog... where is it?
 
Right, thats what Im trying to do... where do I set that? You got to remember, Im 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 its depressing receiving someones "working" code that violates several Option Strict ordinances and doesnt compile.
 
Ill I get is web connection settings... possibly its the old 2002 version Im using? BTW - love your signature...fast-paste life... :)
 
Back
Top