I have made a GUI for my chat program and I'm going to finish the server stuff later. I am using Emoticons ( ) in both ASCII form and picture form. The ASCII ones work perfectly. I have taken the picture ones and put their pictures on buttons so their click event copies and pastes the picture to the rich text box I'm using for text input, but when i hit the submit button, it doesn't copy the picture.I'm using this code to copy the image from the buttons:
ive tried making it so it copies the picture from the rich text box but that didnt work. i tried declaring a global variable (imgEmo as image) and the setting the variable = to what ever emoticon button is pushed at the time (click event) and using the following code in the submit button's click event:
The name is coming from a separate form, the login form, and it is displayed in the top of my main form as "-- Welcome (Name)". i used the text changes event of the main form to then close the login form. I tried using this line of
'This was a global
Dim strNom As String = Login.txtUrn.Text
'in the submit button's click event
rtbChat.Text += ((strUrn) + ("says: ") + (rtbIn.Text) + (" --") + (TimeOfDay))
strUrn = strNom
This did nothing, in the chat box it returned "says: (message) --(TimeOfDay)".
i wanne make a program (a client and a Server) oke you run the server and get a window you enter your ip and the name of your Chat server and type a password, than you click start server and the server windows goes down, you give the ip and the name from the server on a friend and he gots a client he types your ip in a window and the name of the server, he connects and we can chat
i want to make the rich box to auto scroll down when the richtextbox is filed so that i dont need to manuel scroll down evry time a new message come in!
i have made a client and server chat system in VB 2008 with winsock,it's a one to one chat and works perfect fine, but do anyone know how to turn it into a multi-client chat system? Code in below: Here is the code for the server:
I am trying to write a program that has a server/listener program and then 2 client programs, the 2 client programs are supposed to be able to chat with each other. Can anyone point me in the right direction on this?
I have chose to create a text/voice/draw chat application. So far, I have gotten as far as creating a server application and a client application which can be run multiple times on the same mahine allowing each instance to communicate with on another.[code]...
I need a program that can send and receive msgs to everyone that's on that program and on that network, then is there a way to add chat rooms to the program 2. I looked all around the Internet and MSDN and found a lot of results but non worked property.
I wanna make a chat program over the internet NOT OVER LAN i found alot of examples but it's all about LAN networks chatting but i want a chat program for the internet chat
Okay so i am dreadfully bored in my Visual basic class at school and thought it would be fun to write a lan chat program for all of my class mates to use. So I was wondering what would be the best way to go about it. I have read up on Winsock but i can't tell if it even exists for Vb 10 or if it is usable if none of our computers cant talk over the internet. If winsock is not a viable option then what would be an alternative.
So, in another related post, i got the chat to send to a java server, cool.Now, it's a matter of sending it back to VB.on the server side of things, (in java), I am using the following
JAVA public static void sendback(String what2send) throws IOException { ObjectOutputStream oos = new ObjectOutputStream(mySocket.getOutputStream());
From all the chat applications I successfully made each and every one of them required me to port forward my router so that the data can be received. Now my question is how can I make my chat program work on computers that have routers with most of the ports blocked, how do traditional chat programs do it? Perhaps The chat program intercepts packets then sends it to a known port such as 80?
I wrote a server for a tcp/ip chat program using the system.net.sockets class. When I run the program and the client tries to connect to it, there's an error and it won't work. I am positive that the issue isn't with the client, as I have made a connection with the client before.
Imports System.Net Imports System.Net.Sockets Imports System.IO Public Class Form1 Dim server As New TcpListener(IPAddress.Any, 60) Dim client As New TcpClient [Code] .....
I'm developing chat program. I have database on my webhosting where I store rooms and memebrship tables... I created the client, but I still cant do the server side of the program. It must be in win forms app.(I use .Net 3.5)Every tutorialSample of server side is for Console app. Client code is very close to this(if somebody need it): LINK
How to make a chat program. Well I just copied code in and the program worked. I can send a message to the server and it sends it back just fine. But I can only send a message once. If I try to send another message I get an error and it says this "A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll" then it "No connection could be made because the target machine actively refused it 127.0.0.1:500". Here is the link to the tutorial and code: [URL]
How do I make a Multi User CHat Program in Visual Basic Express Edition? I kind of want it like (Server) and then everybody whos a client connects to the server.
2) To access the Chat Program one has to put in ones Username and password in a Login Form.
3) TextBox1 = Username TextBox2 = Password
4) One clicks the "Log In" button.
5) HERE is the problem. I do not know how to check if the specific username and the password are correct. I have a file called "Users.dat". In there every valid Username(marked with a *) and it's Password(marked with a #) is contained e.g.*Username#Password.
I want my "Log In" program to check if the Username matches one of the usernames and if the username is found in the file, if the password provided is the same as the one standing behind the Username in the file.
6) If both the Username and Password are valid, the Chat Programs shows up.
I have a simple chat program i have made, it works but with a few errors.
1st if it can't find the physical pc it is trying to connect to it crashes.
2nd if it finds the physical server but not the program (server) running it says "the computer actively refused the connection on IP/Port" and then crashes.
[URL].. Unfortunately that is for i think it was 2003. Most likely it wont update and still work. along with that would it be possible to have users be able to private messege each other, create their own user rooms, and add admin features such as kick, ban, look up ip and such?[URL].. as my login system. its been modified so that the connection string wasnt hard coded.
I've been attempting to create a Chat client/server for a while and I found some good tutorials for Visual Basic Express 2008. But I would like my client to be able to disconnect and have the server acknowledge the fact (and send the same message that it does when someone connects) that a client disconnected. [Code]