>I want to print the contents of an ActiveX control. I have been advised to use VSVIEW from VideoSoft.
>
>In their VB example, they use the .hWnd property of the ActiveX control. I asked them how to do this in VFP, but they don’t support VFP
.
>
If the property is there in VB as a public member, you can reference it in VFP as well; if the ActiveX control's property is called hWnd, try:
OleObjectName.hWnd
or
OleObjectName.Object.hWnd
to retrieve the value. If the Control supports printing in VB, it should be able to use the same interface as VB; if it requires a Device Context for the printer, you'll need to use the Win32 API function CreateDC() to create an hDC for your use.