Click here to Skip to main content
15,895,142 members
Home / Discussions / C#
   

C#

 
GeneralRe: Get access to the current method-context? Pin
Uwe Keim21-Sep-05 4:53
sitebuilderUwe Keim21-Sep-05 4:53 
GeneralRe: Get access to the current method-context? Pin
Andy Brummer21-Sep-05 5:35
sitebuilderAndy Brummer21-Sep-05 5:35 
QuestionCapture with Windows Media Encoder SDK Pin
shmarov21-Sep-05 1:48
shmarov21-Sep-05 1:48 
QuestionAvoid stuck while reading a large textfile Pin
Seraphin21-Sep-05 0:14
Seraphin21-Sep-05 0:14 
AnswerRe: Avoid stuck while reading a large textfile Pin
Guffa21-Sep-05 0:41
Guffa21-Sep-05 0:41 
GeneralRe: Avoid stuck while reading a large textfile Pin
Seraphin21-Sep-05 0:48
Seraphin21-Sep-05 0:48 
GeneralRe: Avoid stuck while reading a large textfile Pin
Guffa21-Sep-05 1:24
Guffa21-Sep-05 1:24 
GeneralRe: Avoid stuck while reading a large textfile Pin
Seraphin21-Sep-05 1:49
Seraphin21-Sep-05 1:49 
File fIn = new File<br />
     ("C:\\dotNET Projects\\Namespaces\\EnumFiles\\ReadMe.txt");<br />
StreamReader strm = fIn.OpenText();<br />
<br />
// continue reading until end of file<br />
string sLine;<br />
do<br />
{<br />
 sLine = strm.ReadLine();<br />
 AddItem(sLine);<br />
}<br />
while (sLine != null);<br />
strm.Close();<br />
<br />


Look at the code posted above. After sLine = strm.Readline, I want update the progressbar value but don't know the MAX value of this one before.
GeneralRe: Avoid stuck while reading a large textfile Pin
Dan Neely21-Sep-05 1:53
Dan Neely21-Sep-05 1:53 
GeneralRe: Avoid stuck while reading a large textfile Pin
Guffa21-Sep-05 3:37
Guffa21-Sep-05 3:37 
Question.net remoting Pin
Geert van Horrik21-Sep-05 0:04
Geert van Horrik21-Sep-05 0:04 
AnswerRe: .net remoting Pin
S. Senthil Kumar21-Sep-05 4:28
S. Senthil Kumar21-Sep-05 4:28 
GeneralRe: .net remoting Pin
Geert van Horrik21-Sep-05 4:40
Geert van Horrik21-Sep-05 4:40 
Questionenconding style ERROR Pin
Campaniço20-Sep-05 23:44
Campaniço20-Sep-05 23:44 
Questionwindows service Pin
Mridang Agarwalla20-Sep-05 21:54
Mridang Agarwalla20-Sep-05 21:54 
Questionhow to make it work?? Pin
shanzy20-Sep-05 21:52
shanzy20-Sep-05 21:52 
AnswerRe: how to make it work?? Pin
Guffa20-Sep-05 21:55
Guffa20-Sep-05 21:55 
AnswerRe: how to make it work?? Pin
mav.northwind20-Sep-05 22:01
mav.northwind20-Sep-05 22:01 
GeneralRe: how to make it work?? Pin
shanzy20-Sep-05 22:05
shanzy20-Sep-05 22:05 
AnswerRe: how to make it work?? Pin
Luis Alonso Ramos21-Sep-05 5:47
Luis Alonso Ramos21-Sep-05 5:47 
QuestionAbout Remoting Pin
baskar.G20-Sep-05 19:13
baskar.G20-Sep-05 19:13 
AnswerRe: About Remoting Pin
akshayswaroop21-Sep-05 3:22
akshayswaroop21-Sep-05 3:22 
QuestionReading Emails from Exchange Server;MSXML 2.6, XMLHTTP Problem Pin
Member 185593520-Sep-05 18:28
Member 185593520-Sep-05 18:28 
QuestionCan you tell me how to custom a arrow with GDI+ Pin
dreamwinter20-Sep-05 17:25
dreamwinter20-Sep-05 17:25 
AnswerRe: Can you tell me how to custom a arrow with GDI+ Pin
Andy Moore20-Sep-05 18:05
Andy Moore20-Sep-05 18:05 

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.