How to embed Acrobat Reader in a MFC program
-
Hi everyone, Now I'm writing an application in which I need to embed the Acrobat Reader component inside in order to display some PDF files. I'm novice in this section. I don't know how to do this :confused: . Any solution is really highly appreciated. Best regard.
-
Hi everyone, Now I'm writing an application in which I need to embed the Acrobat Reader component inside in order to display some PDF files. I'm novice in this section. I don't know how to do this :confused: . Any solution is really highly appreciated. Best regard.
I believe when you install Acrobat Reader an ActiveX component is also installed. Perhaps you could use that ? Elaine :rose: The tigress is here :-D
-
I believe when you install Acrobat Reader an ActiveX component is also installed. Perhaps you could use that ? Elaine :rose: The tigress is here :-D
-
The problem is that I don't know exactly how to embed a component into and MFC application :confused: . Could you give me some example? Best regard. Nothing is impossible!!! But human's ability can never pass 50% of themselves.
Create a dialog based MFC application and on the dialog right click and choose 'Insert ActiveX object'. That brigns up a list of the objects registered on your PC. When do do this you will be prompted to allow Visual C++ to create a class for the object (say yes). Then go to the class wizzard, go to member variables and create a member variable for the ActiveX object on the dialogue. Elaine :rose: The tigress is here :-D
-
Create a dialog based MFC application and on the dialog right click and choose 'Insert ActiveX object'. That brigns up a list of the objects registered on your PC. When do do this you will be prompted to allow Visual C++ to create a class for the object (say yes). Then go to the class wizzard, go to member variables and create a member variable for the ActiveX object on the dialogue. Elaine :rose: The tigress is here :-D
Firstly, Thanks a lot. But another question :-> : in order to control that component (open a PDF file, close, ... dynamically ) what should I do???
-
Firstly, Thanks a lot. But another question :-> : in order to control that component (open a PDF file, close, ... dynamically ) what should I do???
Sorry, I haven't used PDFs myself just ActiveX components in general. Elaine :rose: The tigress is here :-D