View Poll Results: Should we encourage posters to have the settings in post #1?:

Voters
11. You may not vote on this poll
  • Yes

    10 90.91%
  • No

    1 9.09%
Results 1 to 16 of 16

Thread: Option Strict, Explicit, Infer

Threaded View

  1. #1

    Thread Starter
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Option Strict, Explicit, Infer

    New posters / programmers should have the following settings as the defaults:

    Option Strict On
    Option Explicit On
    Option Infer Off


    How to specify the default settings for Visual Basic 2008 & 2010 projects. When a new project is created, the specified option statements will be added to the project header in the Code Editor. The options apply to all Visual Basic projects.

    To access this dialog box, on the Tools menu, click Options, expand the Projects and Solutions folder, and then click VB Defaults.



    How to specify the default settings for Visual Basic 2003 & 2005 projects. When a new project is created, the specified option statements will be added to the project header in the Code Editor. The options apply to all Visual Basic projects.

    To access the VB Defaults dialog box, on the Tools menu, click Options, then select the Projects folder and click VB Defaults.
    Last edited by dbasnett; Aug 9th, 2011 at 01:52 PM.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

Tags for this Thread

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