bri189a Posted September 28, 2004 Posted September 28, 2004 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? Quote
Administrators PlausiblyDamp Posted September 28, 2004 Administrators Posted September 28, 2004 You can set them at the project level rather than every code module. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
bri189a Posted September 28, 2004 Author Posted September 28, 2004 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#. Quote
Leaders Iceplug Posted September 28, 2004 Leaders Posted September 28, 2004 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. Quote Iceplug, USN One of my coworkers thinks that I believe that drawing bullets is the most efficient way of drawing bullets. Whatever!!! :-(
bri189a Posted September 29, 2004 Author Posted September 29, 2004 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... :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.