I want to change the layout of my keyboard in a visual basic application. I want to change from French(Canada) to English(Canada).

This is my code :

Private Sub Command2_Click()
LoadKeyboardLayout "0000409", KLF_SUBSTITUTE_OK
End Sub

But it don't work and I don't know why.. Does somebody could help me !?

Thanks you,

Jonathan Fleury