Step 1: Download image viewer cp gold ActiveX setup disk and installed it.
Step 2: Create New Visual Basic Project, select Windows Application.
Step 3: Add a buttons into the form.
Step 4: Add following code in buttons click event.
This sample code extract text from PDF file (all Page).
bResult = AxImageViewer1.PDFExtractText("c:\source.pdf","c:\pdftext.txt",1,-1,
true, true)