473,409 Members | 2,056 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,409 software developers and data experts.

my question:how to implement sending message in LAN with vb.net?

when we use vb ,we can use "shell"or the control of "winsock",then how to
implement sending message in LAN with vb.net?I mean how to implement such
functions in vb.net?
please help me,thank you.Good luck!
Simon.C
ly*****@163.com
Nov 21 '05 #1
4 1334
There are tons of ways of doing this... some better than others depending on
what your core requirements are...

1) You can use pure sockets and do peer-to-peer

2) You can use pure sockets and do a server based setup to talk to other
users (nice for broadcasting messages)

3) You can do both of the above using either remoting or web services.

A google search should help here... If I can find some direct links I will
try to post them latter.

BTW, the sample code that comes with 'Programming Visual Basic.NET, version
2003' ISBN 0-7356-2059-8 has some great examples of this using various
technologies (ie: remoting and sockets).
"Simon.C" <ly*****@163.com> wrote in message
news:en**************@TK2MSFTNGP10.phx.gbl...
when we use vb ,we can use "shell"or the control of "winsock",then how to
implement sending message in LAN with vb.net?I mean how to implement such
functions in vb.net?
please help me,thank you.Good luck!
Simon.C
ly*****@163.com

Nov 21 '05 #2
thank you for your kind~~ ~~A google search may help me ,but I can't find
sample code,can you help me?thank you.
Nov 21 '05 #3
Here are some examples of using remoting:

http://support.microsoft.com/default...b;EN-US;300943
http://support.microsoft.com/default...b;EN-US;300943

More comming as soon as I can locate them...
"Simon.C" <ly*****@163.com> wrote in message
news:uj**************@TK2MSFTNGP15.phx.gbl...
thank you for your kind~~ ~~A google search may help me ,but I can't find
sample code,can you help me?thank you.

Nov 21 '05 #4
thank you for your kind.~
Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

46
by: J.R. | last post by:
Hi folks, The python can only support passing value in function call (right?), I'm wondering how to effectively pass a large parameter, such as a large list or dictionary? It could achieved...
2
by: Dr. Colombes | last post by:
MatPlotLib question: How to get more different size plot symbols in the plot function ? Is there a way to get different size squares (or circles or triangles, etc.) ? For example, in a two...
0
by: chan | last post by:
how to apply online update function into program (the effect just like Norton system work live update) The situation is below: I want to develop a program that contains some product...
1
by: Maka Sili | last post by:
Using ProgressBar.Enabled = false does not dim the progress bar. There must be a way. I hope somebody could guide me. Thanks.
7
by: John Demigor | last post by:
Hi, I have an integer value I need to read/write as 4 bytes from/into Stream (NetworkStream), but I cannot find ReadInt/WriteInt method in the Stream class. The same problem with string. ...
3
by: msnews.microsoft.com | last post by:
Hello All, In the "Find Dialog" (Ctrl-F) of the IDE there is an option called "Mark All". When I click "Mark All", this marks the occurences of my search text. How will I clear this mark? ...
9
by: EMW | last post by:
I have created a page in aspx and after a click on a button, a new page should open. How is this possible? I tried it doing it like in vb.NET with opening a new form, but it doesn't work. rg,...
2
by: Bill Nguyen | last post by:
I would like to add a new VB.NET project using the same folder being used by another project so that I can share several forms already creaded by the other project. However, .NET created a new...
8
by: John | last post by:
Is there any special code I have to write to log event to Security Event Log? The following code give me "Very Easy Question, How to write log to SECURTY Event Log? Please help" Error // Create...
1
by: Steve Kershaw | last post by:
Hello, How can I dynamically set the web page size in Page_Load(..)? On another related question, how can I display a page (using Response.Redirect purhaps) and have the old page AND the new...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.