N
Norm Dotti
In VS 2002 I could specify
Dim x As System.Windows.Forms.Form()
or
Dim x As System.Windows.Forms.Form
and everything was ok. Since upgrading to VS 2003 it won't
let me put in the parentheses in the above sample. After I
installed VS 2003 and opened up my 2002 project I answered
yes to the question about updating the project. Why didn't
it take my parens out?
Now I have a situation where some of my code has parens
and some don't. It seems that if I press Enter from a Try
statement, it goes through the code in that block and
takes them out for me but doesn't do anything anywhere
else.
Allowing this mixed mode type specification has led to
exceptions such as "Only one WebServiceBinding attribute
may be specified on type MyWebService" and other things.
It seems that I have to go through all my code to make
sure the parens are gone?
The VS 2003 docs show the parens as valid (see ms-
help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcn7/html/vaco
nWritingdeclarations.htm) yet the IDE doesn't allow them
and they didn't get converted at all. Am I missing
something or is there some easy way to fix this?
Dim x As System.Windows.Forms.Form()
or
Dim x As System.Windows.Forms.Form
and everything was ok. Since upgrading to VS 2003 it won't
let me put in the parentheses in the above sample. After I
installed VS 2003 and opened up my 2002 project I answered
yes to the question about updating the project. Why didn't
it take my parens out?
Now I have a situation where some of my code has parens
and some don't. It seems that if I press Enter from a Try
statement, it goes through the code in that block and
takes them out for me but doesn't do anything anywhere
else.
Allowing this mixed mode type specification has led to
exceptions such as "Only one WebServiceBinding attribute
may be specified on type MyWebService" and other things.
It seems that I have to go through all my code to make
sure the parens are gone?
The VS 2003 docs show the parens as valid (see ms-
help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcn7/html/vaco
nWritingdeclarations.htm) yet the IDE doesn't allow them
and they didn't get converted at all. Am I missing
something or is there some easy way to fix this?