Chat Over Internet VB 2008?
Mar 31, 2010I 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 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 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 RepliesVB users i have vb2010 express and fancy having a go at making a simple over internet chat application but i am a beginner at all this.all i have at min is a form with
1x read only textbox
1x textbox
1x button
and now from that i am lost as i never done anything with networks.
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
View 3 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]....
Im 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 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 RepliesI've been looking for a way to do this for like two days now, and no luck.
What I want to do is get into the temporary internet files, find a certain file....
(^^^ I can do that just fine (using specialfolders, etc) ^^^)
and get the internet address associated with it.
See the attachment if you don't get my meaning.
we have our system running but our system needs to be modified because we did something wrong...we are doing an "Internet monitoring System" in our school library where the user can only access the internet 1hr a day, and he/she cannot use the internet within that day if he couldn't buy a time on a serve...every students should only have 20hrs time usage per semester...our problem is every day their 20hrs is being reduced in 1hr.. the rule is the time per semester which is 20hrs that is given to the students was reduced 1hr only if he uses the internet..but our system is reducing their 1hr every day.
View 1 RepliesI want to disconnect to the internet. And i tryed Process.Start("ipconfig.exe", "/release") I was told this in another thread but its not working
View 5 RepliesUpon searching and learning more about vb.NET. I developed simple application using webbrowser component. I want to ask if it is possible to hide our IP over the internet using vb.NET?
View 1 Replies