M
Maarten
hi all,
i have a settingform(form4)
this form opens from an mdi parent form1
what i want do do is, when i make change in form4 (adjust settings), then a
listview in the mdi parent form1 refreches, this is what i did.
Public Class Form4
Inherits System.Windows.Forms.Form
Dim windowmain As New Form1()
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Next inti
otherwindow.listsetup()
Me.close
End Sub
now the problem is, when i try to open form4 i get an error by all of the
components of
" Object reference not set to an instance of an object."
form1, i think becouse i declare the form as a new form1.
what can i do to comunicate with form1
Regards,
Maarten
i have a settingform(form4)
this form opens from an mdi parent form1
what i want do do is, when i make change in form4 (adjust settings), then a
listview in the mdi parent form1 refreches, this is what i did.
Public Class Form4
Inherits System.Windows.Forms.Form
Dim windowmain As New Form1()
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Next inti
otherwindow.listsetup()
Me.close
End Sub
now the problem is, when i try to open form4 i get an error by all of the
components of
" Object reference not set to an instance of an object."
form1, i think becouse i declare the form as a new form1.
what can i do to comunicate with form1
Regards,
Maarten