Here is a snippet that I use.
Public cnnADO As ADODB.Connection
Public Sub bOpenADOConnection(bADOcnnOpened As Boolean, sPassword as string, sUserID as string, sDSN as string)
On Error GoTo err_Proc
Dim sCnnADO As String
'establish connection to oracle
sCnnADO =...
Here is a snippet that I use to pass parameter values. Hope it helps.
dim appCr As CRAXDRT.Application
dim repForm As CRAXDRT.Report
Dim crxParamDefs As CRAXDRT.ParameterFieldDefinitions
Dim crxParam As CRAXDRT.ParameterFieldDefinition
dim Parameter1Value, Parameter2Value 'dim to match the...
Have you checked the version of atl.dll on the problem machine? I've seen a similar error when a machine had a more recent version of atl.dll than on my development machine (the newer version would not normally be replaced during installation). Replacing the newer (but buggy) version on the...
Distributing VB/CR apps has always been a nightmare for me. One thing that has helped me is to ensure the dll's are registered in the same location as from where you are deploying them (source and target machines). Another problem with craxdrt.dll has been with the atl.dll file. I think you...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.