friends,

in vb 6.0 / ms access 97, i have use ADO control in one of the forms and i have assigned connection string of the ADO control & recordset of the ADO control & datasource of a datagrid(which has got bound to that datacontrol) during runtime.

i have tried:
datCtrlHelp.ConnectionString = "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=" & App.Path & "\Cvbase~1.mdb"

datCtrlHelp.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=" & App.Path & "\Cvbase~1.mdb"

can anybody help?

friendly,
jeyasree.