Click here to Skip to main content
15,898,036 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Button handler Pin
Luc Pattyn31-Oct-07 12:28
sitebuilderLuc Pattyn31-Oct-07 12:28 
GeneralRe: Button handler Pin
fxcapt31-Oct-07 13:18
fxcapt31-Oct-07 13:18 
GeneralRe: Button handler Pin
Luc Pattyn31-Oct-07 14:11
sitebuilderLuc Pattyn31-Oct-07 14:11 
GeneralRe: Button handler Pin
fxcapt31-Oct-07 16:17
fxcapt31-Oct-07 16:17 
QuestionRead/Write PCL Pin
Fingerstyler31-Oct-07 11:52
Fingerstyler31-Oct-07 11:52 
AnswerRe: Read/Write PCL Pin
Dave Kreskowiak1-Nov-07 14:24
mveDave Kreskowiak1-Nov-07 14:24 
GeneralRe: Read/Write PCL Pin
Fingerstyler1-Nov-07 16:13
Fingerstyler1-Nov-07 16:13 
GeneralRe: Read/Write PCL Pin
Dave Kreskowiak1-Nov-07 17:48
mveDave Kreskowiak1-Nov-07 17:48 
PCL is a binary format, not a mix of binary and text. It just APPEARS as text in places.

You have to use the BinaryReader/BinaryWriter classes to read/write these files. Open a FileStream on the file itself, then use a BinaryReader to read the data from that stream, byte-by-byte. There is no CrLf that is a line terminator. None of the encodings will work on this file, that I know of anyway.



A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Read/Write PCL Pin
Fingerstyler5-Nov-07 9:00
Fingerstyler5-Nov-07 9:00 
QuestionSQL Assistance with ISNULL Pin
digicd131-Oct-07 9:27
digicd131-Oct-07 9:27 
AnswerRe: SQL Assistance with ISNULL Pin
pmarfleet31-Oct-07 10:07
pmarfleet31-Oct-07 10:07 
GeneralRe: SQL Assistance with ISNULL Pin
digicd131-Oct-07 10:38
digicd131-Oct-07 10:38 
GeneralRe: SQL Assistance with ISNULL Pin
pmarfleet31-Oct-07 10:50
pmarfleet31-Oct-07 10:50 
QuestionList Boxes Pin
dexter970331-Oct-07 8:59
dexter970331-Oct-07 8:59 
AnswerRe: List Boxes Pin
Dave Kreskowiak31-Oct-07 9:48
mveDave Kreskowiak31-Oct-07 9:48 
GeneralRe: List Boxes Pin
dexter970331-Oct-07 10:37
dexter970331-Oct-07 10:37 
GeneralRe: List Boxes Pin
dexter970331-Oct-07 11:08
dexter970331-Oct-07 11:08 
QuestionAnyone know what creates this ugly thing? Pin
cstrader23231-Oct-07 8:39
cstrader23231-Oct-07 8:39 
AnswerRe: Anyone know what creates this ugly thing? Pin
Dave Kreskowiak31-Oct-07 9:45
mveDave Kreskowiak31-Oct-07 9:45 
AnswerRe: Anyone know what creates this ugly thing? Pin
Luc Pattyn31-Oct-07 10:05
sitebuilderLuc Pattyn31-Oct-07 10:05 
AnswerRe: Anyone know what creates this ugly thing? Pin
Paul Conrad31-Oct-07 14:06
professionalPaul Conrad31-Oct-07 14:06 
QuestionVB6 YO VB.NET Pin
s3rro31-Oct-07 7:37
s3rro31-Oct-07 7:37 
AnswerRe: VB6 YO VB.NET Pin
AliAmjad31-Oct-07 8:03
AliAmjad31-Oct-07 8:03 
GeneralRe: VB6 YO VB.NET Pin
s3rro31-Oct-07 10:23
s3rro31-Oct-07 10:23 
GeneralRe: VB6 YO VB.NET [modified] Pin
John_Adams1-Nov-07 1:03
John_Adams1-Nov-07 1:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.