15 มิ.ย. 2560 - Add the "New" key word to your command declaration. Dim cmd As New MySqlCommand. "With" just set the properties, it does not initialize the object..