Click here to Skip to main content
15,903,385 members
Home / Discussions / C#
   

C#

 
GeneralRe: Browsing a .dll file. Pin
Christian Graus6-Jun-07 13:43
protectorChristian Graus6-Jun-07 13:43 
GeneralRe: Browsing a .dll file. Pin
Ylno7-Jun-07 12:00
Ylno7-Jun-07 12:00 
QuestionHow to Open file which length is 2^32 bytes Pin
Hesham Yassin6-Jun-07 11:10
Hesham Yassin6-Jun-07 11:10 
AnswerRe: How to Open file which length is 2^32 bytes Pin
Guffa6-Jun-07 11:39
Guffa6-Jun-07 11:39 
AnswerRe: How to Open file which length is 2^32 bytes Pin
Dave Kreskowiak6-Jun-07 11:47
mveDave Kreskowiak6-Jun-07 11:47 
AnswerRe: How to Open file which length is 2^32 bytes Pin
Judah Gabriel Himango6-Jun-07 12:47
sponsorJudah Gabriel Himango6-Jun-07 12:47 
QuestionRe: How to Open file which length is 2^32 bytes Pin
Hesham Yassin7-Jun-07 0:39
Hesham Yassin7-Jun-07 0:39 
QuestionIs it true there is no text parsing in C#? Pin
jblouir6-Jun-07 11:00
jblouir6-Jun-07 11:00 
I just read an article on parsing in c# and they said that unlike older languages, parsing in c# in simple terms, for a beginner, can be a nightmare.

All I want to do is store room descriptors in a text file with a dillimeter and a value.

- The first value is used to find the correct line to print. e.g 01
- The second part being the name of the room, or unless its the rooms look value, e.g 011
- The third part being the description of your initial impression before looking closer.

Data in the text file...

01,WestHall,The room is filled with old pottery and cobwebs.:
011,Searching the room you notice a hole where a key might fit.:

02,EastHall,Several torches line the walls, and a chest rests upon a stone slab in the back.:
021,Searching the room you notice the flames on the torches are not moving, almost as if...:


Is it possible to pull this data out in chunks using StreamReader?

Unless... I just thought of something as I write this very moment.

Can I say...

ReadToEnd, this entire text file and say drop it in to a string variable.

Then from their use some sort of character searching in the string?

Thanks for your help ahead of time. Smile | :)
AnswerRe: Is it true there is no text parsing in C#? Pin
Christian Graus6-Jun-07 11:39
protectorChristian Graus6-Jun-07 11:39 
GeneralRe: Is it true there is no text parsing in C#? Pin
Dave Kreskowiak6-Jun-07 11:46
mveDave Kreskowiak6-Jun-07 11:46 
GeneralRe: Is it true there is no text parsing in C#? Pin
Christian Graus6-Jun-07 12:15
protectorChristian Graus6-Jun-07 12:15 
AnswerRe: Is it true there is no text parsing in C#? Pin
Dave Kreskowiak6-Jun-07 11:44
mveDave Kreskowiak6-Jun-07 11:44 
AnswerRe: Is it true there is no text parsing in C#? Pin
PIEBALDconsult6-Jun-07 13:07
mvePIEBALDconsult6-Jun-07 13:07 
GeneralRe: Is it true there is no text parsing in C#? Pin
jblouir6-Jun-07 14:47
jblouir6-Jun-07 14:47 
GeneralRe: Is it true there is no text parsing in C#? Pin
Ravi Bhavnani6-Jun-07 17:54
professionalRavi Bhavnani6-Jun-07 17:54 
AnswerUpdate, so far so good, just 1 error when running. Pin
jblouir6-Jun-07 14:34
jblouir6-Jun-07 14:34 
GeneralRe: Update, so far so good, just 1 error when running. Pin
Christian Graus6-Jun-07 15:12
protectorChristian Graus6-Jun-07 15:12 
GeneralRe: Update, so far so good, just 1 error when running. Pin
jblouir6-Jun-07 21:38
jblouir6-Jun-07 21:38 
QuestionHow to custom TrackBar in WinForm c# ? Pin
Epsilone36-Jun-07 10:23
Epsilone36-Jun-07 10:23 
AnswerRe: How to custom TrackBar in WinForm c# ? Pin
Christian Graus6-Jun-07 10:41
protectorChristian Graus6-Jun-07 10:41 
Questionjava - c# interop Pin
Askalo6-Jun-07 10:21
Askalo6-Jun-07 10:21 
AnswerRe: java - c# interop Pin
Dave Kreskowiak6-Jun-07 10:55
mveDave Kreskowiak6-Jun-07 10:55 
AnswerRe: java - c# interop Pin
Tarakeshwar Reddy6-Jun-07 10:59
professionalTarakeshwar Reddy6-Jun-07 10:59 
QuestionUse a USB gate Pin
mcaos6-Jun-07 9:54
professionalmcaos6-Jun-07 9:54 
AnswerRe: Use a USB gate Pin
Dave Kreskowiak6-Jun-07 10:40
mveDave Kreskowiak6-Jun-07 10:40 

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.