|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
read files in as literally biteshi, ive been trying to figure out how i can get any type of file read in as
literally bytes. i tried using the binary reader, but if there was text at all in the file, all i got was the text and the encoding for it. i want to read all files in as there bit values...how can i do this? -- -iwdu15 iwdu15 wrote:
> hi, ive been trying to figure out how i can get any type of file read in as Use the StreamReader class. Use the ReadBlock & Read methods.> literally bytes. i tried using the binary reader, but if there was text at > all in the file, all i got was the text and the encoding for it. i want to > read all files in as there bit values...how can i do this? You'll probably need the Convert class as well. Hope it helps. Chris "iwdu15" <jmmgoalsteratyahoodotcom> schrieb: Take a look at the 'FileStream' class.> hi, ive been trying to figure out how i can get any type of file read in > as > literally bytes. i tried using the binary reader, but if there was text at > all in the file, all i got was the text and the encoding for it. i want to > read all files in as there bit values... -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Newbie Question 2, Reference To Controls On A Form
problem with relative paths in VS/VB.net making image click fire codebehind function? Report writers for VB.NET current working directory problem Problem Communicating Between Forms Newbie Question Saving Projects late bound form reference Calling Program A from Program B help with multiple forms on asp.net 1.1 page, please |
|||||||||||||||||||||||