|
-
Dec 31st, 2012, 10:26 PM
#8
Thread Starter
Junior Member
Re: Converting image to base64 String? Help with code!
 Originally Posted by jmcilhinney
The way to write text to a Stream is with a StreamWriter, e.g.
Code:
Using writer As New StreamWriter(myStream)
writer.Write(myString)
End Using
Try that first and, if it doesn't work, you may find that you have to use the StreamWriter constructor that takes an Encoding object as a parameter and specify Encoding.ASCII or Encoding.Unicode.
I see this helps with writing to a file... How do I use that for writing to a URL?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|