Learning Visual Basic with Microsoft Visual Studio .Net is going great.
I have designed few application with Visual basic
- one of one is just use of Buttons and label .. it just copies the text from one text fiel to another field with a button click.Code is pretty simple.
TextBox2.Text = TextBox1.Text
- Another is calendar with stopwatch. I have done it using a inbuilt timer function.Code is like.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If (Timer1.Enabled) Then
Button1.Text = "Start Timer"
startTime = DateTime.Now()
Button1.Text = "Stop Timer"
- Another one is a network browser...
private void button1_Click_1(object sender, System.EventArgs e)
System.Object nullObject = 0;
string str = "";
System.Object nullObjStr = str;
Cursor.Current = Cursors.WaitCursor;
axWebBrowser1.Navigate(textBox1.Text, ref nullObject, ref nullObjStr, ref nullObjStr, ref nullObjStr);
Cursor.Current = Cursors.Default;
You can also add some basic tool bar features as Back ,Refresh,Stop.
You can download executable from here.