Thank you for your interest.
If anytime you would give a try with MSSQL you could install MSDE Version or MSSQL Express Edition 2005 and later . Both are free avalaible for download by Microsoft.
To give you a clue i paste a part of my code:
With this code i connect to the database using global string variables that i have already set from an initialization file.
mssql.New1
mssql.Open("Persist Security Info=false;Integrated Security=false;Server=" & server & ", " & port &"; initial catalog=" & database & "; user id="& login & "; password=" & pass)
With this code i connect to the database using global string variables that i have already set from an initialization file.
After Open() returns me True i do the following, like in publisher's example:
If connected = True Then
mssql.ExecuteQuery("Select nickname From Employees Where status = 1")
Do While mssql.Data
mssql.Read("nickname")
Loop
End if
Then if i want to execute another query like an other Select i have to execute:
mssql.Close
mssql.Open(..like first part..)
mssql.ExecuteQuery("Select.....")
Maybe i am wrong but i can't find any other solution to work. As you can understand, i can't always connect/disconnect when i want to do a simple Select.
Finaly, i can't execute a Commit too:
Dim execres as Boolean
execres = mssql.ExecuteNonQuery("Update Employees Set status = 0")
If execres = True Then
execres = mssql.Commit
if execres = False Then
Msgbox("Commit Failed.")
End If
End If
I also can't work with ReadRow, FieldInfo, GetResultSet, BeginTransaction and TransactionDispose.
That's all...