Hello All,
I have a old VB6 application that connects to a local MSSQL Server.
I wanted to try to change to B4J, but i don't find any reliable way to work with MSSQL and B4J.
To my knowledge the jSQL work only with MySQL, correct ?
Is there any way to work with MSSQL (without those HTTP Calls and similar stuff )
Sub OpenSQL
Try
MSSQL.Initialize("com.microsoft.sqlserver.jdbc.SQLServerDriver","jdbc:sqlserver://TOSHIBA-PMSMC\SQLEXPRESS;integratedSecurity=true;user=pmsmc;databaseName=PRITMS;")
Catch
Log("Error connecting to SQL")
End Try
End Sub
for the integrated security feature you need to add some other stuff as the page of microsoft says, it may be better (for the pourpuse of the testing) to keep it easier with integratedsecurity = false and using a user and a password.
Please post your uncatched error to see what may be the problem.