Code A Simple Multi-User Chat?

Apr 10, 2010

I've created an application, And now need to add the chat feature. It just needs to be basic, But im un sure on how to code one since i am still a beginner at Visual Basic. I know there is a way via TCP Listener using Net.Sockets, But im stuck there. I am totally out of my mind when i think ill know how to code. But here is how the chat will work[code]...

Server side, Is just to host it. I will host it on a windows vps with ports opened, and Anyone who downloads the program can connect to the chat. The username or Nickname of the user will come from 'My.Settings.username'. At this point I am willing to pay someone to code this project.

View 2 Replies


ADVERTISEMENT

Multi User Chat .net 2008?

Apr 9, 2009

[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 Replies

Multi-user Tcp Chat Application?

Jul 29, 2009

I have been trying for years making a network app.I need linked to a video or something, mainly on msdn or some microsoft site, because youtube created videos for coding aren't all that helpful as most of the microsoft made videos.

I need not linked to things like multi-user tcp chat application, as i have looked at these, and even found no code solution, but the no code doesn't allow too much customization and hard to deal with data received to make your own commands send and receive and have events for them.

The multi-user tcp chat application, it doesn't explain anything, just gives you the code for you to look at, and well, it's hard to understand.

I WANT TO MAKE THE PROGRAM BEFORE MORE YEARS PASS BY.

View 1 Replies

Perfect Solution For Multi-user Chat?

Mar 13, 2011

Almost 2 months i try to find perfect solution for my project. I making one multi-user chat application with SERVER and CLIENT application. I read a lot of material about socket communication and try a million of examples all around, some in C# some in VB.net, but I can't find solution.Problem that every example and my try have is when 10-20 user chatting really fast, server reacting slow or whatever is, but final product is that two or many message show in one LINE. For example if i send string "test1" and an my friend, let's call him FRIEND1, send "test2" almost in same time, server sending it to all connected clients like this:stefanACM:test1FRIEND1:test2.I try to implement in my application "Asynchronous TcpListener & TcpClient" from jmcilhinney, but have same problem...

So, can anybody help me with this.I just need one server application that will recive connection, save IP and nick of connected user, and send every message that client sent to all connected users (of course without problem that I mention on beginning of post). On end, that when client disconnect just to close connection.From Client side I need just connect part, send and receive messages.

So in one line, I think I need BASIC EXAMPLE OF PERFECT MULTI USER CHAT CLIENT AND SERVER, without any hiden bug.If someone decide to help me with code,

View 9 Replies

Special Characters - Multi-User TCP Chat Application?

Jan 8, 2010

Someone gave me a link to a Multi-User TCP Chat application once, but, there is a flaw in it, where it wont do special characters, such as Alt+1 will become a different character to the server than the one that was sent. Even I tried to see if the output was usable but it sees it as multiple chars, when it is only 1, and I can't find a link between what it sends and what the character is, so I can't just tell it based on whats sent what the char is, because I see no relation, I would have to type it out for each and every special character.

View 2 Replies

VS 2008 Multi-User Chat Program In VB2008?

Aug 8, 2009

do this??& can I make a Main server like this?

View 1 Replies

Make A Multi-User CHat Program In Espress Edition?

Aug 8, 2011

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.

View 3 Replies

Multi-user TCP Chat Application Doesnt Append Text

Apr 6, 2011

I've been trying that example application at [url]...

I'm just using the client part to connect to an exiting server application. It works OK up to the point where it appends text into the[code]...

View 2 Replies

VS 2008 Multi-User Chat Program (Server & Client) With Main Server?

Aug 10, 2009

Multi-User Chat Program (Server & Client) with Main Server?

View 1 Replies

VS 2008 Turn Winsock Chat System Into A Multi-client Chat System?

Mar 25, 2011

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:

[Code]...

View 3 Replies

.net Multi Chat Client/server?

Oct 19, 2009

I have been searching for days and months on youtube,google and everywhere else about how to create a Multi user chat system, where everybody can talk to each other all at once. Some people say Winsock is the way to go and others say TCP/IP is the way to go. I have little to no experience in either one of them. So if somebody can give me a really great turtioal or show me the guide lines on how to create a server and a client I would highly appreacite it. I am using Visual Basic 2008 express.

View 3 Replies

VS 2008 Make A Basic Multi-Chat?

Nov 14, 2009

Im 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 Replies

Create A Simple Chat And Server Application?

Jun 8, 2012

i want to create a simple chat and server application but i dont know where to start in socket hope someone will help me to create the application.

i found some tutorial in .net but it doesn't explain the code.

View 3 Replies

Post A Simple Code Using VB That Start Building Simple Games?

Jun 10, 2011

Is there anyone can post a simple code using vb,that start building a simple games ?

View 2 Replies

Populate *multi-column* ListView With *simple* XML Data?

Apr 14, 2010

Populate *multi-column* ListView with *simple* XML data?

View 2 Replies

Multi-user Application - Updating All Clients When A User Updates Data (push Vs Pull)?

Aug 26, 2009

I am designing a fairly small application to manage a waiting area for a clinical department. There will be a receptionist who books appointments and updates exisiting appointments to say that a patient has "Arrived". In seperate rooms will be nurses who call patients who have "Arrived" and update the appointment as "In Session" and finally as "Discharged". The appointments are viewed in a flexgrid with nurses across the top and time down the left, patient names are displayed at the relevant times and the cells are shaded a colour to represent the current appointment status ("Booked", "Arrived", "In Session" and "Discharged").

I am using SQL Server as the back-end and Visual Basic 6 (I know) as my front-end.I have been told that there will be 2 or 3 nurses plus the receptionist logged in to the system but I would like to cater for growth.My question is what is the best mechanism to use in order to reflect the status change made by one user on the screens of the other users currently logged in?

I have been thinking about using a timer to refresh the data at a set interval but I do not want to keep hitting the server excessively (although what is considered excessive? we would be talking about a call for data every 60 secs per user). Plus the server could be serving data for many other applications so this is another consideration.Alternatively I have been thinking about sending some kind of message via Winsock to the other users notifying them of data changes as they happen. I don't have a lot of experience with this and am concerned about clients not receiving messages and users seeing old data. It also seems strange to me that once the days appointments have been retrieved from the database that "in theory" a client could go the whole day without having to query the database again to pick up changes - kind of scary.Some information on the data:We would probably be looking at around 100 appointments per day We capture patient name, date of birth, date and time of appointment and appointment status.What is the standard approach / best practice for this kind of scenario?

View 6 Replies

Create A Simple Chat Server Using An Echo Server

Jul 21, 2011

I am trying to create a simple chat server over vb that can relay messages back and forth using an echo server. Could someone point me in the correct direction to begin?

View 3 Replies

Chat-app RichTextbox User Set Font Color?

Sep 13, 2009

My Question i want to jazz the text up by alowing the user to change there own font color but i dont know how send the dont and then recostruct it on the other clients end Eg Me: Im Pink You: im red and The usernames are diffrent then the text YOUR NAME is Blue And Other Users Are Green how would i send the font for every user and then display the text in the text box on the otther clients heres the code i use to send text

Code:
SendData("CHAT|" & txtSend.Text)

heres the code i use to set the font

Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
ColorDialog1.ShowDialog()
txtSend.ForeColor = ColorDialog1.Color
End Sub

View 1 Replies

Live Chat Code ?

Dec 16, 2010

I need to integrate live chat in my website...How to to get the code for this please? vb codes if its possible...

View 2 Replies

.net TCP Chat Client Set User Text Font Color?

Sep 18, 2009

i have wrote a chat app and have it so it sends text to a rich text box my question is

how would i set it so a user can set there font color and when they talk it shows in that color to all other users but the nick name is in a diffrent color from the text

View 11 Replies

Making A FTP Chat And Online User List(No Database)?

Jan 11, 2012

I'm making an FTP chat for me and my friends just for practice. how to make the following things:

Online user list(No Database)
Banning System

View 3 Replies

Web Based Chat Room With VB.NET Behind Code In ASP.NET Framework?

Sep 11, 2002

Is there any way to build a web based chat room application by using VB.NET as behind code and put it with ASP.NET on the web so users can login the account and start to chat without keep refreshing the browser or frame and have a real time transaction, I know that I have to use .NET.Socket namespaces, but don't know exactly how. I have seen many examples of windows based applications, but I need to know how to put it on the web.

View 5 Replies

Single User To Multi User?

Oct 19, 2009

Suppose i have made a single user program that receives its data from a database on a SQL server. What things do I have to change to the program to make it a multi user program while preserving data integrity?

View 3 Replies

VS 2010 Receiving Chat From A Java Chat Server?

Aug 20, 2011

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]....

