Click here to Skip to main content
15,909,324 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: PictureBox Pin
helelark12321-Oct-09 20:37
helelark12321-Oct-09 20:37 
GeneralRe: PictureBox Pin
Eddy Vluggen21-Oct-09 21:17
professionalEddy Vluggen21-Oct-09 21:17 
GeneralRe: PictureBox Pin
helelark12321-Oct-09 21:35
helelark12321-Oct-09 21:35 
GeneralRe: PictureBox Pin
Eddy Vluggen21-Oct-09 21:58
professionalEddy Vluggen21-Oct-09 21:58 
GeneralRe: PictureBox Pin
helelark12321-Oct-09 22:34
helelark12321-Oct-09 22:34 
GeneralRe: PictureBox Pin
Eddy Vluggen21-Oct-09 23:59
professionalEddy Vluggen21-Oct-09 23:59 
GeneralRe: PictureBox Pin
helelark12322-Oct-09 0:58
helelark12322-Oct-09 0:58 
QuestionProblems with VB6 Winsock Connection and Senddata Method Pin
she-Developer20-Oct-09 20:29
she-Developer20-Oct-09 20:29 
Hi,

I'm connecting client to server using VB6 Winsock Controls


'==========Serverside============================
Winsock1.Protocol = sckTCPProtocol
  Winsock1.RemoteHost = strParm(0)
  Winsock1.RemotePort = 1002
  Pause (7)
  MsgBox "Before Connecting"                     'just to do something, and give time to establish connection
  Winsock1.Connect
  MsgBox "After Connecting"
  DoEvents
  'Delay2 = 1
  Pause (10)
  
  'Winsock1.SendData ("Starting dropship refresh...")

It works fine with the MsgBox between the Connect and the Senddata, but without it gives an error when firing Senddata method, seems because connection is not established quick enough.
Please help, how can I ensure connection before sending data?
I have tried some 'delay' processes which works 1 minute and doesnt the next.

Thanks in advance
P
AnswerRe: Problems with VB6 Winsock Connection and Senddata Method Pin
Christian Graus20-Oct-09 20:32
protectorChristian Graus20-Oct-09 20:32 
GeneralRe: Problems with VB6 Winsock Connection and Senddata Method Pin
she-Developer20-Oct-09 20:44
she-Developer20-Oct-09 20:44 
GeneralRe: Problems with VB6 Winsock Connection and Senddata Method Pin
Eddy Vluggen20-Oct-09 22:15
professionalEddy Vluggen20-Oct-09 22:15 
QuestionTest for NUMERIC values Pin
PAguilar0920-Oct-09 17:57
PAguilar0920-Oct-09 17:57 
AnswerRe: Test for NUMERIC values Pin
dan!sh 20-Oct-09 18:07
professional dan!sh 20-Oct-09 18:07 
GeneralRe: Test for NUMERIC values Pin
PAguilar0920-Oct-09 18:25
PAguilar0920-Oct-09 18:25 
GeneralRe: Test for NUMERIC values Pin
Christian Graus20-Oct-09 20:04
protectorChristian Graus20-Oct-09 20:04 
GeneralRe: Test for NUMERIC values Pin
dan!sh 20-Oct-09 21:16
professional dan!sh 20-Oct-09 21:16 
AnswerRe: Test for NUMERIC values Pin
Jaime Olivares20-Oct-09 18:24
Jaime Olivares20-Oct-09 18:24 
GeneralRe: Test for NUMERIC values Pin
PAguilar0920-Oct-09 18:28
PAguilar0920-Oct-09 18:28 
GeneralRe: Test for NUMERIC values Pin
Jaime Olivares20-Oct-09 18:58
Jaime Olivares20-Oct-09 18:58 
GeneralRe: Test for NUMERIC values Pin
Christian Graus20-Oct-09 20:05
protectorChristian Graus20-Oct-09 20:05 
GeneralRe: Test for NUMERIC values Pin
dan!sh 20-Oct-09 21:09
professional dan!sh 20-Oct-09 21:09 
GeneralRe: Test for NUMERIC values Pin
Christian Graus20-Oct-09 21:19
protectorChristian Graus20-Oct-09 21:19 
GeneralRe: Test for NUMERIC values Pin
dan!sh 20-Oct-09 21:14
professional dan!sh 20-Oct-09 21:14 
AnswerRe: Test for NUMERIC values Pin
_Damian S_20-Oct-09 18:33
professional_Damian S_20-Oct-09 18:33 
GeneralRe: Test for NUMERIC values Pin
Ashfield21-Oct-09 1:37
Ashfield21-Oct-09 1:37 

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.