Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / April 2004

Tip: Looking for answers? Try searching our database.

IDE expression evaluation bug?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Armin Zingler - 08 Apr 2004 13:28 GMT
Hi,

I have the following code:

  Const d As Date = #4/8/2004 11:00:00 AM#

  Dim diff As Double

  diff = d.Date.AddDays(1).Subtract(d).TotalSeconds

If I single-step through the code, select "d.Date" and use "quick watch", I
get the message "d.date is not declared or the module that contains it is
not loaded into the debug session". Of course same message when adding
d.Date to the watch window.

But: The code works as expected! If I change "Const" to "Dim", the problem
is gone, but I think there shouldn't be a difference. Little bug? (VS/VB
2003)

Signature

Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Armin Zingler - 26 Apr 2004 16:50 GMT
> Hi,
>
[quoted text clipped - 14 lines]
> problem is gone, but I think there shouldn't be a difference. Little
> bug? (VS/VB 2003)

Any hints?

Signature

Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.