Click here to Skip to main content
16,016,770 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRestricting or setting the max length for Dbgrid Pin
Anonymous4-Jan-05 15:57
Anonymous4-Jan-05 15:57 
GeneralSeveral instances of a control... Pin
TAlvord4-Jan-05 12:19
TAlvord4-Jan-05 12:19 
GeneralRe: Several instances of a control... Pin
Tom John5-Jan-05 22:11
Tom John5-Jan-05 22:11 
GeneralRe: Several instances of a control... Pin
TAlvord6-Jan-05 6:24
TAlvord6-Jan-05 6:24 
QuestionValidating user input text entered into an Edit Control? Pin
quickfix764-Jan-05 12:08
quickfix764-Jan-05 12:08 
General? - Confused about datasets Pin
normschaef4-Jan-05 7:55
normschaef4-Jan-05 7:55 
GeneralRichTextBox Selection Block Pin
Dave Londeck4-Jan-05 5:00
Dave Londeck4-Jan-05 5:00 
GeneralnetworkStream.BeginRead() / Threading doubt Pin
carlos_rocha4-Jan-05 4:00
carlos_rocha4-Jan-05 4:00 
Hi!
I use the beginread() method to read data asynchrounously from a networkStream.In the documentation says that the callback method will run in another thread, and so it happens.The thing is that after the callback function ends (if i do another beginRead() or not) the thread doesn't terminate, it just stays there and if there is another async. read the same thread will respond.(different networkstreams with different threads). Shouldn't the thread terminate?If not how do i end it.

When i use delegates and beginInvoke() for each call the respective thread terminates and another different thread will run the callback function, after a new beginInvoke...but when i do this with beginRead and EndRead it doesn't happen.

Is this correct or am i doing anything wrong?

Thanks in advance.

Never say never
GeneralRe: networkStream.BeginRead() / Threading doubt Pin
carlos_rocha5-Jan-05 1:11
carlos_rocha5-Jan-05 1:11 
GeneralCallback function Pin
Tomaz Rotovnik4-Jan-05 3:26
Tomaz Rotovnik4-Jan-05 3:26 
GeneralRe: Callback function Pin
OICU8125-Jan-05 18:19
OICU8125-Jan-05 18:19 
GeneralRe: Callback function Pin
Tomaz Rotovnik5-Jan-05 20:03
Tomaz Rotovnik5-Jan-05 20:03 
GeneralRe: Callback function Pin
OICU8125-Jan-05 20:47
OICU8125-Jan-05 20:47 
Generaltextboxes to datagrid Pin
Makniteasy3-Jan-05 23:25
Makniteasy3-Jan-05 23:25 
GeneralRe: textboxes to datagrid Pin
Ritesh12344-Jan-05 3:53
Ritesh12344-Jan-05 3:53 
GeneralRe: textboxes to datagrid Pin
Makniteasy4-Jan-05 8:51
Makniteasy4-Jan-05 8:51 
Generaloledb error Pin
GaryKoh3-Jan-05 21:17
GaryKoh3-Jan-05 21:17 
GeneralRe: oledb error Pin
Dave Kreskowiak4-Jan-05 5:56
mveDave Kreskowiak4-Jan-05 5:56 
GeneralAdding image to listview Pin
kobezt083-Jan-05 20:47
kobezt083-Jan-05 20:47 
QuestionADO and MySql Database in VB6 ? Pin
paykani3-Jan-05 20:12
paykani3-Jan-05 20:12 
AnswerRe: ADO and MySql Database in VB6 ? Pin
Roger Wright4-Jan-05 4:56
professionalRoger Wright4-Jan-05 4:56 
Generalrichtextbox askin for help Pin
Mohammad Daba'an3-Jan-05 20:07
Mohammad Daba'an3-Jan-05 20:07 
GeneralSecurity Pin
lafser633-Jan-05 15:19
lafser633-Jan-05 15:19 
GeneralRe: Security Pin
Dave Kreskowiak4-Jan-05 5:47
mveDave Kreskowiak4-Jan-05 5:47 
Generalimage property Pin
Fantasca3-Jan-05 13:15
Fantasca3-Jan-05 13:15 

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.