View 7 Replies

Cannot Apply Simple VB Code As Service Code

Mar 6, 2011

I am currently writing a program in Visual Basic 2008 express edition to read and write to tags on an Omron PLC. I am using the DeviceXPlorer OPC Server V4.1.1.1 program to connect to the Omron PLC. I have made two programs, one is a form program which works fine, two is a windows service program where it does not let me connect to the OPC Server. The connection code is identical, the only difference is the windows service code is called by a timer. The timer works fines and jumps into the connection code, but stops at the line

[Code]...

View 3 Replies

C# - How To Do Multi User Editing

Jul 21, 2011

I have a system where I would like to show a warning to a user if there try and edit a record that is currently been edited. If this is the case the user will not be able to save the record but only view it.I have an idea of using some kind of class to monitor the activity of records been edited etc but this seams a little over kill. My other concern is that what if the browser crashes or there shut their computer down on how this will effect the state of the page.

Another thought was to use last updated time stamp but this also looks a no go because the way records are been updated? how I could implement something like this. No code is necessary.based on the comments I have added these additional details.database is SQL server 2008 asp.net 3.5 one record could be many parts of the database for instance, the booking table session table and a row in the interrupter table.the user will look at a list of sessions that need booking select a booking and fill out a booking form to make the booking. Want to stop is someone else trying to do the same booking at the same time or while someone else is doing the booking.

View 2 Replies

Make Multi User Application?

Mar 10, 2009

I have finished coding a VB.Net application that has connection to SQL Express 2008 database. My question is, what steps do I have to take to make this a multi user application.

FYI:There are 3 tables in the database of which two tables contain data to be viewed by the user and one table is to insert records by the user. The former two tables will be edited by the administrator only. So there is no issue of concurrency. But the one table that is used to insert records by all users has to be dealt with.

View 11 Replies

Create A Multi-User Application?

Sep 18, 2009

I am new to programming. I know how to create simple windows app using VB and Sql Server/AccessDB. My question is this: Can my windows app be ran on a LAN or do I have to create a special multi-user app for a LAN? If the answer is yes, can someone please guide me on how to create a LAN/Multi-user app.

View 2 Replies

Create A Multi-user Chatroom?

Jun 26, 2011

I am planning to make a multi-user chatroom client. I have got a web hosting, but I don't have the server. I want to know how to create the chatroom from my webhost and what type of method that I would need to connect it?

View 3 Replies

Create A Multi-user VB Net Application?

Feb 19, 2009

I need to create a multi user VB.Net application that connects to Access 2007 and has 2 forms. How do I go about it? Please give me a start up.

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved