Solved

Serialize ActiveX control

Posted on 2000-03-13
4
352 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

632 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