Solved

Writing a COM application

Posted on 2014-10-09
3
257 Views
Last Modified: 2014-10-09
Is it possible to write a COM Application using Microsoft Visual Basic ?
0
Comment
Question by:alcindor
3 Comments
 
LVL 12

Accepted Solution

by:
jkaios earned 500 total points
ID: 40371929
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
 
LVL 2

Author Closing Comment

by:alcindor
ID: 40372315
Thank you.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an explanation of a simple data model to help parse a JSON feed
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now