How to convert Image from a Picturebox(Image in VB6) to String(Base64)?
<p>Good Morning.</p>

<p>I have a program in vb6 that has a control named Image3, now to have this control an image, I have to browse a picture for it preferably <code>.jpg</code> file because i will save it in my SQL now I dont need to do that because in the near future the system will go slow because a lot of image will be surely saved. The best way to do (for me) is to convert it to string and vice versa. Honestly I dont want to ask this question because it is searchable and the codes I see that will fit to it is <code>IO.MemoryStream</code> my problem is I cant see it in the references. Now I try to download a new one but the VB6 doesnt accept it.</p>

<p>Can someone light me up with this one? Other way to convert image to string.</p>

<p>The reason why im doing this is i will use the image that converted to string in my select command because the memorystream are the uniqueness of the image.</p>

<p>In general I dont want to upload the same image ever again.</p>

<p>TYSM</p>