|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
TimeSpan issueof code... I write... Dim ts as TimeSpan And Intellisense gives me an error "Type Expected" I did notice that there were 2 TimeSpan choices in the Intellisense drop down while creating the code... One with {} curly braces in front and one with 3 colored boxes in front. I am guessing that is my problem. Why are there 2 types both with the same name "TimeSpan" ? Also, where is a legend to the icons for the Intellisense items ? Thanks ! I think I just figured it out.... I had named my Project "TimeSpan".... I
guess that is not allowed ?? Show quoteHide quote "Rob" <rwch***@comcast.net> wrote in message news:9b-dneh2hLUnVUDZnZ2dnUVZ_uudnZ2d@comcast.com... >I was just getting started with TimeSpan and I get a error in my first line >of code... > > I write... > > Dim ts as TimeSpan > > And Intellisense gives me an error "Type Expected" > > I did notice that there were 2 TimeSpan choices in the Intellisense drop > down while creating the code... > > One with {} curly braces in front and one with 3 colored boxes in front. > > I am guessing that is my problem. Why are there 2 types both with the > same name "TimeSpan" ? > > Also, where is a legend to the icons for the Intellisense items ? > > Thanks ! > "Rob" <rwch***@comcast.net> ha scritto nel messaggio The one with {} indicate a namespace (not a project, also if by default them news:OfCdnYnJXJNQUUDZnZ2dnUVZ_uydnZ2d@comcast.com... >I think I just figured it out.... I had named my Project "TimeSpan".... I >guess that is not allowed ?? have the same name). It is allowed but the compiler may not understand which you want to use, so, if you want to mantain your name you can specify the whole name: System.TimeSpan.
Problem with ComboBox
My for each loops do not compile - VB 2003 execution from command line Windows Service losing variable value? Help! pumping wait primitives - what is that? Run an Access report in a VB .Net application How to detect if program execution is in debug mode? Form Layout Build Release with VS2003 on machine What is pasted into a RichTextBox? |
|||||||||||||||||||||||