' SQL adapter into a DataSet ' expC1 SQL command ' expC2 Path of the table Private Function VFPSQLAdapterDataSet(ByVal tcSQL As String, ByVal tcTable As String) As DataSet Dim loData As DataSet loData = New DataSet Dim loDT As New OleDbDataAdapter(tcSQL, _ "Provider=VFPOLEDB.1;Data Source=" + tcTable + ";Password='';Collating Sequence=MACHINE") loDT.Fill(loData, "Temp") Return loData End FunctionThis used to work ok. A few months ago, I upgraded to Windows XP and had to install everything. Now, the Dim loDT line gives an error by saying that OleDbDataAdapter is not defined. What should I do?