sending a text pc-pc directly

frix199

Member
Joined
Jul 18, 2005
Messages
19
Programming Experience
1-3
how can i send a textbox1.text string to another pc on an app.
they can b one server and one client if this is easy..

but i want it directly and no between sql or ftp...

i need ur help!!!!!
 
Have you tried using web services?

Something like:

Make web service and put function in it:

VB.NET:
Public Function PutString(By Val txtString As String) As String
'write in on server (in text file or database or xml)
End Function
 
Public Function GetString() As String
'get it from file or database
Return(your string from file or database)
End Function

Then you just call it from local app like:

VB.NET:
Dim ws As New YOURSERVER.ServiceName()
me.myTextField.Text = ws.GetString()

Sore if this does not work I'm coding directly here, but this couls help you start.

Bye
 
Well with a webService you will need a webServer installed.
You can use Sockets to do this, I beleive there are several examples on this forum. Look for Chat applications.
 
Back
Top