In Visual Studio, go menu Tools -> Options -> Projects and Solutions -> VB defaults -> Option Strict. Set it to “On”.
Every time you create a new project, it will have Option Strict On by default.
More Related Contents:
- How to use a string variable in a directory path
- Drawing Textbox at runtime in VB.net and indexing
- How to set variable to a huge number
- How can i make my own command to my first console application in VB.NET? [closed]
- What is the difference between And and AndAlso in VB.NET?
- How can I run code in a background thread and still access the UI?
- How to programmatically add controls to a form in VB.NET
- SQLite not storing decimals correctly
- draw outline for some connected lines
- Declare global variables in Visual Studio 2010 and VB.NET
- Dynamic button click event handler
- How to listen keyboard in background and fire keystrokes on demand?
- How to put data containing double-quotes in string variable? [duplicate]
- Clickable URL in a Winform Message Box?
- Function call only works when MessageBox.Show() is included?
- How do I prevent a form from being resized by the user?
- VB.NET Function Return
- Saving ListBox with Additional information in My.settings
- Using colons to put two statements on the same line in Visual Basic [closed]
- Why is it not necessary to indicate ByVal/ByRef anymore?
- Serilog – Output/Enrich All Messages with MethodName from which log entry was Called
- Get the output of a shell Command in VB.net
- Why is True equal to -1
- How to Generate Combinations of Elements of a List in .NET 4.0
- DataGridView Cascading/Dependent ComboBox Columns
- Detecting Enter keypress on VB.NET
- Nothing = String.Empty (Why are these equal?)
- Convert string to datetime in vb.net
- VB Detect Idle time
- What is the difference between “instantiated” and “initialized”?