-
Nov 22nd, 2010, 06:33 AM
#201
Member
Re: [VB6] - Multi-User Chat Example (Winsock)
i want to know how can i save chat? i mean when ppl chat with tht program all gona be save when i admin login can view all chat wat ever thy chat in day user etc... if someone can help please share
-
Nov 22nd, 2010, 09:34 AM
#202
Junior Member
Re: [VB6] - Multi-User Chat Example (Winsock)
if i'm reading what your asking correctly when you look at the original server console you see all the chat that there has been since you have been running it..... and you have the option i believe to save the chat to a file from the console if you want it to auto save the chat if i remember correctly you will have to program that yourself. i had to tweek the program myself to make the original work for me.
-
Nov 22nd, 2010, 04:59 PM
#203
Member
Re: [VB6] - Multi-User Chat Example (Winsock)
i asked a friend same q he told me i have to make data base for save chat etc... so i have to know php code:-s
i got no idea about php lol so im not gonna coded:
thanks for reply
-
Nov 22nd, 2010, 05:19 PM
#204
Junior Member
Re: [VB6] - Multi-User Chat Example (Winsock)
if i can find the code i did i will post it tomorrow
-
Dec 4th, 2010, 05:15 PM
#205
New Member
Re: [VB6] - Multi-User Chat Example (Winsock)
hijack?
I Just want to Ask a Question in this post[because most of those peoples come here! Know about Multi User Chatting Problems...! And U Say Why did u hijack...?
lol
Must of Guys post Screenshot! so is it problem?
Mo!eN User Banned =))
Thanks
I Love My New 1Chr Username =))
-
Dec 4th, 2010, 05:24 PM
#206
New Member
Re: [VB6] - Multi-User Chat Example (Winsock)
Originally Posted by paki42o
i asked a friend same q he told me i have to make data base for save chat etc... so i have to know php code:-s
i got no idea about php lol so im not gonna coded:
thanks for reply
Why u use php?
U can store ur data in db with vb
Code:
Public dB As New ADODB.Connection
Sub OpenDB()
ConnectionString = "Driver={Microsoft Access Driver (*.mdb)};Dbq=mdbAccess.mdb;DefaultDir=" & App.Path & ";UID=;PWD=" ' mdbAccess is ur database name! i save mdbAccess.mdb in my Program path
dB.ConnectionString = ConnectionString
dB.ConnectionTimeout = 10
dB.Open
End Sub
and with this code[below] u can Save ur Chat Archives... in DB
Code:
Function AddMessageArchive(Username As String, Message As String) As Boolean
Dim rs As New ADODB.Recordset
rs.Open "Ranking", dB, adOpenKeyset, adLockOptimistic 'Ranking is ur table in db file
With rs
.AddNew
!Username = Username
!Message = Message
Err = 0
.Update
If Err <> 0 Then
AddRankInfo = False
Exit Function
End If
End With
AddMessageArchive = True
End Function
I HOpe U Got What I Say:-s
Mo!eN User Banned =))
Thanks
I Love My New 1Chr Username =))
-
Dec 4th, 2010, 05:39 PM
#207
New Member
Re: [VB6] - Multi-User Chat Example (Winsock)
Yu could use OLEDB provider for speed while archiving messages.
-
Dec 12th, 2010, 06:03 AM
#208
-
Feb 14th, 2011, 08:05 PM
#209
Lively Member
Re: [VB6] - Multi-User Chat Example (Winsock)
Digi
I'm trying to test your chat project (V 1 first file), but on my client-side pc it asked for the RICHTX32.OCX.
So I installed the file, and registered it using REGSVR32. My server side on a different pc operated perfectly.
The Client side still can't find the OCX, any suggestions?
Last edited by Aaron02; Feb 14th, 2011 at 08:31 PM.
-
May 13th, 2011, 10:07 AM
#210
Junior Member
Re: [VB6] - Multi-User Chat Example (Winsock)
copy from the server machine and place in the correct folder should work then
-
May 13th, 2011, 10:08 AM
#211
Junior Member
Re: [VB6] - Multi-User Chat Example (Winsock)
-
Apr 17th, 2012, 08:24 AM
#212
Hyperactive Member
Re: [VB6] - Multi-User Chat Example (Winsock)
Originally Posted by Genovah
Well here is a huge revamp from my previous version. Please let me know if you find any bugs or have any suggestions. Feedback is much appreciated!
If you are trying to use the e-mail feature you will need to edit the SendMail sub and enter your gmail user account information. The only thing that is not functional server side is the chatrooms feature that is still a work in progress. Ignore any foul language in the code it is mostly me talking to myself. The main server is online so feel free to connect if you have questions or want to talk.
Thanks!
I use some part of code from post 132...
My question is how to modify server side code to accept only 1 connection at time ?
So that next client will wait until first client disconnect's...
-
Feb 5th, 2014, 01:12 PM
#213
New Member
Re: [VB6] - Multi-User Chat Example (Winsock)
hi there DigiRev.. im a new memberhere in vbforums and i just want to ask you a question....
how can we add kick user function in the first project you make
Last edited by amosroy111; Feb 6th, 2014 at 11:11 AM.
-
Mar 11th, 2015, 03:47 AM
#214
Member
Re: [VB6] - Multi-User Chat Example (Winsock)
It can be used for chatting with another computer????
-
May 15th, 2022, 02:30 AM
#215
Hyperactive Member
Re: [VB6] - Multi-User Chat Example (Winsock)
omg its realy good but i convert it to .net using vs2008 and fix the errors,server worked but client cant send message in users list box get +1 when i send something and it makes spam only client but im gonna make only server can speak
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|