i cant seem to get it to work.. when i try
Dim sMonth As MonthData
sMonth.aDayData = New DayData(31)
it tells me that DayData doesn't have a constructor
and the second method still gives me null reference =[
I did try Redim and it seemed to work, but I can't seem to redim for the arrays...
thanks... i tried that and removing my duplicate declarations for
Dim sMonth As MonthData that were in both module1 and form1 but netiher seemed to work =[
I hope this is the right forum. I am getting a System.NullReferenceException in my code. I have googled and haven't had any success. I use to be faily decent at VB, but haven't used it in a couple years so I am a bit rusty.
This is my Module1.vb
Imports System.IO
Public Structure MonthData...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.