visual fzz
November 19th, 1999, 10:25 AM
Hi Everybody
I want to read a JPG file in my app in order to convert the Binary string of the file in hexadecimal string.
But I can't get the binary string:
I wrote this code part to show the binary string in a text box but an error occurs (N°62,in french :"L'entrée depasse la fin du fichier")
:
Myfile = FreeFile
Open "c:\photos\test.jpg" for binary as #myfile
input #myfile, Mystring
TextBox1.Text = Mystring
I don't understand why it doesn't work!!
Fzz
I want to read a JPG file in my app in order to convert the Binary string of the file in hexadecimal string.
But I can't get the binary string:
I wrote this code part to show the binary string in a text box but an error occurs (N°62,in french :"L'entrée depasse la fin du fichier")
:
Myfile = FreeFile
Open "c:\photos\test.jpg" for binary as #myfile
input #myfile, Mystring
TextBox1.Text = Mystring
I don't understand why it doesn't work!!
Fzz