2449Beginning ATL 3 COM Programminghttp://www.stardeveloper.com/asp_bk_begatl3_1.aspNow, a multitude of languages has its benefits, but the problem it presents to us is that it fragments the marketplace for reusable components. A Java class is of little use to a C++ developer, and a chunk of Visual Basic code won't help a COBOL programmer. If I write a system in C++ today, will that effort be superceded five years from now by the arrival of a new programming language, as yet undreamed? It was issues like these that drove the authors of the Component Object Model (COM) to their solution, which is to use language-neutral, binary components. Subject to a few considerations, this methodology allows developers to write components in whatever language they choose. It's the compiled code that matters, not the source codeASP > Tips and Tutorials > Component BuildingOct 10, 2006
I will presume here that your operating system is Microsoft Windows. You will need a Java compiler, you can download Java Development Kit from Microsoft's SDK for Java web site. It contains the javareg.exe tool which we'll be needing later to register our java classes as COM components. Just make sure you download the latest version.
server-side ActiveX components should not be confused with client-side ActiveX components. A client-side ActiveX component is sent through a network, along with the HTML information, and will only run on Microsoft?s Internet Explorer. Client-side ActiveX components compete with Java components and do not work with Netscape browsers
Now, a multitude of languages has its benefits, but the problem it presents to us is that it fragments the marketplace for reusable components. A Java class is of little use to a C++ developer, and a chunk of Visual Basic code won't help a COBOL programmer. If I write a system in C++ today, will that effort be superceded five years from now by the arrival of a new programming language, as yet undreamed? It was issues like these that drove the authors of the Component Object Model (COM) to their solution, which is to use language-neutral, binary components. Subject to a few considerations, this methodology allows developers to write components in whatever language they choose. It's the compiled code that matters, not the source code
In this tutorial I will guide you step by step in creation of an ASP COM component using Microsoft Visual Basic. After this tutorial you will be able to develop on your own relatively simple components for use in your ASP pages.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.