vs2003 - 错误? [英] vs2003 - Bug?

查看:56
本文介绍了vs2003 - 错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个表单,其中有一个名为but_Edit的按钮,它可见'

属性设置为False。我一直在使用这个表格

一段时间,并且一切顺利,运行正常,我可以使用

but_Edit控件使其在我看到时可见想要等等。


然而,它突然消失了,我再也无法在

代码中引用but_Edit了。表单设计器代码仍然具有显示它已添加到表单的位置的所有信息。我必须删除

but_Edit按钮的所有设计器代码,然后使用工具箱将按钮重新添加到表单。


这是否发生在任何人身上?


另外,我有一个用户控件,它有一个布尔属性,我可以将

设置模式设置为True或False,并且工作正常。然后有一天,

我只能将它设置为False,因为它会接受True。我不得不从我的控件中删除

属性然后重新添加它以使其再次工作我可以

选择是或否。


关于这两个问题的任何想法?

-

休斯顿的丹尼斯

I have a form that had a button called but_Edit which had it''s visible
property set to False. I have been working on an applicaiton using this form
for some time and all was going well and it ran fine and I could use the
but_Edit control making it visible when I wanted and etc.

However, it suddenly disappeared and I could no longer reference but_Edit in
code. The Form Designer code still had all the information showing where it
was added to the form. I had to remove all the designer code for the
but_Edit button and re-add the button to the form using the toolbox.

Has this happened to anyone?

Also, I had a user control which had a boolean property that I could set in
the Designer mode to either True or False and it worked fine. Then one day,
I could only set it to False as it would accept True. I had to remove the
property from my control then re-add it to get it to work again where I could
select True or False.

Any thoughts on these two problems?
--
Dennis in Houston

推荐答案

Dennis,


我想从你以前的消息中得知你正在使用

VBNet 2002.


我对VSNet 2003非常满意,特别是因为IDE的所有疯狂的行为都没有了。我不知道这个新闻组还在使用多少(常规)

的访客。 (我至少知道一个)。所以,下次当你有奇怪的IDE行为时,请告诉

,当我正确的时候你正在使用VB2002

。当我犯了一个错误时,告诉你




另一方面当你发现一个错误时:

显示文档应该如何工作

提供一个软件,其中可重复使用它不起作用

根据这个。


在其他方面,请不要直接将某些内容称为错误,这样就可以了解微软对这个新组中真正的错误的看法。

Cor

" Dennis" < De **** @ discuss.microsoft.com>
Dennis,

I thought knowing from a previous message from you that you are working with
VBNet 2002.

I was directly very happy with VSNet 2003 especially because all that crazy
behaviour of the IDE was gone. I don''t know how much (regular) visitors of
this newsgroup are still using it. (I know at least one). So please tell
next time when you have strange IDE behaviour, that you are using VB2002
when I am right in that. And when I make a mistake in that, tell that as
well.

On the other hand when you have found a bug than:
Show the documentation how it should work
Give a piece of software where is reproducable that it is not working
accoording to that.

In otherways, please do not call something a directly a bug, with that goes
the attention from Microsoft on real bugs in this newgroup to nothing.

Cor
"Dennis" <De****@discussions.microsoft.com>
我有一个表单,其中有一个名为but_Edit的按钮,其可见的
属性设置为假。我一直在使用这个
形式的应用程序工作了一段时间,一切顺利,运行正常,我可以使用
but_Edit控件使其在我想要的时候可见等等。

然而,它突然消失了,我再也无法在
代码中引用but_Edit
了。表单设计器代码仍然具有显示
它添加到表单的所有信息。我必须删除
but_Edit按钮的所有设计器代码,然后使用工具箱将该按钮重新添加到表单。

这是否发生在任何人身上?
另外,我有一个用户控件,它有一个布尔属性,我可以在Designer模式中将其设置为True或False,并且它工作正常。然后一天,
我只能把它设置为False,因为它会接受True。我不得不从我的控件中删除
属性然后重新添加它以使其再次工作,我可以选择是或否。

任何想法关于这两个问题?
-
丹尼斯在休斯顿
I have a form that had a button called but_Edit which had it''s visible
property set to False. I have been working on an applicaiton using this
form
for some time and all was going well and it ran fine and I could use the
but_Edit control making it visible when I wanted and etc.

However, it suddenly disappeared and I could no longer reference but_Edit
in
code. The Form Designer code still had all the information showing where
it
was added to the form. I had to remove all the designer code for the
but_Edit button and re-add the button to the form using the toolbox.

Has this happened to anyone?

Also, I had a user control which had a boolean property that I could set
in
the Designer mode to either True or False and it worked fine. Then one
day,
I could only set it to False as it would accept True. I had to remove the
property from my control then re-add it to get it to work again where I
could
select True or False.

Any thoughts on these two problems?
--
Dennis in Houston



