Search results

  1. C

    Question Class and Array Error

    thanks. good luck.
  2. C

    Question Class and Array Error

    thank you @jmcilhinney but now I have a problem like this. Public Class SomeClass Public SomeString() As qqq End Class Public Clas qqq Public nnn as string End Class ReDim SomeClass(3) 'No Error ReDim SomeClass(2).SomeString(4) 'Error Line I want to change SomeString bound
  3. C

    Question Class and Array Error

    I found the problem. ccc=bbb.xxx 'error line because bbb.xxx is null. bbb.xxx = "abc" aaa(1) = bbb bbb = aaa(1) If IsDBNull(bbb.xxx) = False Then 'No Error MsgBox(bbb.xxx) End If ---------------------- 'bbb.xxx = "abc"...
  4. C

    Question Class and Array Error

    thans for your reply but I was misspelled, the previous code. Public Class qqq Public xxx as string End Class 'This block form1 Public Class main Public aaa() as qqq Public Sub www() redim aaa(3) Dim bbb as qqq = new qqq bbb=aaa(1) ccc=bbb.xxx 'Error Line end sub end class
  5. C

    Question Class and Array Error

    Hello. Can you help me please Public Class qqq Public xxx as string End Class 'This block form1 Public Class main Public aaa() as qqq Public Sub www() redim aaa(3) Dim bbb as qqq = new qqq bbb=qqq(1) ccc=bbb.xxx 'Error Line end sub end class Thanks.
Top Bottom