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
Printable View
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
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.
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::mad:
thanks for reply
if i can find the code i did i will post it tomorrow
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?
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
I HOpe U Got What I Say:-sCode: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
Yu could use OLEDB provider for speed while archiving messages.
Here i come.. New to vb6....
I used the pretty cool Digirev's App. Gonna need help to work on it for my Term Project :)
Digi's work was very much helpful...got the basic stuff..
Sweet proj:)
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?
copy from the server machine and place in the correct folder should work then
sorry i been away
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
It can be used for chatting with another computer????
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