我有vs2003并正在使用VB.Net进行处理。你会注意到我用一个?来证明我在这个主题中的错误。这意味着我正在质疑

如果它真的是一个bug。


至于代码,我的问题不适合发布代码。它会在IDE中发生
删除我的一个控件。我不知道是什么

导致它,偶尔会发生我的按钮控制变得无法使用
无法使用。 desinger中的所有代码表明它仍然存在但是

当我运行

应用程序时,我似乎无法让我的程序识别它。 br />

" Cor Ligthert"写道:
I have vs2003 and am working with it using VB.Net. You will note that I
qualified my bug in the subject with a ?. That MEANS that I am questioning
if it is really a bug.

As for the code, my problem does not lend itself to posting code. It
happens in the IDE which deletes one of my controls. I have no idea what
causes it, it just happens occasionally that my button control becomes
unusable. All the code in the desinger indicates that it is still there but
I just can''t seem to get my program to recognize it when I run the
application.

"Cor Ligthert" wrote:
丹尼斯,

我想从你之前的消息中知道你正在使用VBNet 2002.
<我对VSNet 2003非常满意,特别是因为IDE的所有疯狂行为都消失了。我不知道这个新闻组还有多少(常规)访客使用它。 (我至少知道一个)。所以,下次当你有奇怪的IDE行为时,请告诉
当你正确的时候,你正在使用VB2002
。当我犯了一个错误时,请将其告知


另一方面,当您发现了一个错误时:
显示文档应该如何工作<给一块软件在哪里可以重现它不能正常工作

在其他方面,请不要把某些东西直接称为bug,这样就可以了。微软对这个新组中真正的bug的关注一无所获。


" Dennis" < De **** @ discuss.microsoft.com>
Dennis,

I thought knowing from a previous message from you that you are working with
VBNet 2002.

I was directly very happy with VSNet 2003 especially because all that crazy
behaviour of the IDE was gone. I don''t know how much (regular) visitors of
this newsgroup are still using it. (I know at least one). So please tell
next time when you have strange IDE behaviour, that you are using VB2002
when I am right in that. And when I make a mistake in that, tell that as
well.

On the other hand when you have found a bug than:
Show the documentation how it should work
Give a piece of software where is reproducable that it is not working
accoording to that.

In otherways, please do not call something a directly a bug, with that goes
the attention from Microsoft on real bugs in this newgroup to nothing.

Cor
"Dennis" <De****@discussions.microsoft.com>
我有一个表单,其中有一个名为but_Edit的按钮,其可见的
属性设置为假。我一直在使用这个
形式的应用程序工作了一段时间,一切顺利,运行正常,我可以使用
but_Edit控件使其在我想要的时候可见等等。

然而,它突然消失了,我再也无法在
代码中引用but_Edit
了。表单设计器代码仍然具有显示
它添加到表单的所有信息。我必须删除
but_Edit按钮的所有设计器代码,然后使用工具箱将该按钮重新添加到表单。

这是否发生在任何人身上?
另外,我有一个用户控件,它有一个布尔属性,我可以在Designer模式中将其设置为True或False,并且它工作正常。然后一天,
我只能把它设置为False,因为它会接受True。我不得不从我的控件中删除
属性然后重新添加它以使其再次工作,我可以选择是或否。

任何想法关于这两个问题?
-
丹尼斯在休斯顿
I have a form that had a button called but_Edit which had it''s visible
property set to False. I have been working on an applicaiton using this
form
for some time and all was going well and it ran fine and I could use the
but_Edit control making it visible when I wanted and etc.

However, it suddenly disappeared and I could no longer reference but_Edit
in
code. The Form Designer code still had all the information showing where
it
was added to the form. I had to remove all the designer code for the
but_Edit button and re-add the button to the form using the toolbox.

Has this happened to anyone?

Also, I had a user control which had a boolean property that I could set
in
the Designer mode to either True or False and it worked fine. Then one
day,
I could only set it to False as it would accept True. I had to remove the
property from my control then re-add it to get it to work again where I
could
select True or False.

Any thoughts on these two problems?
--
Dennis in Houston




我从未见过这个在2002年或2003年的VB.NET中的某种行为。可能是你的代码中的某个地方已经设置了

按钮'的Visible属性为False?我会使用Find并逐步执行我的所有代码,查找对此按钮的每个引用

,您可能会惊讶地发现您已在代码中执行某些操作来禁用它。或至少将它的可见属性

设置为false。

我知道我之前做过的事情已经禁用了工作控制或例程我可以发誓我没有改变

与控制或例程有关的任何事情。直到,我去查看我的应用程序的备份副本或使用查找检查所有

对控件或例程的引用,发现我已经改变了一些东西。

Just一个想法。

詹姆斯


