Use serialize function in document class to implement file, Visual Basic Programming

USE OF SERIALIZE FUNCTION IN DOCUMENT CLASS TO IMPLEMENT FILE

void CStoreDoc::Serialize(CArchive& ar)

{

if (ar.IsStoring())

{

// TODO: add storing code here

}

else

{

// TODO: add loading code here

}

}

The Serialize functions is used for writing to a file or in the else part it retrieves the contents of a file.

Posted Date: 10/10/2012 1:47:02 AM | Location : United States







Related Discussions:- Use serialize function in document class to implement file, Assignment Help, Ask Question on Use serialize function in document class to implement file, Get Answer, Expert's Help, Use serialize function in document class to implement file Discussions

Write discussion on Use serialize function in document class to implement file
Your posts are moderated
Related Questions
In this assignment, you will create an application that calculates and displays a customer's monthly cable bill. Your interface should look like this: Requirements:

The scope of a variable is finding out by where you declare it. While you declare a variable in a procedure, only code in that procedure can access or alter the value of that varia



A program is needed to assist computing automobile repair bills. The cost of labor is $35 per hour. The costs for parts are subject to a 5% sales tax, which should be added t

Displaying the file Without Scrolling: To display a file follow the steps as shown below: 1. Generate a SDI application. 2. Type the coding as shown in the Serialize els

CONTEXT-SENSITIVE HELP   The Context-sensitive help gives online help for the circumstances which is associated with that state. The Context-sensitive help can be implemented

Each piece of data is passed in your process using an argument. Arguments serve like placeholders for the data you wish to pass into your process. You can name your arguments along

Task 1 - Design the DATEX operator's user interfaces for: 1. Preparing messages. 2. Sending messages. 3. Viewing received messages. 4. Optionally view the details of the codin

DIALOG BOXES IN VB The two dialog boxes, namely, the message box and the input box are usually used in the Visual Basic. The message box is used for displaying the messages to