i have notice that using the joyGetPosEx() function, when the joystick isn't connected, that the memory, that the application uses, is increasing.
so is there another way just for see if 1 joystick is connected to pc?
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...