丹尼斯 <德**** @ discussions.microsoft.com>在消息新闻中写道:F0 ********************************** @ microsof t.com ...
I have never seen this sort of behavior in VB.NET either in 2002 or 2003. Could it be that somewhere in your code you have set
the button''s Visible property to False? I would use Find and step thru all my code looking for every reference to this button
and you might be suprised to find that you have done something in your code to disable it. Or at least set it''s visible property
to false .
I know I have done things before that have disabled a working control or routine and I could swear that I did not change
anything connected with the control or routine. Until, I went and looked at a backup copy of my app or used Find to check all
references to the control or routine and found that I had changed something.
Just a thought.
james

"Dennis" <De****@discussions.microsoft.com> wrote in message news:F0**********************************@microsof t.com...
我有vs2003并正在使用VB.Net进行处理。你会注意到我用一个?来证明我在这个主题中的错误。这意味着我正在质疑
它是否真的是一个bug。

至于代码,我的问题不适合发布代码。它发生在IDE中,删除了我的一个控件。我不知道是什么导致它,偶尔会发生我的按钮控制无法使用。 desinger中的所有代码都表明它仍然存在但是
当我运行
应用程序时,我似乎无法让我的程序识别它。

; Cor Ligthert写道:
I have vs2003 and am working with it using VB.Net. You will note that I
qualified my bug in the subject with a ?. That MEANS that I am questioning
if it is really a bug.

As for the code, my problem does not lend itself to posting code. It
happens in the IDE which deletes one of my controls. I have no idea what
causes it, it just happens occasionally that my button control becomes
unusable. All the code in the desinger indicates that it is still there but
I just can''t seem to get my program to recognize it when I run the
application.

"Cor Ligthert" wrote:
丹尼斯,

我想从你之前的消息中知道你正在使用VBNet 2002.
<我对VSNet 2003非常满意,特别是因为IDE的所有疯狂行为都消失了。我不知道这个新闻组还有多少(常规)访客使用它。 (我至少知道一个)。所以,下次当你有奇怪的IDE行为时,请告诉
当你正确的时候,你正在使用VB2002
。当我犯了一个错误时,请将其告知


另一方面,当您发现了一个错误时:
显示文档应该如何工作<给一块软件在哪里可以重现它不能正常工作

在其他方面,请不要把某些东西直接称为bug,这样就可以了。微软对这个新组中真正的bug的关注一无所获。


" Dennis" < De **** @ discussion.microsoft.com>
Dennis,

I thought knowing from a previous message from you that you are working with
VBNet 2002.

I was directly very happy with VSNet 2003 especially because all that crazy
behaviour of the IDE was gone. I don''t know how much (regular) visitors of
this newsgroup are still using it. (I know at least one). So please tell
next time when you have strange IDE behaviour, that you are using VB2002
when I am right in that. And when I make a mistake in that, tell that as
well.

On the other hand when you have found a bug than:
Show the documentation how it should work
Give a piece of software where is reproducable that it is not working
accoording to that.

In otherways, please do not call something a directly a bug, with that goes
the attention from Microsoft on real bugs in this newgroup to nothing.

Cor
"Dennis" <De****@discussions.microsoft.com>
>我的表单有一个名为but_Edit的按钮,它有可见的
> ;属性设置为False。我一直在使用这个
>的应用程序。表格
>一段时间以来一切顺利,运行良好,我可以使用
> but_Edit控制使我在需要时可以看到等等。
>
>然而,它突然消失了,我再也不能参考了..Edit
>在
>码。表单设计器代码仍然具有显示
>的所有信息。它
>被添加到表单中。我不得不删除
>的所有设计师代码。 but_Edit按钮并使用工具箱将按钮重新添加到表单。
>
>这个发生在任何人身上吗?
>
>另外,我有一个用户控件,它有一个布尔属性,我可以设置
>在
> Designer模式为True或False,并且工作正常。然后一个
>一天,
>我只能将它设置为False,因为它会接受True。我不得不删除
>来自我的控制的属性然后重新添加它以使其再次工作我
>可以
>选择正确或错误。
>
>关于这两个问题的任何想法?
> -
>休斯顿的丹尼斯
>I have a form that had a button called but_Edit which had it''s visible
> property set to False. I have been working on an applicaiton using this
> form
> for some time and all was going well and it ran fine and I could use the
> but_Edit control making it visible when I wanted and etc.
>
> However, it suddenly disappeared and I could no longer reference but_Edit
> in
> code. The Form Designer code still had all the information showing where
> it
> was added to the form. I had to remove all the designer code for the
> but_Edit button and re-add the button to the form using the toolbox.
>
> Has this happened to anyone?
>
> Also, I had a user control which had a boolean property that I could set
> in
> the Designer mode to either True or False and it worked fine. Then one
> day,
> I could only set it to False as it would accept True. I had to remove the
> property from my control then re-add it to get it to work again where I
> could
> select True or False.
>
> Any thoughts on these two problems?
> --
> Dennis in Houston




这篇关于vs2003 - 错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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