Results 1 to 2 of 2

Thread: Set Option Strict on for whole web site

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2005
    Posts
    259

    Set Option Strict on for whole web site

    Where can I set Option Strict On so it applies to the whole web site? It was not set On by default when I started the project but I want to turn it on now and I can't find a place to set it and forget it.

    By that I mean currently I have to set it on in each code behind page and I don't want to have to do that anymore.

  2. #2
    Fanatic Member
    Join Date
    May 2005
    Posts
    608

    Re: Set Option Strict on for whole web site

    In VS2005 it comes on by default. You must be using VS2003.

    To set it on VS2003, you can do that from the IDE directly.

    Tools -> Options -> Projects -> VB Defaults -> Option Explicit ON

    HTH
    HoraShadow
    I do like the reward system. If you find that my post was useful, rate it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width