|
-
November 19th, 1999, 11:25 AM
#1
JPG to binary, Emergency!!
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
-
December 10th, 1999, 02:36 PM
#2
Re: JPG to binary, Emergency!!
Try a Get statement:
VarString = String(10," ")
Get #1,,VarString
[email protected]
http://vbcode.webhostme.com/
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
|