Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: Convert String Base64

$
0
0

I need to do a routine to decode on my system I can not depend on a Web site.

VB.NET --->  TextBox2.Text = Convert.ToBase64String(New System.Text.ASCIIEncoding().GetBytes(TextBox1.Text)) ´Encode text to base 64

VisualCobol --->  set reg-sai to type Convert::ToBase64String(New System.Text.ASCIIEncoding()::GetBytes(w-campo4)). *> Encode text to base 64

VB.NET ---> TextBox2.Text = New System.Text ASCIIEncoding().GetString(Convert.FromBase64String(TextBox1.Text)) ´Decode base 64 to text

VisualCobol ---> ???


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>