|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
A Way for saving control with all of it's components and properties to a file or stream.Hello.
Is there any way to save a control + all of it's components to a file (or give it some representation as a long string). Thanks :) Mr. X. wrote:
> Hello. A control is an object with properties. You save the properties of the > Is there any way to save a control + all of it's components to a file > (or give it some representation as a long string). > > Thanks :) object to a XML file manually. You instantiate the control/object (new), and you populate the control/object from the XML file that represents the controls properties. XML is string.
http://msdn.microsoft.com/en-us/library/aa289499(VS.71).aspx
Show quoteHide quote "Mr. X." <nospam@nospam_please.com> wrote in message news:e6zSMsUDLHA.3776@TK2MSFTNGP04.phx.gbl... > Hello. > Is there any way to save a control + all of it's components to a file (or > give it some representation as a long string). > > Thanks :) > On Jun 16, 2:56 pm, "Mr. X." <nospam@nospam_please.com> wrote: Maybe you're looking at object serialization to save a serializable> Hello. > Is there any way to save a control + all of it's components to a file (or > give it some representation as a long string). > > Thanks :) object on the disk. This search may lead you to start: http://www.google.com/search?hl=en&client=firefox-a&hs=5Ad&rls=org.mozilla%3Atr%3Aofficial&q=vb.net+object+serialization&aq=f&aqi=g-c1&aql=&oq=&gs_rfai= HTH, Onur Güzel |
|||||||||||||||||||||||