|
-
May 24th, 2008, 05:13 AM
#1
Thread Starter
New Member
I need serious help
Hi guys im not new to vb but i am really bad at it anyways i need help i am trying to make a server but it isnt coming out very well.
when i try to send a message to a box on a different form i get the following error:
Compile error:
Argument not optional
the coding is:
Code:
Private Sub Command3_Click()
If Wsock.State <> sckConnected Then Exit Sub
---->Wsock.SendData<---
End Sub
what is wrong with it?? help
-
May 24th, 2008, 05:34 AM
#2
Re: I need serious help
I'm no VB6 expert, but I'd say you're getting that error because you've left out the arguments for the SendData call.
Edit: Welcome to the forums by the way.
-
May 24th, 2008, 05:47 AM
#3
Thread Starter
New Member
Re: I need serious help
^_^ i guess so....
but what arguments...
if u want i could send you a link to the project
i really want this to work
-
May 24th, 2008, 06:51 AM
#4
Re: I need serious help
It needs a string containing the values you want to send across.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|