dbasnett's Profile User Rating: -----

Reputation: 114 Stalwart
Active Posts:
624 (0.25 per day)
01-October 08
Profile Views:
Last Active:
User is offline Today, 09:56 AM

Previous Fields

Who Cares
OS Preference:
Who Cares
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:

Latest Visitors

Icon   dbasnett has not set their status

Posts I've Made

  1. In Topic: Please help me with Nested Classes

    Posted 16 Jun 2015

    View PostTheZamundaPrince, on 15 June 2015 - 11:16 PM, said:

    View Postmaj3091, on 14 June 2015 - 10:16 PM, said:

    You should really be in the VB.Net forum with this, as it's not VB6.

    Maybe you could tell us the exact error message and the line it occurs on...the more information you give, the easier it will be to provide an answer.

    The error comes when I click the button once and the text boxes are cleared.

    myBox.mline1 = New Line() generates an error message "Object reference not set to an instance of an object."

    I'm thinking there's a problem with the way I've called the nested classes after declaring them.

    You need to start with creating an instance of myBox.
  2. In Topic: put ip address in textBox what to add more?

    Posted 15 Jun 2015

    Here is an example using one textbox and one label. The user must enter an IP address that is in the 192.168.42.x network. To test create a form with one textbox and one label with the default names.

    Public Class Form1
        Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged
            Dim someIP As Net.IPAddress
            'did user enter an ip address
            If Net.IPAddress.TryParse(TextBox1.Text, someIP) Then
                'looks like an address
                'is it in 192.168.42
                Dim b() As Byte = someIP.GetAddressBytes
                If b(0) = 192 AndAlso b(1) = 168 AndAlso b(2) = 42 Then
                    Label1.Text = "valid IP Address"
                    Label1.Text = "invalid IP Address"
                End If
                Label1.Text = "Not an IP Address"
            End If
        End Sub
        Private Sub Form1_Shown(sender As Object, e As EventArgs) Handles Me.Shown
            Label1.Text = "Enter IP Address"
        End Sub
    End Class
  3. In Topic: put ip address in textBox what to add more?

    Posted 12 Jun 2015

    View Postmercy_angel, on 12 June 2015 - 01:04 PM, said:

    Yes, its me there.

    Can i just done with 4 textBoxes, or you recommend me to do otherwise?

    What does the user want? My experience is that having users type an entire address in one textbox is the way to go.
  4. In Topic: put ip address in textBox what to add more?

    Posted 12 Jun 2015

    View Postmercy_angel, on 12 June 2015 - 08:30 AM, said:

    Ok, i will look for that event.

    Is this you? http://www.vbforums....l=1#post4891727

    You are over thinking this. Parse the IPAddress (there is a method for that) and if needed look at each individual byte(there is a method that will return each part of the IPAddress.
  5. In Topic: loading / parsing hex from 1 textbox to another to ASCII

    Posted 27 May 2015

    After one of the users pointed it out to me I saw that you had replied to the post in the Code Bank link. If you have other questions post them here.

My Information

Member Title:
D.I.C Addict
Age Unknown
July 29
Years Programming:

Contact Information

Website URL:
Website URL  http://



dbasnett has no profile comments yet. Why not say hello?