borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (RAS connected Users)Next Topic (Need help in an internet program( finding the IP)) New Topic New Poll Post Reply
AndreaVB Forum : Network : winsock programme
Poster Message
sindhura
Level: Guest


icon winsock programme

hello,
may i know where i can get a winsock server client programme in Ci  need to  send a message from client....server  takes the message and displays  it.........

24-08-2004 at 04:50 AM
| Quote Reply
steve_w
Level: Moderator


Registered: 18-04-2003
Posts: 1156
icon Re: winsock programme

Hi

You shouldn't need to use winsock for that you can use the net api's to send messages to another computer.

Try this link http://www.andreavb.com/tip100007.html

Steve  

24-08-2004 at 08:05 AM
View Profile Send Email to User Show All Posts | Quote Reply
TJ_01
Level: VB Lord


Registered: 24-08-2005
Posts: 320
icon Re: winsock programme

I got this sample code but works in win2k. This code actually send message to network pc.

Private Sub Command1_Click()
Dim c, m
m = Text2.Text
c = Text1.Text
If (Text1.Text = "") Then
MsgBox "Enter Computer Name"
Text1.SetFocus
ElseIf (Text2.Text = "") Then
MsgBox "Enter Message"
Text2.SetFocus
End If
Str = "net send " & c & " " & m
Shell (Str)
End Sub




____________________________
Im JAMES  

01-09-2005 at 01:44 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Network : winsock programme
Previous Topic (RAS connected Users)Next Topic (Need help in an internet program( finding the IP)) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder