Click here to Skip to main content
15,914,350 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VB6.0 timeout accessing SQL Server Pin
jgrogan20-Sep-06 7:21
jgrogan20-Sep-06 7:21 
Questionfrom a word document i want to parse all the telephone numbers and names Pin
Batchu Rajesh19-Sep-06 23:38
Batchu Rajesh19-Sep-06 23:38 
AnswerRe: from a word document i want to parse all the telephone numbers and names Pin
Christian Graus19-Sep-06 23:43
protectorChristian Graus19-Sep-06 23:43 
GeneralRe: from a word document i want to parse all the telephone numbers and names Pin
Batchu Rajesh20-Sep-06 2:05
Batchu Rajesh20-Sep-06 2:05 
GeneralRe: from a word document i want to parse all the telephone numbers and names Pin
Christian Graus20-Sep-06 10:44
protectorChristian Graus20-Sep-06 10:44 
QuestionHelp On Forms and threads Pin
RG_SA19-Sep-06 23:36
RG_SA19-Sep-06 23:36 
AnswerRe: Help On Forms and threads Pin
Christian Graus19-Sep-06 23:45
protectorChristian Graus19-Sep-06 23:45 
GeneralRe: Help On Forms and threads Pin
RG_SA19-Sep-06 23:53
RG_SA19-Sep-06 23:53 
Hi Christian, thanks for the response.

Sorry should have mentioned the problem. The problem is form2 displays then vanishes, or the controls do not update in the main form when and event is raised from the child thread. The code snippet is a small project to see if I can get around this instead of breaking my proper program it will be inserted into. Instead of a timer in the example I have a tcpclient with the socket reader stuck in a while loop eg

temptcpclnt = New TcpClient
temptcpclnt.Connect(details.ServerName, details.Port)
stmIn = temptcpclnt.GetStream()
tcpThd = New Thread(AddressOf ReadSocket)
tcpThd.Start()

The readsocket raises an event to the mainform to create a new form or update a grid when it has recieved all data

hope this explains a little more
GeneralRe: Help On Forms and threads Pin
Christian Graus19-Sep-06 23:56
protectorChristian Graus19-Sep-06 23:56 
GeneralRe: Help On Forms and threads Pin
RG_SA20-Sep-06 0:06
RG_SA20-Sep-06 0:06 
GeneralRe: Help On Forms and threads Pin
Christian Graus20-Sep-06 0:11
protectorChristian Graus20-Sep-06 0:11 
GeneralRe: Help On Forms and threads Pin
RG_SA20-Sep-06 0:20
RG_SA20-Sep-06 0:20 
GeneralRe: Help On Forms and threads Pin
Christian Graus20-Sep-06 0:22
protectorChristian Graus20-Sep-06 0:22 
GeneralRe: Help On Forms and threads Pin
RG_SA20-Sep-06 0:33
RG_SA20-Sep-06 0:33 
GeneralRe: Help On Forms and threads Pin
Christian Graus20-Sep-06 0:41
protectorChristian Graus20-Sep-06 0:41 
GeneralRe: Help On Forms and threads Pin
RG_SA20-Sep-06 0:47
RG_SA20-Sep-06 0:47 
GeneralRe: Help On Forms and threads Pin
RG_SA20-Sep-06 0:35
RG_SA20-Sep-06 0:35 
AnswerRe: Help On Forms and threads Pin
RG_SA20-Sep-06 2:50
RG_SA20-Sep-06 2:50 
GeneralRe: Help On Forms and threads Pin
Dave Kreskowiak20-Sep-06 4:53
mveDave Kreskowiak20-Sep-06 4:53 
Questioncreate link on datagrid column Pin
mellvincent19-Sep-06 22:43
mellvincent19-Sep-06 22:43 
QuestionIndependent Application Instances Pin
hrodberaht19-Sep-06 22:11
hrodberaht19-Sep-06 22:11 
AnswerRe: Independent Application Instances Pin
Marco Turrini19-Sep-06 22:46
Marco Turrini19-Sep-06 22:46 
GeneralRe: Independent Application Instances Pin
hrodberaht19-Sep-06 22:53
hrodberaht19-Sep-06 22:53 
QuestionDLL Problem Pin
Sasmi19-Sep-06 21:46
Sasmi19-Sep-06 21:46 
AnswerRe: DLL Problem Pin
Christian Graus19-Sep-06 21:49
protectorChristian Graus19-Sep-06 21:49 

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.