Problem: close does not work on form

Jasperken

New member
Joined
Feb 19, 2008
Messages
1
Programming Experience
1-3
Hi all,

I have created a simple form that has 1 listbox on it, and 2 datagridviews.
The are all connected to a table of my Ms access database.

When i try to close the form, it does not respond at all. I also tried to add a button to show a msgbox, but the button does not respond either.

The listbox and datagridview work fine.

The code:
Public Class Form1
Structure gebruiker
Dim gebruikersnaam As String
Dim wachtwoord As String
Dim voornaam As String
Dim familienaam As String
End Structure
Dim user As gebruiker
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'Accountdataset.Account' table. You can move, or remove it, as needed.
Me.AccountTableAdapter.Fill(Me.Accountdataset.Account)
'TODO: This line of code loads data into the 'Accountdataset.Account' table. You can move, or remove it, as needed.
Me.AccountTableAdapter.Fill(Me.Accountdataset.Account)
'TODO: This line of code loads data into the 'Accountdataset.Cursisten' table. You can move, or remove it, as needed.
Me.CursistenTableAdapter.Fill(Me.Accountdataset.Cursisten)
'TODO: This line of code loads data into the 'Accountdataset.Account' table. You can move, or remove it, as needed.
Me.AccountTableAdapter.Fill(Me.Accountdataset.Account)
'TODO: This line of code loads data into the 'Accountdataset.Groepen' table. You can move, or remove it, as needed.
Me.GroepenTableAdapter.Fill(Me.Accountdataset.Groepen)
End Sub
End Class
 
Back
Top