Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: BinnaryWriter Class Pin
Mark Salsbery29-Aug-08 5:18
Mark Salsbery29-Aug-08 5:18 
JokeRe: BinnaryWriter Class Pin
lisan_al_ghaib29-Aug-08 5:22
lisan_al_ghaib29-Aug-08 5:22 
GeneralRe: BinnaryWriter Class Pin
Pete O'Hanlon28-Aug-08 8:13
mvePete O'Hanlon28-Aug-08 8:13 
GeneralRe: BinnaryWriter Class Pin
led mike28-Aug-08 8:16
led mike28-Aug-08 8:16 
GeneralRe: BinnaryWriter Class Pin
Pete O'Hanlon28-Aug-08 8:42
mvePete O'Hanlon28-Aug-08 8:42 
GeneralRe: BinnaryWriter Class Pin
led mike28-Aug-08 8:52
led mike28-Aug-08 8:52 
Questioncopy and paste Pin
netJP12L28-Aug-08 4:16
netJP12L28-Aug-08 4:16 
QuestionReading more than column in a text file Pin
ianhunt0128-Aug-08 3:57
ianhunt0128-Aug-08 3:57 
Hi,

I am used to VB6 reading a few header items below each other out of a text file followed by some columns of data such as:

fh1 = FreeFile
Open inPath For Input As #fh1        
    Input #fh1, projfile.name        
    Input #fh1, projfile.projdate
    Input #fh1, projfile.version
        
    For X = 1 To intNumVars
        Input #fh1, Bas(X).name, Bas(X).Min, Bas(X).Max, Bas(X).ave,
    Next X
Close(fh1)


I have been through a lot of material on StreamReader, BinaryReader etc and getting stuck. Any help (code examples) or pointers to articles, chapters would be much appreciated. The writing of the info to the file seems easy with :

StreamWriter outFS = new StreamWriter(new FileStream(outFile, FileMode.OpenOrCreate, FileAccess.Write));
     outFS.WriteLine(strModelDesc1);
     outFS.WriteLine(strModelDesc2);
     outFS.WriteLine("{0},{1},{2}"intLayers, intStats, decAve);
outFS.Close();


thanks

Ian
QuestionTemp Folder Pin
hadad28-Aug-08 3:04
hadad28-Aug-08 3:04 
AnswerRe: Temp Folder Pin
DaveyM6928-Aug-08 3:11
professionalDaveyM6928-Aug-08 3:11 
AnswerRe: Temp Folder Pin
#realJSOP28-Aug-08 3:18
mve#realJSOP28-Aug-08 3:18 
GeneralRe: Temp Folder Pin
User 665828-Aug-08 3:34
User 665828-Aug-08 3:34 
JokeRe: Temp Folder Pin
lisan_al_ghaib28-Aug-08 5:12
lisan_al_ghaib28-Aug-08 5:12 
GeneralRe: Temp Folder Pin
User 665828-Aug-08 5:25
User 665828-Aug-08 5:25 
QuestionMultimedia utility [modified] Pin
sanaritasages28-Aug-08 3:00
sanaritasages28-Aug-08 3:00 
QuestionURGENT: Unable to get the authentication token using console application in C# Pin
Princy Philip28-Aug-08 2:51
Princy Philip28-Aug-08 2:51 
AnswerRe: URGENT: Unable to get the authentication token using console application in C# Pin
#realJSOP28-Aug-08 3:20
mve#realJSOP28-Aug-08 3:20 
QuestionCraeting Software Setup for one time use (install) Pin
Ingenious HM28-Aug-08 1:45
Ingenious HM28-Aug-08 1:45 
Questionaccess denied when accessing IIS directory Pin
George_George28-Aug-08 1:37
George_George28-Aug-08 1:37 
AnswerRe: access denied when accessing IIS directory Pin
leppie28-Aug-08 2:22
leppie28-Aug-08 2:22 
GeneralRe: access denied when accessing IIS directory Pin
George_George28-Aug-08 2:37
George_George28-Aug-08 2:37 
GeneralRe: access denied when accessing IIS directory Pin
leppie28-Aug-08 2:44
leppie28-Aug-08 2:44 
GeneralRe: access denied when accessing IIS directory Pin
George_George28-Aug-08 3:56
George_George28-Aug-08 3:56 
GeneralRe: access denied when accessing IIS directory Pin
leppie28-Aug-08 4:27
leppie28-Aug-08 4:27 
GeneralRe: access denied when accessing IIS directory Pin
George_George1-Sep-08 3:47
George_George1-Sep-08 3:47 

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.