I have an interface defined in an idl file and trying to convert a vb6 project to vb.net.
The conversion created the interop from the tlb of this idl and in vs2010 it complains about the property not being implemented (as shown below). Does anyone have any idea why? I even deleted the implementation and got vs2010 to regenerate the stub and still it errors.
example interface in the idl..
[ uuid(...),
version(2.0),
dual,
nonextensible,
oleautomation
]
interface IExampleInterface : IDispatch
{
...
[id(3), propget]
HRESULT CloseDate ([out, retval] DATE* RetVal);
[id(3), propput]
HRESULT CloseDate ([in] DATE* InVal);
}
VB.Net class...
<System.Runtime.InteropServices.ProgId("Project1_NET.ClassExample")>
Public Class ClassExample
Implements LibName.IExampleInterface
Public Property CloseDate As Date Implements LibName.IExampleInterface.CloseDate
Get
Return mDate
End Get
Set(value As Date)
mDate = value
End Set
End Property