PDA

View Full Version : Newbie needs help


profetic
November 14th, 2006, 01:09 PM
Hello, i'm just interested to test the active X sdk. But I have never need before Active X.

I have read the Programmer guide:

In the following example, suppose we have already created an ActiveX
control called FoxitReaderSDK.
TUTORIAL 1: Open a PDF File
We will open a PDF document named “testdoc.pdf” and go to the first
page of the document.
// NOTE: If you are evaluating ActiveX, you don’t need unlock the ActiveX,
// then evaluation marks will be shown on all PDF pages.
// Otherwise, for paid customers, please unlock the ActiveX first
FoxitReaderSDK.UnLockActiveX(“license_id”,”unlock_ code”);
FoxitReaderSDK.OpenFile(“testdoc.pdf”,0);


But how can i create an activeX control called FoxitReaderSDK?

Can anyone give me a sample for this?

william
November 21st, 2006, 11:21 PM
Hi Profetic,

The easy way is to register the ActiveX component in your windows system, as shown below, and then you can drag and drop the component and name it as FoxitReaderSDK.

regsvr32 foxitreader_ax.ocx