I have installed and configured MTD.dll using setupmaker after installing the miraplacid text driver. But when I use below code in VB6 it throws error "User-defined type not defined".
Dim obj As Miraplacid.TextDriver
Set obj = CreateObject("Miraplacid.TextDriver")
By reading the miraplacid documentation, it seems installation and configuration of text driver should be enough to use above code directly. But it did not work.
Additionally, I have tried adding project reference to mtd.dll explicitly but again the same error.
Can anybody suggest if I am missing anything or any specific reference (dll or other activex component) is required to execute above code in VB6.
|