Solved

Serialize ActiveX control

Posted on 2000-03-13
4
325 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Expand macro to include alternate header placement and naming 5 66
xyBalance chalenge 58 88
Installing Microsoft R server on REDHAT or SUSE Linux 4 131
firstChar challenge 13 110
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

864 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now