Re: How to turn a string into an ADO.Stream?



Maybe the "stream already open" error isn't referring to the ADODB.Stream,
CDO.Message.IDataSource must also expose (or implement under the covers) an
IStream too? Maybe it has already been opened somehow?

Just a thought, error messages aren't always the most forthcoming things in
the world; when they seem to be conflicting it isn't always obvious.

-Mark



"John Mark Howell" <jmarkhowell@xxxxxxxxxxx> wrote in message
news:u0M5O$swFHA.3080@xxxxxxxxxxxxxxxxxxxxxxx
>I wish I could. The string is a MIME encoded email. Just assigning it to
> the TextBody will not parse the email. I have to find some way to go
> through
> the CDO.Message.IDataSource
> Thanks for trying though.
>
> "Mark J. McGinty" <mmcginty@xxxxxxxxxxxxxxx> wrote in message
> news:eizaBqswFHA.2556@xxxxxxxxxxxxxxxxxxxxxxx
>> Can't you just assign msg.TextBody = so.ReadText()? (Returns a string
> type)
>> -Mark
>
>


.



Relevant Pages

  • Re: Is this good use of Properties?
    ... >>> is a property bag which is not a valid class. ... String has no application domain, ... >>No-one has suggested that all classes should expose everything about ... I still don't see your points Rick. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Is this good use of Properties?
    ... The idea that a class should be able to draw itself just in case ... >> is a property bag which is not a valid class. ... String has no application domain, ... >No-one has suggested that all classes should expose everything about ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Theming custom created WebParts in ASP.NET 2.0
    ... One thing though, say you expose ... webpart to the zone using a catalog, ... > However, IMO, I'd prefer expose a single string property on my custom web ... > simple type properteis, I think just exposing a ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Overloading in ooRexx
    ... working on getting my mind around the simplicity of Rick's suggested class, and trying to figure out "how it understands" to do so much with so little code. ... like the string method for example. ... expose value use arg value ...
    (comp.lang.rexx)
  • Re: OOP question - multiple value properties
    ... With 2.0, you could create a generic type, which you would use to expose ... >> string Description; ... >>> public class Person { ... >>> public DateTime Date ...
    (microsoft.public.dotnet.languages.csharp)