Dany_mx
asked on
VB conduit Help!!!
My questio is simple, in my conduit when i try to open a database vb show a the follow error.
-2147024770 : Error de Automatización
Heres is the vb code
On Error GoTo Err
Dim FileNum As Integer
Dim FirstTime As Boolean
Dim pDbQuery As New PDDatabaseQuery
Dim pDataSampleDB As PDRecordAdapter
' Declare the record header and data
Dim nIndex As Long
Dim vUniqueId As Variant
Dim nCategory As Long
Dim eAttributes As ERecordAttributes
Dim vData As Variant
Dim CurrRec As tAFSampleTableRecord
Dim RecOffset As Long
FileNum = FreeFile
Open App.Path & "\AFDataSample.txt" For Output As #FileNum
'The follow line make the error
Set pDataSampleDB = pDbQuery.OpenRecordDatabas
any idea?
Dim pDataSampleDB As New PDRecordAdapter
ASKER
I found the problem, i just change the type of proyect form activex dll to activex exe
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.