I have got a COM DLL (written in VB) to enable me to preview the Text
Control word processor components from within vfp.
The preview.dll is stored in c:\printpreview and I have registered it
successfully with regsvr32.exe c:\printpreview\preview.dll
My vfp project is stored in M:\SAMPLE with the forms in M:\SAMPLE\FORMS
In the form I have put the two lines in the click method of a commandbutton:
lopreview = createobject("preview.txtpreview")
lopreview.display(thisform.txtcontrol1)
and it fails with the error 'class definition not found'.
This is the first time I have tried to do anything with DLLs so I am
sure I have missed something fairly basic.
Can anybody help please?
Many thanks
Stephen