VintaSoft Barcode .NET SDK Discussions

Questions, comments and suggestions concerning VintaSoft Barcode .NET SDK.

Board index < VintaSoft Barcode < VintaSoft Barcode .NET SDK Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

Barcode Writer SDK Base64 String Exception



Barcode Writer SDK Base64 String Exception

Post by sss123mike »

Hello.

I have just purchased and downloaded the Barcode Writer SDK.

I have installed, referenced and registered DLL.

I am trying to create a barcode using the exact code from the online documentation:
' create the barcode writer
Dim barcodeWriter As New BarcodeWriter()

' set barcode writer settings
barcodeWriter.Settings.Barcode = BarcodeType.Code128
barcodeWriter.Settings.Value = "012345abcde"

' get a barcode image
Dim image As Image = barcodeWriter.GetBarcodeAsBitmap()

' save the barcode image to a file
image.Save("imageWihBarcode.png")
When I run the above code I get the exception:
"The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters."

Can anyone help with this?

Thanks in advance.
Mike


Re: Barcode Writer SDK Base64 String Exception

Post by Alex »

Hello Mike,

You have the licensing problem because you are using wrong reg.code - I think your email client broke your reg.code. Please contact out support at support@vintasoft.com and they will send you reg.data in text file.

Best regards, Alexander


Re: Barcode Writer SDK Base64 String Exception

Post by sss123mike »

Hi Alex.

Thank you for your quick response.

You were correct, the reg code was wrong. I opened the email in another client and copied it from there.

All sorted now.

Thanks again.

Mike


Page 1 from 1: 1