Here's my quick graphical GUI interface (for users) for IP address tracking. Alas, though, it is not in VB...
(looked like they were looking at a forum or blog of some sort, so I made some assumptions along those lines
edit: of course, this is not to minimize how hilarious that dialog was -- I found it online and shared it at work! 
edit 2: Oh, and I agree. Scrubs is awesome.
(looked like they were looking at a forum or blog of some sort, so I made some assumptions along those lines
PHP Code:
public partial class CoolGuiIPTracker : Form
{
public CoolGuiIPTracker()
{
InitializeComponent();
TextBox tb = new TextBox();
tb.Dock = DockStyle.Fill;
tb.Multiline = true;
this.Controls.Add( tb );
SqlConnection con = new SqlConnection(@"Data Source=mydbserver;Initial Catalog=mydb;Integrated Security=SSPI;");
SqlCommand cmd = new SqlCommand( "select post_time, ip_addy from posts where user_name = 'eviluser'", con );
con.Open();
SqlDataReader r = cmd.ExecuteReader(CommandBehavior.CloseConnection);
while ( r.Read() )
tb.AppendText( String.Format( "{0}: {1}\r\n", r[0], r[1] ) ) ;
r.Close();
}
}

edit 2: Oh, and I agree. Scrubs is awesome.

Comment