Hey any docs or idea about implementing COM interfaces in VB
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I recommend reading "VB COM" by Thomas Lewis from Wrox Press.  He gives an excellent description of COM, the articecture of COM and how to implement COM interfaces in Visual Basic. He also explains ActiveX, DCOM, MTS, as well as COM+. This book will help you write better Visual Basic programs.  I strongly recommend this book for all Visual Basic programmers.

ninoopaulsAuthor Commented:
johny please get me any URLS

Creation of an interface in VB.

Ad a new class to your project. Give it a meaningful name like IMyClass.

If the class is created inside an ActiveX component then set the instancing property to: PublicNotCreateable.

Add your properties and methods to the class.

You can implement this interface in another class by using the Implements keyword like Implement IMyClass.
The compiler now checks for implementation of the specified interface in the current class.

Feel free to ask if you need more information about the above or how to use interface based programming.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Another good book for VB programmers and COM is Developing COM/ActiveX Components with Visual Basic 6 by Dan Appleman.
ninoopaulsAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.