Writing a COM application

Is it possible to write a COM Application using Microsoft Visual Basic ?
LVL 2
alcindorAsked:
Who is Participating?
 
jkaiosConnect With a Mentor IT DirectorCommented:
Yes.  On the New Project window, select ActiveX EXE (and if you want your component to be "multi-threaded" then go to the Project Properties and select Thread per Object on the General tab, under the Threading Model frame group).

From then on you can add publicly "exposed" properties and methods to your component, which you (or others can) use later (after you have compiled your project).  Just be sure that once you've released your component ("to the world"), you have to set its version compatibility to "Binary Compatibility" so that later versions won't break applications that use your component.
0
 
alcindorAuthor Commented:
Thank you.
0
All Courses

From novice to tech pro — start learning today.