Options

AssignField Type Mismatch in VB2005

rnshhrnshh Member Posts: 22
Solved,
I found Alexey Pavlov's CFRONT proxy component for .NET usage v1.2 in the download section.

Question. Shows what I know. CFront.ocx is a COM? Will this be updated to what .NET Reference, or am I asking the right question?

Original qustion
I'm new to both CFront & VB2005.

I keep getting the following when executing
cf.AssignField(llngTableHandle, lhndRecord, 1, "1")

System.Runtime.InteropServices.COMException was unhandled by user code
ErrorCode=-2147352571
Message="Type mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))"
Source="Microsoft.VisualBasic"

In VB6, I was able to pull data from Navision pretty easily, but I'm forced to go to VB2005 right now.

What am I missing?

Thx
Tim
Tim Lecander
ArcherPoint
Sign In or Register to comment.