Question Chat and transfer

xuantruongbn

New member
Joined
Mar 4, 2014
Messages
4
Programming Experience
Beginner
Hi everyone i'm doing my projec chat and transfer file in network LAN. i use data sql and winform C#. example 2 user affter login same network that can chat and send file together. who have project share to me thanks
 

jmcilhinney

C# Forum Moderator
Staff member
Joined
Apr 23, 2011
Messages
4,914
Location
Sydney, Australia
Programming Experience
10+
So, you have the chat part done? If so then that means that you know how to transfer data. Files are just more data. You simply have to provide a header that indicates to the receiver whether they are receiving a message or a file.
 

xuantruongbn

New member
Joined
Mar 4, 2014
Messages
4
Programming Experience
Beginner
Oh listen you say, i feel prefer. if i do finish it that wonderful
when send file to user it will become link for user click how must i do
 

jmcilhinney

C# Forum Moderator
Staff member
Joined
Apr 23, 2011
Messages
4,914
Location
Sydney, Australia
Programming Experience
10+
when send file to user it will become link for user click how must i do

With a LinkLabel. You can display whatever text is appropriate and then handle the LinkClicked event to execute the file or whatever else is appropriate.
 
Top Bottom