Run routines in the IDE

A

AGP

In the old VB6 IDE I could view the "Immediate Window" and then type
something like "?MyFunc(3.2, 5, "ALL")"
and it would print the results directly in the window. Ive been looking for
something like this in the VB.NET2005 IDE
and cannot find anyting similar. I just need a quick and easy way to test
some of the output of my functions or even
some built in functions. Any tips on how i can do this?

Rgds
AGP
 
A

AGP

Peter Macej said:
There is Immediate window in VS 2005. You can find it under Debug -
Windows menu. There are also other and maybe better possibilities. I wrote
an article about it:
http://www.helixoft.com/blog/archives/21

Thankx for the tip. i had already fiound the "Immediate Window" but your
blog says you cant do it at Design Time.
In fact you can do it at design time. I just type in ? MyCheck("1.0", "2.5")
and the debug.print lines are printed
as well as the result of the function. All while in the IDE in design time.

AGP
 
P

Peter Macej

In fact you can do it at design time. I just type in ? MyCheck("1.0", "2.5")
and the debug.print lines are printed

You are correct, you can use Immediate window in design time in VS 2005
and higher. You cannot do this in VS .NET 2002/2003. Thank you for
mentioning this, I have updated my article.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top