Hey, i got this window is in an mdi form and the form_load event is not fully executed, im on window 7 x64 VB 2008. Here is the code of the form load event
The sub Initialiser is just not read. It stop just before the Initialiser().
Thanks
Mathieu
Code:
Private Sub frmGestion_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
bd.connexion("TacoBD.mdb")
bd.ChargerDataset("tblModelAutoLuxe", "SELECT * FROM tblModelAutoLuxe")
For ctr As Integer = 0 To bd.dsTaco.Tables(0).Rows.Count - 1
lstVehiculesLuxe.Items.Add(bd.dsTaco.Tables(0).Rows(ctr).Item(0))
Next
bd.ChargerMarques("tblModelAuto")
bd.Deconnexion()
For ctr As Integer = 0 To bd.dsMarques.Tables(0).Rows.Count - 1
lstVehicules.Items.AddRange(bd.dsMarques.Tables(0).Rows(ctr).ItemArray)
Next
For ctr As Integer = 0 To lstVehicules.Items.Count - 1
If IsDBNull(lstVehicules.Items(ctr)) Then
lstVehicules.Items.Remove(lstVehicules.Items(ctr))
End If
Next
Initialiser()
End Sub
Thanks
Mathieu
Comment