Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 11, 2005 09:13 PM by d88b
Nov 08, 2005 11:10 PM|LINK
Nov 11, 2005 09:13 PM|LINK
This is the answer I got from Microsoft...
Sorry about the inconvenience. There unfortunately isn’t a GUI way to enable option strict, but you can enable it by copying and pasting
this statement into your application’s web.config file (it should go immediately underneath the root <configuration> element:
<compiler compilerOptions ="/optionexplicit+ /optionstrict+" language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider,
System, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
This will then enable option strict for both code-behind and your app_code directory.
Hope this helps,