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
This is a series of VBScript statements enclosed through the Function & End Function statements. A Function procedure is same to a Sub procedure, however can also return a value. T

Accelerators: The Accelerators are short cut keys. The Accelerators are formed by placing an ampersand before any of the characters of the Caption. As a product the letter fol

Variant Type: If no data type is related with the VB variables, it takes the default variant type. The variable x will be of the variant type when the two declarations below a

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

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

VISUAL INTERFACE DESIGN Instead of the graphic nature of the program, only the visualness of the inter action is important. The program must not focus on the GUI. On the other


Returns or sets a numeric value indicating an error. Number is the Err object's default property. While returning user-defined error from an Automation object, set Err.Number throu

I have an excel list with a lot's of serial numbers that have been entered by hand from PDFs online (1-5 serial numbers per PDF). Many of the values are duplicates, wrong, or conta

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