Page 1 of 1

Visual Basic 2008 Code

Posted: Tue Jul 20, 2010 8:29 pm
by eXg. TrueGift
Ok I'm trying to create a console like thing, textbox2 is basically where you type your commands and I want the results to show up on textbox 1 which is like a black textbox made to look like a console

Ok So far I got this:

Code: Select all

Public Class Form1

    Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
        If TextBox2.Text = "ulog%admin/plog%5866" Then
            TextBox1.Text = "Admin Login Authorized"
            End If
    End Sub
Now if you can help me you must be able to understand that ^^

what I want it to do after you type ulog%admin/plog%5866
is start listing objects that are loading at a pace a little faster then a second for example after you type that it says Admin Login Authorized then I want it each under each other to be listed very quickly

Code: Select all

Loading GUI ..
Loading Database ..
Connecting Third Party Applications ..
Allowing ports 2743 and 3742 ..
Authorizing IP Address ***.***.*.*
Loading Completed Successfully!
and U can look through them with a scroll bar which I have enabled then it goes on which I can figure out, so can anyone help me do this?

Posted: Mon Aug 30, 2010 4:14 pm
by eXg. TrueGift
:(

Posted: Mon Aug 30, 2010 4:47 pm
by CaMeL
first of all, i checked into it and there is a bug in the textchange event in VB.

Also, I hope you know alot about coding for TCP/IP because thats what you gotta do next. Personally, I know what your trying to do and I think your way in over your head. Start out small, design little things like a calendar thats updateable or something like that. Cause you going to get into this and never find your way out because GOOGLE can be your worse enemy for a beginner programmer. Read a book, learn the code, then build.