?
Solved

Running Code Snippet

Posted on 2009-02-24
4
Medium Priority
?
331 Views
Last Modified: 2012-05-06
How to run a code snippet without having to write it inside a form and making the form the 'startup' form of the application in visual studio (say vb.net)
0
Comment
Question by:TheSilverBullet
  • 2
  • 2
4 Comments
 
LVL 53

Expert Comment

by:Dhaest
ID: 23719698
Do you mean that the snippet is inside another class, module, ... ?

http://www.startvbdotnet.com/language/methods.aspx
0
 

Author Comment

by:TheSilverBullet
ID: 23719986
yes but how to get that console, you gotta run the program first, that is exactly what I dont like to do, I wont to test the function without having to hit F5 to compile the application
0
 
LVL 53

Accepted Solution

by:
Dhaest earned 600 total points
ID: 23719998
I can't completey follow. You have a method, procedure, ... in your code. you want to test it without running the complete program ? If so, I think that you'll need to perform some unit test than.
0
 

Author Comment

by:TheSilverBullet
ID: 23720143
I found it here http://www.helixoft.com/blog/archives/21
but that unit test is a good idea for VS08 as it started to support them.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Screencast - Getting to Know the Pipeline

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question