2446ASP Intrinsic Objects from within COM Componenthttp://www.stardeveloper.com/com_vb_asp_1.aspBefore beginning I will assume that you have read ASP Component in Visual Basic tutorial and are comfortable with creating simplest of COM component using Visual Basic. If you are not then I recommend having a look at that tutorial because it covers the basics of creating COM component and after reading it you will be able to better understand the following tutorial.ASP > Tips and Tutorials > Component BuildingOct 10, 2006
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.
HttpBrowserCapabilities is a class present in the System.Web namespace. To use it you don't have to create new instance of this class, simply use the one provided by Page.Request.Browser property within the ASP.NET page.
ActiveX DLL for a customer and his website is hosted on a third party server, how are you going to register and unregister the component without having to request the server administrator to do it for you. The latter may even have reservations about this for security or other business reasons
The interface I came up with, is to let the developer enter a directory path (C:inetpubwwwRootDLLs) of their choice, and then iterate thru all the files in that folder and it's subfolders building a list box of all DLL's found.
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.
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.