Asked By
emileekeila
0 points
N/A
Posted on - 04/25/2013
Hello. I have a website with a chat function that I would like to integrate with Facebook. Can someone teach me the code of chat for Facebook in VB? I am on Windows Vista and Microsoft Visual Basic 6. Thanks in advance.
I need help with the code of chat for faceBook in VB
Â
Server Side of VB6 Program
Now lets create the server side of our program. Normally you would create a new Visual Basic program just for the dedicated server, but to make things easier we are just going to create a second form. So add a Form2 to your project. And add these controls to it.
Type:Â Winsock
Name:Â sockMain
Type:Â TextBox
Name:Â txtPort
Text:Â 12345
Type:Â TextBox
Name:Â txtStatus
MultiLine:Â True
ScrollBars: 3 – Both
Type:Â TextBox
Name:Â txtSend
Type:Â CommandButton
Name:Â cmdListen
Text:Â &Listen
Type:Â CommandButton
Name:Â cmdSend
Text:Â &Send