Re: Novice: AdBanner Control with XML file?



Hello Peter,

XML is text-based format. So, to store binary datta u need to encode it, generaly, in Base64 encoding.
Use XmlTextWriter.WriteBase64() an XmlTextReader.ReadBase64() to set/get your encoded images


P> Hello,
P> P> Thanks for reviewing my question. Where do you typically store the
P> data for the AdBanner control? I wanted to use an XML file but could
P> not figure out how do you store the graphic image in an xml file.
P> P> Many Thanks
P> Peter
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche


.



Relevant Pages

  • Re: XML file to Database
    ... Is it that you want to store the XML into a single column in a table or do ... configuration information is lost. ... can I read the XML file into a database? ...
    (microsoft.public.sqlserver.programming)
  • Re: GET MENU ITEM VALUE
    ... menu item on the fly and store a reference key in a hashtable or something. ... > The problem is that I am using an XML file to store the menu Item names so ... It is much easier to add it to an XML ... > changed information in it. ...
    (microsoft.public.dotnet.languages.vb)
  • Anyone knows good XML writer Library
    ... in my application i want to write a XML file. ... This would typically need to store a tree like Data structure of all these ...
    (microsoft.public.vc.language)
  • Re: Image <> String Problem
    ... store the image as an XmlNode, the complete xml file looks like the ... image as a part of a larger xml file. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Wanted:MAIL.MAI structure definition
    ... exports using XML. ... SMTP mail and all the software out there which processes RFC-compliant headers ... I would maintain that to store mail messages you would need to use CLOB ... Every mail message arriving into an OpenVMS system gets its format converted. ...
    (comp.os.vms)