User Profile

Collapse

Profile Sidebar

Collapse
Rooo
Rooo
Last Activity: Feb 15 '09, 01:01 AM
Joined: Feb 14 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Rooo
    replied to arrays in a custom class
    Never mind...it's solved now.
    I didn't initialize each element in the array before the read/write part.

    Thanks anyway :-)


    For n As Integer = 0 To arrs.Length - 1
    arrs(n) = New ARR
    Next

    Dim i As Integer
    Dim something As Integer = 14

    For i = 0 To 32
    If arrs(i).nr = Nothing Then ...
    See more | Go to post

    Leave a comment:


  • Rooo
    started a topic arrays in a custom class

    arrays in a custom class

    Hi all.
    First of all i want to say that i'm very new to vb.net (2008) so sorry if this is a stupid question.
    I can't figure out why this does not work.

    Public arrs(32) As ARR

    Public Class ARR
    Public nr As Integer
    Public name As New String(New Char(17) {})
    End Class

    Private Sub Form1_Load(ByVa l sender As System.Object, ByVal e As System.EventArg s)...
    See more | Go to post
No activity results to display
Show More
Working...