Solved

Serialize ActiveX control

Posted on 2000-03-13
4
333 Views
Last Modified: 2013-11-20
Hi,
I have SDI MFC-based application. On my form I have third-party ActiveX control. How can I save it together or separately with my document?
What I want is to save the state of the control. I can go through all properties, but may be there is an easier way how e.g. control container saves it.

Regards,
Igor
0
Comment
Question by:proskig
  • 2
4 Comments
 
LVL 8

Expert Comment

by:gelbert
ID: 2612956
Query control for IPersistFile. The IPersistFile interface provides methods that permit an object to be loaded from or saved to a disk file. Control should support this interface
0
 
LVL 11

Accepted Solution

by:
mikeblas earned 100 total points
ID: 2613987
For a complete sample, see the OCBENCH program in my book. Or look at the source for Test Container--it ships with Visual C++.

..B ekiM
0
 
LVL 5

Author Comment

by:proskig
ID: 2614971
Adjusted points from 50 to 100
0
 
LVL 5

Author Comment

by:proskig
ID: 2614972
Thanks a lot.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question