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
Check Box: The check box control takes the value as on or off or grayed. The grayed one is neither on nor off. The user can transform the setting of the grayed check box.

Properties: Every control has a default property related with it. The default property does not require to be named when you are functioning. The control Check box as value

DATA TYPES   The different primitive data types are Boolean, Char, Byte, Date, Decimal, Uinteger, Double, Integer, Long, Sbyte, Short, Single, String, Ulong & Ushort. To decla

Graphics Device Interface - GDI:   The GDI is a windows API. The GDI uses a set of generic graphics objects to draw to the screen, to the memory and printers. Therefore the p


Associating Images to Toolbars: 1. Add an Image list to your form from the tool box. 2. Pick the custom property of the image list. 3. Click the images tab. 4. Select

Returns or sets the name of the object or application which generated the error originally. The Source property indicates a string expression which is usually the class name or pro

Retrieval Methods: There are 3 ways to find a document. The primary method is a positional retrieval. This is achieved by keeping in mind where you left it. The next method is

IMAGELIST The CImageList object is a collection of the same sized images, all of which can be referred to by its index. The ImageList are used to proficiently manage the large

Indexing: In libraries, the card catalog is the index. The three indices are used in the library. The Author, Subject and title are the 3 indices. Each index is relative. The