Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB 6.0 Reading/Writing Nulls

Status
Not open for further replies.

muxerr

Technical User
Apr 10, 2002
2
0
0
US
Using Visual Basic 6.0, I am attempting to read in a PCL file which contains X'00' values. After some string manipulation, and writing to a new file, the x'00' values are gone in the new file. Tried different scenarios with INPUT, OUTPUT, BINARY, PUT, GET, WRITE, PRINT etc ....
 
If you want to keep them then you will probably need to use a the InputB function into a Byt array.
"Note Use the InputB function for byte data contained within text files. With InputB, number specifies the number of bytes to return rather than the number of characters to return."

Generate Forms/Controls Resizing/Tabbing Class
Compare Code (Text)
Generate Sort Class in VB or VBScript
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top