I am trying to run some VB5 code registering a DSN, I am getting 'ActiveX component can't create object/return reference' error.
This is the code:
strAttribs = "Description= SQL Server Test" _
& Chr$(13) & "OemToAnsi=No" _
& Chr$(13) & "SERVER=147.149.160.24" _
& Chr$(13) & "Database=REPWEB"
rdoEngine.rdoRegisterDataSource "TIMnew", "SQL Server", True, strAttribs
Any help appreciated
This is the code:
strAttribs = "Description= SQL Server Test" _
& Chr$(13) & "OemToAnsi=No" _
& Chr$(13) & "SERVER=147.149.160.24" _
& Chr$(13) & "Database=REPWEB"
rdoEngine.rdoRegisterDataSource "TIMnew", "SQL Server", True, strAttribs
Any help appreciated