VB.Net Tips and Tricks
Tuesday, February 17, 2009
Getting String object as Stream IO.Stream object
let myString be the String object that is needed to be converted into
Dim msObj As MemoryStream = New MemoryStream(System.Text.Encoding.ASCII.GetBytes(myString))
MyObjThatNeedsStreamObj.Load(CType(msObj , Stream))
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)