严格和明确总是在? [英] Strict and Explicit always on?

查看:89
本文介绍了严格和明确总是在?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




简单的问题,也许我只是太盲目找到它,但是:是否有一个

简单的方法来选择使用IDE,显式和Option Strict默认为

默认,或者我必须为

VB-Applications创建新模板吗?


谢谢,


克劳斯

解决方案

没有打开任何项目。将选项严格设置为ON然后它将保持

on。


OHM

Klaus L?ffelmann写道:



简单的问题,也许我只是太盲目找到它,但是:是否有一种简单的方法可以使Option Explicit和Option Strict切换< br /默认情况下使用IDE,或者我是否必须为VB-Applications创建新模板?

谢谢,

Klaus


*" Klaus L?ffelmann" < FO *********** @ loeffelmann.de> scripsit:

简单的问题,也许我只是太盲目找到它,但是:是否有一个简单的方法让Option Explicit和Option Strict切换到
默认使用IDE,还是必须为VB-Applications创建新模板?




在项目属性中,常规属性 - > "图片报"设置选项

严格到开。


-

Herfried K. Wagner [MVP]

< http:// www .mvps.org / dotnet>


OHM,


没有打开任何项目,谁*做*我实际上设置了这个选项来吧?


Klaus

(感觉就像没有眼睛的男人...... ;-)

One Handed Man <博**** @ Duck.net> schrieb im Newsbeitrag

news:bp ********** @ titan.btinternet.com ...

没有打开任何项目。将选项严格设置为ON然后它将保持


OHM

Klaus L?ffelmann写道:

<简单的问题,也许我只是太盲目找到它,但是:是否有一种简单的方法可以将Option Explicit和Option Strict切换为默认打开状态IDE,还是我必须为VB-Applications创建新模板?

谢谢,

Klaus




Hi,

simple question, and maybe I''m just too blind finding it, but: is there a
simple way to have Option Explicit and Option Strict switched to on by
default with the IDE, or do I have to create new templates for
VB-Applications?

Thanks,

Klaus

解决方案

Without any project opened. Set option strict to ON and then it will remain
on.

OHM
Klaus L?ffelmann wrote:

Hi,

simple question, and maybe I''m just too blind finding it, but: is
there a simple way to have Option Explicit and Option Strict switched
to on by default with the IDE, or do I have to create new templates
for VB-Applications?

Thanks,

Klaus



* "Klaus L?ffelmann" <fo***********@loeffelmann.de> scripsit:

simple question, and maybe I''m just too blind finding it, but: is there a
simple way to have Option Explicit and Option Strict switched to on by
default with the IDE, or do I have to create new templates for
VB-Applications?



In the project properties, "General properties" -> "Bild" set "Option
Strict" to "On".

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


OHM,

without any project opened, who *do* I actually set this option to on?

Klaus
(feeling like No Eyed Man... ;-)
"One Handed Man" <Bo****@Duck.net> schrieb im Newsbeitrag
news:bp**********@titan.btinternet.com...

Without any project opened. Set option strict to ON and then it will remain on.

OHM
Klaus L?ffelmann wrote:

Hi,

simple question, and maybe I''m just too blind finding it, but: is
there a simple way to have Option Explicit and Option Strict switched
to on by default with the IDE, or do I have to create new templates
for VB-Applications?

Thanks,

Klaus




这篇关于严格和明确总是在?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