FTP Chat - Can't Use The Same Username?
Jan 10, 2012I'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'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 am working on a code for a chat client/server and I have it all working, I can connect and chat locally and global. The problem I am having is that when someone just hits the X in the corner to exit it crashes my server as well as the fact that if someone wants to they can make their username the same as someone elses.
[Code]...
1) I have a chat Program.
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.
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]....
send a solution for this "update login SET password=@password,username=@username where username=@user"
while executing i got the error"syntax error in update statement "
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]...
The program is for users to submit their username by typing in their username and pressing the submit button. The username may be able to display on the Usernamelabel in form1.(I made the button on form2) I have problems coding to make the text to come out in form2.My code comes out as error.
Here is the code in form2.
Public Class Form2
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[CODE]...
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 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 Repliesi need some help i want to create a chat but how to make it like you have winsock but are there none others and i got also a question im planning to buy a domain and if u use the dedicated ip can i host my chat then of that ip
View 5 RepliesIam planning to create a chat box by vb.net but I don't know what to do.What is that app needs?
View 3 RepliesI am working on the client-server on my application and I am unsure which one of those method that I should use for the chat server. When I tried this:
Dim port As Int32 = 13000
Dim localAddr As IPAddress = IPAddress.Parse("127.0.0.1")
server = New TcpListener(localAddr, port)[code].....
I found that both of these methods are the same, I can connect to the server when I use either of them. tell me which one of them is the easy way and which one of them that I should use to connect to the server, send message...etc?
How can I connect to Facebook chat using C# or Visual Basic?
View 1 RepliesI don't want it to be MultiThreaded. i read some tutorials and have a good idea. but unfortuantely all the tutorials on the web write code without explaining. so is anyone here has a good knowledge with Chat application ? I know it's about sockets and stuff but i just need an explaination with code ;)
View 5 RepliesI'm trying to make online chat..I saw 2 P2P tutorials:url...both are great tutorials, but they work in LAN only with addresses and ports given.if anybody knows which port and address could I use with this ideas and go to internet.
View 2 RepliesChat in vb.net using lan connection
View 2 RepliesI 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'm trying con build a simple chat client/software (whole in on executable) wich start listen from the start on the port 5900 and when a client connect to that port the chat is established.
The problem is that only the client can chat to the server, the server cannot answer the client because the connection is working in one way.The i've tried to connect from "server" to the client when it establishes a connection but the system crash warning me that the port is already on use.
[Code]...
im a bit humiliated on searching the net with a step by step instruction on how to create a vb.net form app that can communicate to other computers using tcplistener/tcpclient.
View 11 Repliescreate a chat room? My current hosting is a linux server with mysql. I want to make a client that can connect to the database.(already done) and if the user exists, to open a chat form. I want this to be multithreaded, that way I can have up to 500 people chatting with each other at the same time, from different locations. (realistically will usually be around 50)I have found some winsock type examples, but I dont understand how I can adapt that to work with a linux server... Can anyone help give me examples? I guess I basically want an IRC.(Which I dont know how to implement.)
View 2 RepliesI want to create a tcp/ip chat system using vb.net. I have created using vb6 using winsocks but unfortunately I couldnt find it in VB 2005. I have discussed with some friends about it and they also couldnt do it. I like to try something I dont know in this way I learn more. I want to create the in such a way that the client and server both have an interface and the client and server both have port text-boxes and the client has the host text box and the connect button.
View 2 RepliesI want to create a 3d graphics chat. (Think Imvu Not Single Life. I tried opensim, that's a virtual world, not what I'm looking for, plus would prefer to code my own, as I was needing to rewrite so much)This chat I would run between friends on my own server (no monies for server costs)
First I need to know if I am on the right track or not.
ie : need 3d graphics engine at base ? (Any opensource ones I could look at legally to learn from?) need instant group chat engine?(Any opensource ones I could look at legally to learn from?) need login forms, web browser/viewer to run graphical chat in? plus of course I would need a database of meshes and so on?
So first I need to know if I'm looking into the right areas, plus where to find up to date tutorials (ie links) the web is huge? (Oh and opinions from more experienced people.)
Furthermore can this all be coded in vb.net or do i need to code part in C# and add together, can that be done?
Plus I am using a trial version of ms visual studio 10, I am unable to purchase it when trial runs out and do not know what I can switch to then that is free an legal to use, to learn an create opensource projects.
I am trying to develop a chat application using Visual Basic 2008. I have referred some articles on the internet like [URL]...rogramming.htm and got the concept of connecting and sending data. But when it comes to real world chat applications, there is user authentication and all that. So I was wondering if it is possible to make my own Windows Live Messenger or Yahoo Messenger!!. I searched web for such a sample or source code, but could not find any. Has anyone here created such an application??
View 2 RepliesI have been programming a chat app and have so far so good got it working but now I want to add a buddy list so that a user can add a friend on there list and on the main window it will show wether or not the user is online see below for example the yahoo messenger Friends list.
View 8 Repliesim trying to make a chat program.im already done with the chat but i dont have any idea now to make the video.
For the chat i used this :(url)
There are a series of web requests, database handling using php as well as using mysql connector. There are at most 5 timers in one window. some window has 3 or 2 timers as needed.Among some features there is a feature for chat. and I'm doing it with Remote mysql connection using mysql data connector.I'm not much familiar with VB.NET coding environment as well as with optimization issues. However made that app running with some problem, that is, when chatting, sometimes its not working smoothly sometimes stops for 4-5 secs then again responding. I'm not sure if this is happening because of timers. However a chat window has 2 timers of 1sec each.
View 2 RepliesI currently have two projects that are working fine alone. One is a simple chat program (found on forums) and the other is a client tool for my clients to use. I want to add a button to my client tool that executes the chat. When I try to add the chat code to my client project I get errors and understanding some of the issues. I know that some of it is that there is a form in the chat with buttons for connecting to the server and then a button to start the chat but I want to make it "one" button from my program that is "chat" and it connects and opens the chat form.
[Code]...
Im creating a social networking website as a project for my internals in visual basic..project is near to completion but i wanna add a chat application like that on facebook to my website.
View 5 RepliesI 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