Click here to Skip to main content
15,924,036 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionVB.Net web development Pin
kochuveedan29-May-06 0:20
kochuveedan29-May-06 0:20 
AnswerRe: VB.Net web development Pin
Christian Graus29-May-06 11:49
protectorChristian Graus29-May-06 11:49 
GeneralRe: VB.Net web development Pin
kochuveedan30-May-06 2:15
kochuveedan30-May-06 2:15 
QuestionAuthentication code Pin
Anu_Bala29-May-06 0:07
Anu_Bala29-May-06 0:07 
AnswerRe: Authentication code Pin
balaji.t29-May-06 1:04
balaji.t29-May-06 1:04 
AnswerRe: Authentication code Pin
FrankyT29-May-06 7:38
FrankyT29-May-06 7:38 
QuestionOutlook Add-In [modified] Pin
Malik Nasir28-May-06 23:53
Malik Nasir28-May-06 23:53 
QuestionHow do I wait For a Web Transction to complete? [modified] Pin
FrankyT28-May-06 21:06
FrankyT28-May-06 21:06 
I'm looking for ways get my app to wait until a network stream is fully returned. Unfourtunatly NNTP uses differant stream terminators for the output of each command (if any at all), and that makes this a little awkward. My VB app calls an NNTP server via the TCPClient and reads the response. Pretty standard you'd figure. I'm having trouble with the requests that return more than one line of data, however.

Basically it seems that my code is rushing to execute faster than the response comes in so the read loop is terminated because the netstream peek is empty. The response is still comming and if the app would wait a min, it would recieve the subsequent data.

When i step through (or even break for a sec) the code works fine, but if I run through it without breaks, it only reads the first line. Typically I use My.application.doEvents to address these issues in forms but the read code is in a backend classlib.

I've tried some simple threading algorithms (running on a sepperate thread that dosn't sleep, or pausing the main thread) but they don't seem to help either.

If anyone could point me in the right direction on this I'd be most appreciative.
TIA
Frank

hey...slang is the vernacular for the vernacular...wow

-- modified at 3:06 Monday 29th May, 2006
AnswerRe: How do I wait For a Web Transction to complete? [modified] Pin
Leeland29-May-06 5:12
Leeland29-May-06 5:12 
QuestionHow to properly add records to a database through formatted databound textboxes Pin
JDFA28-May-06 9:23
JDFA28-May-06 9:23 
AnswerRe: How to properly add records to a database through formatted databound textboxes Pin
FrankyT28-May-06 21:34
FrankyT28-May-06 21:34 
GeneralRe: How to properly add records to a database through formatted databound textboxes Pin
JDFA29-May-06 11:08
JDFA29-May-06 11:08 
GeneralRe: How to properly add records to a database through formatted databound textboxes Pin
FrankyT2-Jun-06 16:02
FrankyT2-Jun-06 16:02 
Questionhow to disable only close buuton Pin
iramg28-May-06 9:21
iramg28-May-06 9:21 
AnswerRe: how to disable only close buuton Pin
Roy Heil28-May-06 11:26
professionalRoy Heil28-May-06 11:26 
AnswerRe: how to disable only close buuton Pin
Tamimi - Code28-May-06 19:38
Tamimi - Code28-May-06 19:38 
QuestionWorking with dates Pin
MichMar28-May-06 6:24
MichMar28-May-06 6:24 
AnswerRe: Working with dates Pin
HaloZa28-May-06 8:29
HaloZa28-May-06 8:29 
AnswerRe: Working with dates Pin
Guerven29-May-06 18:21
Guerven29-May-06 18:21 
QuestionHow can I tarnish a color? Pin
Niamorh28-May-06 5:34
Niamorh28-May-06 5:34 
AnswerRe: How can I tarnish a color? Pin
Christian Graus28-May-06 11:10
protectorChristian Graus28-May-06 11:10 
GeneralRe: How can I tarnish a color? Pin
Niamorh28-May-06 11:28
Niamorh28-May-06 11:28 
GeneralRe: How can I tarnish a color? Pin
Christian Graus28-May-06 11:33
protectorChristian Graus28-May-06 11:33 
GeneralRe: How can I tarnish a color? Pin
Niamorh28-May-06 11:49
Niamorh28-May-06 11:49 
QuestionQuestion about put window on top off all other windows. Pin
Yanshof27-May-06 18:42
Yanshof27-May-06 18:42 

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.