>Hi Cetin,
>
>We got your program to run. Big excitement! It is a very empowering feeling to be able to do anything in C++! In the mean time, the provider of the ActiveX control showed us a way to get the value we need via a property that I didn't know existed... Nonetheless, I still want to finish this project with your help, if you don't mind.
>
>The call to the ActiveX has this form:
>In C++:
>BOOL CSpreadSheet::GetText (long Col, long Row, VARIANT* Var);
>In vb:
>fpSpread.GetText(ByVal Col As Long, ByVal Row As Long, Var As Variant) As Boolean
>
>CSpreadSheet and fpSpread refer to the activeX object.
>
>1) Can we define a generalized routine that will serve as a bridge to all methods of the ActiveX, or will we have to create an interface routine for each object method we want to access? If so, what would it look like?
>
>2) What would code meant to be a go-between specific to this ActiveX method look like?
>
>You have already taught me a lot. Thanks again.
>
>Alex
Alex,
A generic method might be (IDispatch) but honestly I don't know how to write.
Tell provider if possible to build with ATL.
Cetin