I am able to complile this DLL but unable to register it using: regsvr32 "c:\...\2.5\bin\CRUFLTest.dll"
Receive the error: Entry point not found
Wrote the code in .Net and have Crystal 10 OEM for Timberline
References include
system
system.data
system.XML
I suspect I am missing references.
Thanks for your help!
Receive the error: Entry point not found
Wrote the code in .Net and have Crystal 10 OEM for Timberline
References include
system
system.data
system.XML
Code:
Public Class CRUFLTest
Const strConnection As String = "Server=Server;User ID=sa;Password=;database=DB; Connection Reset=FALSE; Connect Timeout=600;"
Dim cnn As OleDb.OleDbConnection = New OleDb.OleDbConnection
Dim cmd As OleDb.OleDbCommand = New OleDb.OleDbCommand
Public Function SqlDBConn(ByVal SqlText As String)
cnn.ConnectionString = strConnection
cnn.Open()
cmd.Connection = cnn
cmd.CommandText = SqlText
cmd.Execute()
cnn.Close()
End Function
End Class
I suspect I am missing references.
Thanks for your help!