Solved

Writing a COM application

Posted on 2014-10-09
3
264 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hide vba in gp 7 94
detecting  the added row index in a datagridview 3 70
Definitions and default visual studio colors 5 65
Advice in Xamarin 21 79
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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

770 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