VS 2008 Add A Chat Nudge
Apr 11, 2009Im trying to add a chat nudge,I have a server that basiclys just broad cast it and sends it to who ever is connected
View 10 RepliesIm trying to add a chat nudge,I have a server that basiclys just broad cast it and sends it to who ever is connected
View 10 Repliesi 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:
[Code]...
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());
[code]....
I built a chat program using Socket (winsock2005dll) but it did not work well on internet, I've heard that using system.net is more powerful
View 1 Repliesi 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
View 2 Replies[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.
View 1 RepliesI'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]
i wanted to try make a chat program using ftp, im not sure how it will work, i imagined some txt documents in the ftp using winsock etc.
View 4 RepliesUsing this example here, do you think it would be possible to develop it to show who is connected to the server?
View 10 RepliesI 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:
Clipboard.Clear()
Clipboard.SetImage(Me.btnSmi.Image)
Me.rtbIn.Paste()
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:
Clipboard.Clear()
Clipboard.SetImage(imgEmo)
Me.rtbChat.Paste()
This is the code for my submit button:
rtbChat.Text += ((txtIn.Text + (" --") + (TimeOfDay)))
As a side problem, how do i make it so that every time i hit the submit button it starts a new line and formats the comment like this:
James says: (what ever the message is) --(TimeOfDay)
Kristie says: (What ever her message is) --(TimeOfDay)
I understand that for her answer to be there i need a server and all sorts of other code but i am not interested in that yet. I just need that format.
(Name) says: (string) --(Time)
(Name) says: (string) --(Time)
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 want to develop a chat application with a server/client model, opening TCP or UDP sockets in VISUAL BASIC 2008. Is there a working example I can download, or some code to help me with this project? [code]Now, instead of 127.0.0.1 I should put some variable or something that keeps the IP address of the target machine?
View 1 RepliesI've been working on a tcp online chat. I heard that you need to configure your router to allow other pc to connect or something?
Server :
Imports System.Net, System.Net.Sockets
Public Class frmServer
Dim serverSocket As Socket
Dim clientSocket As Socket
[Code] .....
I cannot find a Working Chat Application. I am starting this thread to get Help. Not for people to say search the forum. I am a novice to Visual Basic and I really need help. I am creating a Multi user chat application that will look like this; provide a Code or a link to a WORKING Chat with a Server end and a Chat end that shows who's online?
View 8 Repliesi 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!
View 7 Repliesi want to make my own Chat Client but i cant find any TUT'S i can only find them in vb6 so if anyone can point me to a tut.
View 2 RepliesIm trying to make my client send the account to the server and display it on a listview but im having some trouble. I tried to send some messages and it didnt work. The Client sends the account as "CLIENTINFO" + "|c + the users account. And on the server side the server reads it and splits sends it to the select but its not displaying the Clientinfo.[code].......
View 1 RepliesHow do I make a chat room that multi clients will be connecting to at once. Im trying to add a ping/pong method which is just msgbox that tells the user if the message was received. I know that you need a background worker for this but how do i handle all the msgs that are going back and forth to all the clients that are connected to the server
View 1 RepliesI am creating a web chat facility in visual studio 2008 using Visual Basic,I want to be able to highlight certain keywords that are sent and received to each user?
View 1 RepliesI recently got into this article. It makes a chat server and people can connect to it like an AIM. The problem how would I disconnect from the server from the client. Because if I close the client application when its connected to the server it will crash the server as well. Please let me know if anyone has any solutions.
View 1 RepliesIm working on this one application/chatter. What it does, theres a server, and lots of clients. Client sends data to server, server process's it, and the client receives the data (unless its a command, like /process username). Heres my problem. My client has a login feature, like yahoo. Client sends username/password to server. Server goes through list of usernames. Then sends it to client, wether it matches. But my client doesn't receive the data. Can anybody fix this, with my client code provided? Let me know if you need server code, and the extra script files/vb files. [Code]
View 5 RepliesMake a Chat Server and Client using winsock:I want to have a Login forum and Be able to ban user and Give them ranks I would like it to Use INI files.
View 2 Repliesim trying to make a little application that will read an fps server chat log.the chat logs are plain text files that come in the format :
Billy says: yada yada yada
Bob says: mooo
on certain key phrases (which will be user defined) it will reply (also user defined) now my problems. (there are many). most of which stem from not actually knowing any syntax for this language.firstly im suffering something of a huge brain fart with trying to read only the last line. i have it currently reading though the whole file and counting line numbers but then i just hit a wall . what do i do with the line number? i cant find a simple way to stop and come then have it check again after a couple of seconds for a new line? allegedly filestream can seek the end of the file however all my attempts to do anything with filestream have met with absolutle failure.
this is what i currently have for this, and it works to some degree
FileReader = New IO.StreamReader(OpenFileDialog1.FileName)
Do While FileReader.Peek <> -1
txtln = FileReader.ReadLine()
[code]....
i have the remnants of both the options ive considered in there, and its almost doing what i need it to . i just have no idea what to put into the last section to make it wait for another line to be added to the text file, or use the linenumber to make it check back from there for more lines. i cant seem to find a wait/sleep/pause so i just dont know.
my other problem is one of file access. i am aware of some properties of filestream that allow for a shared read/write access for other programs . however as i stated before . i have had no success even getting this simple peice of code to work with filestream.
do this??& can I make a Main server like this?
View 1 RepliesMulti-User Chat Program (Server & Client) with Main Server?
View 1 RepliesHow would i broadcast/specific(one person) a live voice over a tcp connection for my voice chat room im making.
View 1 RepliesIm using the code from [URL] as a starter, most of the code is the same. the chat system works fine but on the client a added a disconnect button "clientSocket.Close()" and as soon as i click that i get errors, on the client, this is the code...
Private Sub getMessage()
For infiniteCounter = 1 To 2
[CODE]...
And this line...
serverStream.Read(inStream, 0, buffSize)
gives me "Unable to read data from the transport connection: A blocking operation was interrupted by a call to WSACancelBlockingCall."
Now im talking the server, after the client clicks disconnect or closes by task manager, looses connection, etc the server crashes and gives me.
I am developing a chat application here i have kept general chat room here multi users can chat with each other but now i want one to one chat in my application, when logged user click on any user in the user list, one pop up window should be opened on the user computer and another pop up window should be opened in the remote users computer?
View 1 RepliesHow can I create my own LAN Chat?
View 1 RepliesI'm making a basic FTP chat for me and my friend, how would I make it so the people can't use the same username? I don't know how to use databases..
[Code]....
I want to make a chat box and a lan chat box looks pretty simple, but i want to make it to where you have to have wifi to chat wirelessly. Is is possible to have a wireless chat box?
View 5 Replies