• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 272
  • Last Modified:

Using COM Connection Points with VB Client

I have a COM Component which needs to notify a Client(VB) iF an event occurs.Although there are examples of using Connection points,I need a brief explanation of how my VB Client will get notified From the COM component and where i can get example code.Also please suggest some good books for this topic(Callabcks and Events in COM).
0
aslamshikoh1
Asked:
aslamshikoh1
  • 2
  • 2
1 Solution
 
primeMover2004Commented:
If you're using managed VB, get Adam Nathan's
.NET and COM: The Complete Interoperability Guide
Here's a sample chapter:
http://www.informit.com/articles/article.aspx?p=25922&seqNum=1

Here's the official version of how to implement connection points using ATL
http://msdn2.microsoft.com/en-us/library/h7kad5hw(VS.80).aspx

This article shows you, how to handle an event in your c++ client, raised by a VB control:
http://www.codeproject.com/KB/COM/vbeventswithvc.aspx

Here's how to declare, raise and consume events in VB6
http://www.developer.com/net/vb/article.php/1430631

0
 
aslamshikoh1Author Commented:
Adam Nathans book seems more specific on Interoperability between COM and .NET.Could you point me to some unamanged clients like VB 6.0 using the ATL ActiveX callback mechanisms.
0
 
primeMover2004Commented:
I've got
Dan Appleman's Developing COM/ActiveX Components With Visual Basic 6
http://www.amazon.com/Applemans-Developing-ActiveX-Components-Visual/dp/1562765760

and I recommend it.
0
 
aslamshikoh1Author Commented:
Thanks PrimeMover
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now