Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Option Strict, Explicit Defaults 1

Status
Not open for further replies.

Custom24

Programmer
Nov 27, 2001
591
0
0
GB
Hi
When you create a new project, these seem to be set by default to Strict Off and Explicit On. I would like Strict On for all my projects. Is there a way to do this (you could do this for Explicit in VB6)
Thanks
mark
 
Try:

Right Click on Project Name
- Select Properties
- Build
- Option Strict

 
No that will only do what u want for this project! MS didnt have time to offer this function so for this try doing the following (cut & paste from a post on MSDN)

You need to modify the templates that projects are derived from. For
instance to modify the Class Library projects, modify the
ClassLibrary.vbproj file in the Templates directory and add the attribute of
OptionStrict="On" in the Settings element.

Modify each project's template for changing other project types to default
as well.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top