newObjects (fromerly known as ZmeY soft) newObjects ActiveX Pack1 (AXPack1)
Home Products Docs & Libs
pixel.gif (49 bytes)
Home
Products by category
ALP site
ISAPI filters
ActiveX
Forums (discussions)
Buy direct (RegNet)
Articles and samples
Documentation online
Links
ACOMTools

Read more ...
Click here
ALP is implemented as an Asynchronous Pluggable Protocol. It acts like a WEB server but without need of network. It executes WEB applications such as ASP pages and CGI applications. ALP makes Internet Explorer to be server and client. With ALP you can write stand-alone desktop applications, CD-ROM autoruns, use ASP for pure desktop software and still keep your code ready to run on WEB servers too.
Write desktop software in ASP and CGI!
download it


Webscripts directory

Site navigation
Products
ActiveX components



ISAPI Authenticator

Low cost ISAPI custom authentication filter. It ships with a centralized administration tool and a separate tool that enables customers, hosting their site on your server, to manage user accounts for this site only. New version 1.51 is available (02 Jan 2001)


Highlights of the day
Active Label ActiveX
Barcode ActiveX? Much more - the design and printing inside your WEB application
SQLite3 COM
SQLite3 COM ActiveX embeds the SQLite3 database engine and interface to it. Supports paremeterized views and triggers.
Active Local Pages 1.2
Write desktop apps in ASP and CGI. Create wutorun CDs using WEB technologies - yes it is possible!
ActiveX Pack1 family
Desktop Windows, CE/CE.NET and PocketPC! About 50 powerful components for all the Windows platforms.
AXGate 1.1 (new)
Script dafely any ActiveX in Pocket IE. Build applications in HTML and use local resources and components in them.
IE ScriptBar
Create complex toolbars for Microsoft Internet Explorer easier than you may have expected.

Licensing types legend
(M) Single machine license
(U) Unlimited per-company license
(D) Unlimited development license
(S) Special type of licensing

PC Download World

Quick contact
General
zmeyinc@newobjects.com
Support
support@newobjects.com
Sales
sales@newobjects.com

1000 WebSite Tools

Active visitors
51
Suggested links
Suggest this page to the other visitors. Click the button below to place this page in the list above .

 newObjects ActiveX Pack1 (AXPack1)   
Price: FREEWARE Discount for resalers FREEWARE
Information Download Buy
Overview
Storages and Files
Hosting Active Scripts
Config, INI files and Registry
ALL DOWNLOADS
AXPack1 family samples
Download (SFX 1.8MB PC/PPC)
Download (ZIP 3.1MB PC/PPC)
PC Only (SFX 0.8M)
PC Only (ZIP 1.2M)
CAB (Pocket PC ARM)
CAB (Pocket PC SH3)
CAB (Pocket PC MIPS)
All the downloads

Hosting Active Scripts

See also ALP - component was used to build it.

In the past years we used Active Scripting in many projects developed for our contractors. Versions of this control or other implementations of the scripting hosts helped us to build several interesting applications and plug-ins: GIS server applications, Internet Explorer toolbars and toolbands, Asynchronous Pluggable Protocols and so on. The component presented here implements the most used hosting capabilities and simplifies the hosts implementation.

With ScriptManager2 ActiveX many existing C++ application can be extended to host scripts for a few hours. Of course the developers can choose between simple and very extended scripting features thus the actual amount of time needed depends on your choice.

The primary target of the component are C++ developers, but it can be useful for ASP programming too. It ships with a simple C++ helper classes that can speed the development work and can help to the non-COM programmers to use the component in their projects.

The component packs the most used Active Scripting features need by a hosting program, provides a easy ways to build the named items collection and to add script code. It doesn't cover everything that can be made with the Microsoft's Active Scripting technology, but our experience shows that the features included are the commonly used ones. We are open for the suggestions and other notes.

The new version adds more options and also adds the Script aggregate component that allows scripts in different languages to be treated as like they are written in one single script language. 

Let make a little example - an ASP page hosts other script using the ScriptManager2 component: Suppose you want to create a set of export filters and send to the client some results from the DB in format the user selects:

' Error checking is omitted for brevity
Set host = Server.CreateObject("newObjects.Scphost.ScpMan2")
' Load VBScript language processor
host.LoadEngine "VBScript"
' Get a recordset containing some data
Set db = Server.CreateObject("ADODB.Connection")
Set rst = db.Execute("SELECT * From Table1")
Set sf = Server.CreateObject("newObjects.utilctls.SFMain")
' Create the output file (using memory stream is more convenient)
Set outFile = sf.CreateMemoryStream
' Load the script which will do the extraction
Set f = sf.OpenFile(Server.MapPath(Request("ExportFilter"))
' Add the environment objects to the host
host.Add "Data", rst
host.Add "File", outFile
' Load the script into the host
host.AddText f.ReadText
host.Run
' Suppose filter script defines the content type in its global variable ContentType
Response.ContentType = host.script.ContentType
Response.BinaryWrite outFile.ReadBin(outFile.Size)
' Close files etc.

Now let see a sample export filter:

Public ContentType
' Set the content type of the produced output
' The ASP page will want to see this variable (see above)
ContentType = "text/plain"
' Enumerate the recordset and write comma delimited data for example.
While NOT Data.EOF
  ' Equivalent to WriteLine - writes the text and puts a  at the end
  ' See Storages and Files objects in this pack
  File.WriteText Data("Name") & "," & Data("Age"), 1
  Data.MoveNext
Wend

The benefit is obvious - the filtering scripts can be many. It will be much more convenient to prepare convenient environment for them. Then the other developers will be able to concentrate on the filter functionality and forget about the ASP specifics. Also the same script can be used in another application (non-ASP) - you will need just to initialize the host in the same manner and they will work without any change!



Copyright newObjects (ZmeY soft) 2001-2005