Neoteny Posted July 3, 2007 Report Share Posted July 3, 2007 I want to save changed chart properties to a text stream (in xml format) and then put it in a database. According to the help I should use a System.IO.Stream as argument, but that's a .NET object. So far I was only able to save the props to a file, but that is (for several reasons) not what I want. Is there a way to get the props in xml format in memory, without writing them out to a file first? Quote Link to comment Share on other sites More sharing options...
JuanC Posted July 17, 2007 Report Share Posted July 17, 2007 The Export method receives a VARIANT as the second parameter, if you pass a variant with type VT_STREAM and containing a COM IStream implementation we will write into it. In C++ building this VARIANT should be easy, it might not be as easy in other languages (e.g. VB) JuanC Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.