Top

.NET Code Snippets

  (10)  
Sort by 
Download visual basic 2008 and paste it in and run it. I don't know which was easier to make. The python 8ball or the VB one. I think it's the VB one since I hadn't done any python before.
Tags: 2008  8ball  basic  visual 
+ 1 likes
10 comment(s)    Score: 0.0    Platform: .NET    Posted by Lord-Harlot on Oct 17, 2009
Only 8 .NET snippets? Guess I better put at least SOMETHING into it. Anyways, this is a simple console application, put it in a new console application project (I use Microsoft Visual Basic 2008 Express..
+ 0 likes
11 comment(s)    Score: 0.0    Platform: .NET    Posted by ^Neptune on Oct 13, 2009
A Password generator for VB.NET, just load this up as a console application and hit debug. This is mainly to show/test the Rnd() function.
Tags: .net  44  generator  jonesy  jonesy44  password 
+ 0 likes
5 comment(s)    Score: 0.0    Platform: .NET    Posted by jonesy44 on Oct 06, 2009
A Console Application to convert between Celsius and Fahrenheit. Alternatively, you could use the c2f() and f2c() functions for other purposes
Tags: .net  44  cf  converter  jonesy  jonesy44  temprature 
+ 0 likes
0 comment(s)    Score: 0.0    Platform: .NET    Posted by jonesy44 on Sep 28, 2009
This is a simple app I made in vb.net that finds the RGB of a color based on its alpha value and the background color example: R1=255 G1=255 B1=128 R2=0 G2=0 B2=0 Alpha=50 returns: 128,128,64 note:..
+ 0 likes
3 comment(s)    Score: 0.0    Platform: .NET    Posted by foshizzle on May 17, 2008
This is a timer that counts up until 60 minutes in NN:NN format. Ex: 24:30 » Make a "timer1" and set the interval as 1000 » For the timer, make a "label1" and label it "00:00" »..
Tags: stop  stopwatch  timer  watch 
+ 0 likes
2 comment(s)    Score: 0.0    Platform: .NET    Posted by mountaindew on Feb 10, 2008
This snippet will show you how to add and remove directories, as well as check if they exist already or not in VB.NET.
+ 0 likes
0 comment(s)    Score: 0.0    Platform: .NET    Posted by KuTsuM on Sep 26, 2007
This snippet will check if your computer is currently logged onto the internet in VB.NET. This is especially useful if you are using winsock
+ 1 likes
1 comment(s)    Score: 0.0    Platform: .NET    Posted by KuTsuM on Sep 26, 2007
This snippet will kill a current running process in VB.NET. To load snippet go File>New Project>Console Application
Tags: kill  process  processes 
+ 0 likes
0 comment(s)    Score: 0.0    Platform: .NET    Posted by KuTsuM on Sep 26, 2007
This snippet will list all of your system's current processes that are running into a console window using VB.NET. To load the snippet, go to File>New Project>Console Application and copy paste the..
Tags: list  processes 
+ 0 likes
0 comment(s)    Score: 0.0    Platform: .NET    Posted by KuTsuM on Sep 26, 2007
Bottom