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
ADVERTISEMENT
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
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
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
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
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
Aug 8, 2009
do this??& can I make a Main server like this?
View 1 Replies
Jun 24, 2010
I have a field that the gets a case title. Requirments are to be able to use any of these special characters in any order in the title.
,,.,:,;,",(,),'
i.e. (test, case.) "title" with; 'special: chars'
I can't just take that string from the test box and put it into the sql statement. It will error.
I need to be able to 'escape' the special characters to play nice with sql server 2005
Public Shared Function Format(ByVal str As String) As String
'Format = Regex.Replace(str, """", """""")
'Format = Regex.Replace(str, "'", """'")
[Code]....
View 4 Replies
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
Aug 10, 2009
Multi-User Chat Program (Server & Client) with Main Server?
View 1 Replies
Dec 21, 2011
Essentially I am trying to replicate the Windows 7 (In-Windows) activation key TextBox form. The Form where it will auto capitalize letters, remove or deny all non alphanumeric characters except dashes every 5 characters that will be auto-input.I assume this can be done with a fairly complicated replacement Regular Expression but I cannot seem to create one to fit the needs.
This is an Example of what I have right now, but it creates an infinite loop as it removes all characters including dashes, than adds a dash, which changes the text and removes the dash again.
[Code]...
View 4 Replies
Sep 13, 2010
i have been trying to remove special characters. i am not able to remove many crlf in middile of the string.
View 3 Replies
Aug 5, 2011
I have two textboxes. I type in one of them and the text gets copied in real time into another textbox. There is one catch. I need to replace specific character with something else.
If I enter a quote " in textbox1, it has to be replaced with " in textbox2.
I started with something like the below code, but obviously this does not work (tried different stuff - this is for demonstration only). In the example below 'a' represents " , and 'b' represents "
Private Sub TextBox1_KeyUp(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.KeyUp
TextBox2.Text = TextBox1.Text
[Code]....
View 2 Replies
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
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
Aug 4, 2010
example. i have 2 textboxes and if there empty it says "Incorrect Information", but how do i make it that like when a person enters something into the textbox1 it can be 3 values minimum.. like it could be eather 2 letters 1 number or what ever just more than 3 values (no special characters), and on the password.. 6 values minimum (no special characters).
[Code]...
View 14 Replies
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
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
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
Apr 11, 2009
I want to about a multiuser application that have a server and 2 or 5 client to interect with mssql thorough application. how multiple cleint connect to database in same time.
View 4 Replies
Jan 28, 2011
i just want some opinnion or suggestions regarding database softwares. we are going to develop a system for 20 or less users, i am planning to use MYSQL community server as our database to lessen the budget for that system, i just want to know if it is ok to use that version.is there a big differece between mysql community server, enterprise server and MS SQL Server in terms of handling data i.e security, speed, etc...
View 2 Replies
Dec 7, 2009
how to make an application with a multiple user.
language: VB
resource: Visual Studio 2008 Pro(90-day trial)
Sql express (the packages when u download the VS 2008)
scenario: i will make database located in a server (LAN) and a multiple client that can access the server database to add,modify,delete records.Im not aware that building a multi-user application database is different from a normal one user application database. T_T.i read some guide and other walkthrough on building a database but it became confusing when it doesnt my requirements. coz when i try to open my database(.mdf) to connect from other client (in another station) it says its currently in use and connot connect to it. err. @_@..
View 3 Replies
Mar 2, 2009
give me some example code to insert rows of datagridview into a sql express database table? Also, how do I manage concurrency as it is a multi user application?
View 6 Replies
Jul 25, 2007
I am developing a VB.Net application. That application might be working on a LAN. MS Access as a backend will be used.
I have developed many single user applications, but don't know of multi user , LAN, manage DB etc. How do I make the program as Multi user on LAN. Data will be accessed at the same time. How to mange such things.
View 5 Replies
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
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?
View 4 Replies
Mar 26, 2009
I'm using SQL 2008 Express with a multi user VB.NET Windows application. Do I have to add each user to the SQL user account? Does NT AuthoritySYSTEM work? I do not know how this works. So far I have NT AuthoritySYSTEM in the Security-Logins of the Server. But do I have to add it also in the database? In the databse Security-User, I have the following:
[Code]...
View 1 Replies
Sep 17, 2009
I have developed an application using vb.net. This application will run on approximately 15 machines at the main office and also roughly 10 machines spread over 3 different locations. I am using SQL Server Express edition in the backend. I deployed the application on the network using caspol but it is extremely slow. The Company Manager's perception is that because a script will invariably have to be deployed on each client machine to configure CASPOL, that the solution is not viable.
What is the best method to develop and deploy a multi-user desktop application?
View 9 Replies
Aug 3, 2010
I've got a program that in a nutshell reads values from a SQL database and writes them to a tab-delimited text file.The issue is that some of the values in the database have special characters (TM, dash, ellipsis, etc.) When written to the text file, the formatting is lost and they come across as junk "â„¢ or â€" etc"
When the value is viewed in the immediate window, before it is written to the txt file, everything looks fine. My guess is that this is an issue of encoding. But, I'm not real sure how to proceed, where to look, or what to look for.Is this ASCII or UTF-8? If it's one of those how do I correct it before it's written to the text file.Here's how I build the text file (where feedStr is a StringBuilder)
objReader = New StreamWriter(filePath)
objReader.Write(feedStr)
objReader.Close()
View 1 Replies
Aug 15, 2010
buildLetter.Append("</head>").AppendLine();
buildLetter.Append("").AppendLine();
buildLetter.Append("<style type="text/css">").AppendLine();
Assume the above contents resides in a file. I want to write a snippet that removes any line which has empty string "" and put escape character before the middle quotations. The final output would be:
buildLetter.Append("</head>").AppendLine();
buildLetter.Append("<style type="text/css">").AppendLine();
The outer " .... " is not considered special chars. The special chars may be single quotation or double quotation. I could run it via find and replace feature of Visual Studio. However, in my case I want it to be written in c# or VB.NET
View 1 Replies