Click here to Skip to main content
15,919,121 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to pervent to see my code in a dll file? Pin
mehran.asg24-Nov-07 1:13
mehran.asg24-Nov-07 1:13 
GeneralRe: how to pervent to see my code in a dll file? Pin
Paul Conrad24-Nov-07 4:47
professionalPaul Conrad24-Nov-07 4:47 
Questionhow to declare a method for a property Pin
mehran.asg24-Nov-07 0:30
mehran.asg24-Nov-07 0:30 
AnswerRe: how to declare a method for a property Pin
Andrei Ungureanu24-Nov-07 0:44
Andrei Ungureanu24-Nov-07 0:44 
GeneralRe: how to declare a method for a property Pin
mehran.asg24-Nov-07 0:52
mehran.asg24-Nov-07 0:52 
AnswerRe: how to declare a method for a property Pin
MohammadAmiry24-Nov-07 0:56
MohammadAmiry24-Nov-07 0:56 
QuestionReading ASCII file from the end?! Pin
MohammadAmiry24-Nov-07 0:26
MohammadAmiry24-Nov-07 0:26 
AnswerRe: Reading ASCII file from the end?! Pin
Anthony Mushrow24-Nov-07 2:00
professionalAnthony Mushrow24-Nov-07 2:00 
You could set the position in the stream, but im not sure how accurate that would be.

The position is the current index in the huge array of bytes that is your text file, so if you knew the length of the text file...
For example, you have a text file with 5000 characters in it, you set the position too 4500, and then read the last 500 characters. That way you don't need to waste time reading the first 4500 characters.

The only problem is, how do you know where to start reading from? I'll leave that to you Wink | ;)

to set the position, i think its just:

myStream.Position = somewhere;

I think it's .Position anyway, it might be .Location, i'm sure you'll find it.

My current favourite word is: PIE!

Good ol' pie, it's been a while.

GeneralRe: Reading ASCII file from the end?! Pin
PIEBALDconsult24-Nov-07 3:24
mvePIEBALDconsult24-Nov-07 3:24 
GeneralRe: Reading ASCII file from the end?! Pin
MohammadAmiry24-Nov-07 23:07
MohammadAmiry24-Nov-07 23:07 
Question.NET PDF Library Pin
zafersavas23-Nov-07 23:13
zafersavas23-Nov-07 23:13 
AnswerRe: .NET PDF Library Pin
Paul Conrad25-Nov-07 9:18
professionalPaul Conrad25-Nov-07 9:18 
Questionautocompletecustomsource problem Pin
haseeb_saeed23-Nov-07 21:43
haseeb_saeed23-Nov-07 21:43 
QuestionMail matter form a datagrid Pin
new2pgrmg23-Nov-07 21:38
new2pgrmg23-Nov-07 21:38 
AnswerRe: Mail matter form a datagrid Pin
haseeb_saeed23-Nov-07 21:55
haseeb_saeed23-Nov-07 21:55 
GeneralRe: Mail matter form a datagrid Pin
new2pgrmg23-Nov-07 22:06
new2pgrmg23-Nov-07 22:06 
Questionactive control Pin
Thaer Hamael23-Nov-07 21:31
Thaer Hamael23-Nov-07 21:31 
AnswerRe: active control Pin
Gopal.S23-Nov-07 23:18
Gopal.S23-Nov-07 23:18 
Question[Message Deleted] Pin
gubba23-Nov-07 21:05
gubba23-Nov-07 21:05 
AnswerRe: Random number generation Pin
Ian Uy23-Nov-07 21:11
Ian Uy23-Nov-07 21:11 
AnswerRe: Random number generation Pin
mav.northwind23-Nov-07 21:13
mav.northwind23-Nov-07 21:13 
AnswerRe: Random number generation Pin
haseeb_saeed23-Nov-07 21:40
haseeb_saeed23-Nov-07 21:40 
Questionbest way of using dataset object Pin
haseeb_saeed23-Nov-07 20:43
haseeb_saeed23-Nov-07 20:43 
AnswerRe: best way of using dataset object Pin
Andrei Ungureanu24-Nov-07 1:03
Andrei Ungureanu24-Nov-07 1:03 
GeneralRe: best way of using dataset object Pin
haseeb_saeed24-Nov-07 4:29
haseeb_saeed24-Nov-07 4:29 

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.