Click here to Skip to main content
15,888,461 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Crystal Report Formula Pin
bigbadben17-Nov-10 23:38
bigbadben17-Nov-10 23:38 
Questionhow to use cookies in visual basic Pin
srianraja28-Oct-10 21:03
srianraja28-Oct-10 21:03 
AnswerRe: how to use cookies in visual basic Pin
thatraja28-Oct-10 22:43
professionalthatraja28-Oct-10 22:43 
AnswerRe: how to use cookies in visual basic Pin
Rajesh Anuhya28-Oct-10 23:19
professionalRajesh Anuhya28-Oct-10 23:19 
AnswerRe: how to use cookies in visual basic Pin
Dave Kreskowiak29-Oct-10 3:20
mveDave Kreskowiak29-Oct-10 3:20 
AnswerRe: how to use cookies in visual basic Pin
bigbadben17-Nov-10 23:52
bigbadben17-Nov-10 23:52 
QuestionobjReader.peek() concept Pin
swathi658928-Oct-10 20:37
swathi658928-Oct-10 20:37 
AnswerRe: objReader.peek() concept Pin
riced28-Oct-10 23:45
riced28-Oct-10 23:45 
Simple way to look at it.
Each file has a file pointer that points at the next character available for reading.
The Peek will look to see if there is another character in the file at the file pointer.
If there is not it returns -1.
So it enters the loop and reads a line from the file.
If the file only contains one line this put the file pointer at the end of the file.
The next Peek then looks and finds no characters at the position pointed too by file pointer so returns -1, and the loop is done.
The Peek does not track down the file character by character it just looks at where the file pointer is pointing at, and that gets moved every time you do a read.
Regards
David R
---------------------------------------------------------------
"Every program eventually becomes rococo, and then rubble." - Alan Perlis
The only valid measurement of code quality: WTFs/minute.

GeneralRe: objReader.peek() concept Pin
swathi658929-Oct-10 2:38
swathi658929-Oct-10 2:38 
AnswerRe: objReader.peek() concept Pin
Luc Pattyn29-Oct-10 2:46
sitebuilderLuc Pattyn29-Oct-10 2:46 
QuestionVB zipping folder Pin
crain198128-Oct-10 4:53
crain198128-Oct-10 4:53 
AnswerRe: VB zipping folder Pin
_Erik_28-Oct-10 5:12
_Erik_28-Oct-10 5:12 
GeneralRe: VB zipping folder Pin
crain198128-Oct-10 5:17
crain198128-Oct-10 5:17 
GeneralRe: VB zipping folder Pin
_Erik_28-Oct-10 5:32
_Erik_28-Oct-10 5:32 
GeneralRe: VB zipping folder Pin
crain198128-Oct-10 6:20
crain198128-Oct-10 6:20 
AnswerRe: VB zipping folder Pin
dan!sh 28-Oct-10 10:19
professional dan!sh 28-Oct-10 10:19 
QuestionCrystal Report Formating Pin
Nikhil Bhivgade27-Oct-10 21:44
professionalNikhil Bhivgade27-Oct-10 21:44 
AnswerRe: Crystal Report Formating Pin
Richard MacCutchan27-Oct-10 23:04
mveRichard MacCutchan27-Oct-10 23:04 
QuestionTextChanged event not fireing. [SOLVED] Pin
chrispowell1234527-Oct-10 5:57
chrispowell1234527-Oct-10 5:57 
AnswerRe: TextChanged event not fireing. Pin
Dave Kreskowiak27-Oct-10 6:17
mveDave Kreskowiak27-Oct-10 6:17 
AnswerRe: TextChanged event not fireing. Pin
_Erik_27-Oct-10 6:42
_Erik_27-Oct-10 6:42 
GeneralRe: TextChanged event not fireing. Pin
chrispowell1234527-Oct-10 23:41
chrispowell1234527-Oct-10 23:41 
QuestionScript for checking domain & Map Drive Pin
OrdinaryGal27-Oct-10 3:18
OrdinaryGal27-Oct-10 3:18 
AnswerRe: Script for checking domain & Map Drive Pin
Dave Kreskowiak27-Oct-10 5:27
mveDave Kreskowiak27-Oct-10 5:27 
GeneralRe: Script for checking domain & Map Drive Pin
OrdinaryGal27-Oct-10 5:41
OrdinaryGal27-Oct-10 5:41 

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.