943,769 Members | Top Members by Rank

Ad:
Jul 12th, 2004
0

How do i do chat program using MFC (Microsoft Foundation Classes) and Visual Basic?

Expand Post »
Dear,
Currently i'm doing a project to design a chatting program using MFC( Microsoft Foundation Classes) and Visual Basic (VB). Just wondering, could you help me with this topic?
Your attention kindly appreciated.
Thank you.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
shwutyng is offline Offline
1 posts
since Jul 2004
Jul 30th, 2004
0

Re: How do i do chat program using MFC (Microsoft Foundation Classes) and Visual Basic?

Hi everyone,
I am not very sure about vb but as for c++ you can try and use sockets
thus by creating your very own descended class and using their onconnect, onclose
and onreceive functions.

Yours Sincerely

Richard West
Reputation Points: 25
Solved Threads: 10
Practically a Master Poster
freesoft_2000 is offline Offline
623 posts
since Jun 2004
Mar 5th, 2008
0

Re: How do i do chat program using MFC (Microsoft Foundation Classes) and Visual Basi

I'm doing this same program for school but don't know where to start when it comes to client/server interaction.

I need to simply send text and/or emoticons using an MFC developed application in C++.

Thanks in advance for any help I can get.

PS: if someone could make a quick tutorial that would be amazing.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
syncy is offline Offline
8 posts
since Mar 2008
Mar 5th, 2008
0

Re: How do i do chat program using MFC (Microsoft Foundation Classes) and Visual Basic?

Quote ...
using an MFC developed application in C++.
then why did you say visual basic?
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 574
Moderator
jbennet is offline Offline
16,505 posts
since Apr 2005
Mar 5th, 2008
0

Re: How do i do chat program using MFC (Microsoft Foundation Classes) and Visual Basi

Click to Expand / Collapse  Quote originally posted by jbennet ...
then why did you say visual basic?
In my reply to the thread I hadn't explicitly mentioned visual basic, only C++, but apologies for the confusion.

I've set-up a simple MFC window and I know how to call another dialog from that main dialogue, but as far as the actual "chat" and "chat session" stuff, I have no idea where to start. Any ideas?
Reputation Points: 10
Solved Threads: 1
Newbie Poster
syncy is offline Offline
8 posts
since Mar 2008
Mar 5th, 2008
0

Re: How do i do chat program using MFC (Microsoft Foundation Classes) and Visual Basic?

oh i see - i just got confused because i assumed it was your thread

use winsock for the chat
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 574
Moderator
jbennet is offline Offline
16,505 posts
since Apr 2005
Sep 14th, 2011
0
Re: How do i do chat program using MFC (Microsoft Foundation Classes) and Visual Basic?
use CSocket object overide its onreceive method .use send method to send data and receive method to receive it...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mayurbonde is offline Offline
1 posts
since Sep 2011
Sep 14th, 2011
0
Re: How do i do chat program using MFC (Microsoft Foundation Classes) and Visual Basic?
Click to Expand / Collapse  Quote originally posted by mayurbonde ...
use CSocket object overide its onreceive method .use send method to send data and receive method to receive it...
I'm sure your heart is in the right place, but you may wish to check the dates of the threads before you post.
Reputation Points: 298
Solved Threads: 81
Posting Pro
BitBlt is offline Offline
596 posts
since Feb 2011

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Elp
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: MS Access ADO Connection Problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC