Per ipotesi abbiamo un form con una casella combinata, definendo del form la routine evento Load: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.LoadDim obj As OleDb.OleDbConnectionDim rd As OleDb.OleDbDataReaderDim stringsql As StringDim comando As OleDb.OleDbCommandobj = New OleDb.OleDbConnection("Provider=Microsoft.JET.OLEDB.4.0;Data Source=c:\elencoparole.mdb")obj.Open()stringsql = "Select * from elencoparole"comando = New OleDb.OleDbCommand
Leggi tutto il post...