Auto add Option Explicit?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Adrian Parker

    #1

    Auto add Option Explicit?

    I know there is an option that will automatically add "Option Explicit" to
    any new form/class to your project. I can't find the option though. Anyone
    know if it's available on VB6 student edition, and if so where?


    Adrian


  • Rick Rothstein

    #2
    Re: Auto add Option Explicit?

    > I know there is an option that will automatically add "Option Explicit" to[color=blue]
    > any new form/class to your project. I can't find the option though.[/color]
    Anyone[color=blue]
    > know if it's available on VB6 student edition, and if so where?[/color]

    Go to VB's menubar and go to Tools/Options and on the Editor tab of the
    dialog that comes up, check the "Require Variable Declaration" box.

    Rick - MVP


    Comment

    • Ray

      #3
      Re: Auto add Option Explicit?

      Tools\Options\E ditor\Require Variable Declaration


      Comment

      Working...