Displaying posts tagged with

“Code”

Having Fun…

On my wife’s blog (2SecondsFaster.com) we put up a “Saturday Mixer” and it is a weekly “you take over the conversation” post. As a joke, I thought I would put the post rules up in VB.NET code. Below is my code for a simple Console App.

Code Snippet
  1. Module saturdayMixer
  2.  
  3.    Sub Main()
  4.       Dim saturdayMixer As String
  5.  
  6.       Console.WriteLine("Do you know the rules? (y or n)")
  7.       saturdayMixer = Console.ReadLine()
  8.       ' saturdayMixer = Console.ReadLine()
  9.  
  10.       If saturdayMixer = "y" Then
  11.          Console.WriteLine("Welcome to the Saturday Mixer!" & ControlChars.CrLf _
  • Share/Bookmark

My First VB.NET Code

VB_NET_logo This has been a heck of a week. I went to the corporate office and had my computer rebuilt. It is horrible being without a computer for a couple days. On top of that I have a heavy class load for school, so I got behind. It is hard to learn to code and only have the book to look at. You need Visual Studio to actually learn from playing with code!

  • Share/Bookmark