Solved

Writing a COM application

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

690 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