G
Guest
I've an error in code I got from a walkthrough that should work just fine. I
added a reference to DMO that shows up in the references properly. The Dim
line shows no errors but the initialized object shows an 'Declaration
Expected' error. What could be happening?
Dim oSQLServer As New SQLDMO.SQLServer
oSQLServer.Connect("(local)", "myServer", "myPassword")
added a reference to DMO that shows up in the references properly. The Dim
line shows no errors but the initialized object shows an 'Declaration
Expected' error. What could be happening?
Dim oSQLServer As New SQLDMO.SQLServer
oSQLServer.Connect("(local)", "myServer", "myPassword")