troubleshooting Question

Why does Output's Print function when writing to file put "0D 0A" in the end of file?

Avatar of ITKnightMare
ITKnightMare asked on
Visual Basic Classic
2 Comments1 Solution266 ViewsLast Modified:
Open "MyFile.jpg" For Output As #1
   Print #1, strRawJpegFile
Close #1

Doing this people here told me was the fastest way of writing into file.  But I open the jpeg up in hex and function puts "0D 0A" the CRLF I am assuming at the very end of the file.  What would I need to use to write a file from a string fast, yet without having 2 new bytes in the end of it.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros