Solved

Writing a COM application

Posted on 2014-10-09
3
274 Views
Last Modified: 2014-10-09
Is it possible to write a COM Application using Microsoft Visual Basic ?
0
Comment
Question by:alcindor
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create .bat File 16 92
all the possible sequences for numbers 1,2,3,4,5,6,7,8,9,10 in groups of 5. 5 62
CSV file copy field 1 to field 2 2 60
Example code 13 41
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

737 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