Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IDE's Immediate window compared to VFP's Debug window
Message
From
08/08/2007 16:28:11
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01246894
Message ID:
01246896
Views:
20
>>I've been given the task of maintaining some VB.NET code. After quickly scouring the code, I decided to try to see what some of the VB functions in it was trying to accomplish. So being a long time VFPer and a newbie to VB.NET, I figured I'd open the Immediate Window, enter the function then see the result. I hoped that it would behave like the VFP debug window where I'd see the immediate results :)
>>
>>Was I wrong. After typing "? DatePart(DateInterval.Month, Now)" into the Immediate window without the quotes, .NET decided to build the project. Of course, with all the errors and warnings, I don't get to see the result of what I tried to type. Just out of curiousity, I then typed "? 100/10"...same thing! Nothing.
>>
>>Was I expecting too much from this .NET IDE "Immediate window" thing? If not, how do I make it work such that I can get a result returned/displayed to me when I type in simple commands/functions?
>>
>>TIA
>
>May be I'm wrong again but did you try Debug.Print instead of ?

I just tried, 'Debug.Print "Hello World"' without the single quotes in the Immediate Window and same result. .NET always wants to build the project. Not very Immediate is it?

Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform