You can switch it On at the Module/Class Level by placing the directive at the top of the code file.
Option Strict On
You can switch it on at the project level via the menu in Visual Studio
Project > [Project] Properties > Compile Tab > Option Strict > On
Tools > Options > Projects and Solutions > VB defaults > Option Strict
Set it to