Samples for Net Express / Server Express
 


Contents


COM/DCOM (OLE Automation)

Download
Description
Date
Size (bytes)
maildemo.zip

Use Object Cobol and Net Express to send emails from your applications.

01/10/2001 11.500
officedemo.zip

Use Net Express to create a Cobol application that creates a chart in Excel and copies and pastes it into Word using OLE automation (step through the code and notice the Object Cobol syntax).

01/10/2001 1.223
faxdemo.zip send a fax from a Cobol application using Symantec's WinFax 9.0 04/12/2001 7.409
combean.zip An ActiveX / Java Bean combination Cobol class that can be used both from an ActiveX (COM) and a Java client 07/01/2002 22.326

readonlyword.zip

produce protected ("read only") documents in Word for preview purposes 28/03/2003 12.288


Web Development

Download
 Description
Date
Size (bytes)
web_csbind.zip

A web application that uses client/server bindings to separate the CGI program from the core business logic. Can be run on Windows and Unix.

05/10/2001 26.325
onlineshop.zip

This is a CGI demo application that illustrates how you can build an on-line shop using Cobol technology.
It demonstrates all the basic features in an on-line shop, such as
- Catalogue search through different product categories
- Add products to customer's cart
- A (very basic) payment system

01/12/2001 171.925

dotnet1.zip

 

This demo illustrates how you can use Microsoft's .Net Framework to develop applications that use Cobol business logic. Cobol and .Net interoperability is achieved through Net Express’s capability to create COM objects.

The specific application comprises of a Cobol "Shopping Basket" object that offers some basic facilities (init, add product, fetch product, empty basket etc) and a ASP.NET page that uses this object through VB code
(a C# demo will follow shortly)

01/12/2001 15.017

cgi-vars.zip

A CGI program that illustrates how you can accept an HTTP environment variable, like remote host name etc. 18/02/2002 7.807
RecordSet.zip Cobol / COM interoperability demo that shows how you can emulate a recordset's behaviour between Cobol and ASP (or any ActiveX enabled client) 18/02/2002 14.821


Java and Cobol

Download
 Description
Date
Size (bytes)
cobolswing.zip

Demo that illustrates how you can use Cobol / Java interoperability available in Net Express 3.1 and Server Express 2.0.1x to call a Cobol object from a Java application. The Java interface is built using Swing.

24/10/2001 27.276
coboljsp.zip This demo illustrates how you can use Cobol / Java interoperability available in Net Express 3.1 and Server Express 2.0.1x to call a Cobol object from a Java Server Pages (JSP) application. 26/10/2001 6.851
combean.zip An ActiveX / Java Bean combination Cobol class that can be used both from an ActiveX (COM) and a Java client 07/01/2002 22.326


Dialog System

Download
Description
Date
Size (bytes)
progressbar.zip

Demo that shows how you can use a progress bar control from a Dialog System application.

05/10/2001 22.614
richeditdemo.zip

Use Dialog System and Object Cobol to create a lightweight editor for Rich Text Format (RTF) files. Can be imported to any existing Dialog System application.

05/10/2001 70.454
ds_csbind.zip A GUI application built with Dialog System that uses client/server bindings to separate the presentation layer from the core business logic. Can be run on Windows and Unix. 19/11/2000 13.059

dbgrid1.zip

This demo illustrates how you can use a bounded database grid from a Dialog System application. 14/12/2001 29.223



Printing for Windows

Download
 Description
Date
Size (bytes)
prndemo.zip

Print to laser printers using Net Express PC_PRINT_ library routines. The demo prints text and a bitmap, allowing you to select the destination printer and font.

01/11/2001 14.431



File Handling and Fileshare

Download
 Description
Date
Size (bytes)
extfilemap.zip

Use External File Mapper (mfextmap) to associate logical and physical data file names

02/11/2001 9.883
fs-advanced1.zip

Fileshare advanced features demo. Including :
1. Use of "local" data files (not under Fileshare's control)
2. Fileshare security facility

28/12/2001 8.192
linkedsqlserver.zip  Use two SQL Server databases from one connection 28/03/2003 8.192



Database Access

Download
 Description
Date
Size (bytes)
DynamicTable.zip

Use dynamic SQL statement syntax available in Net Express / Server Express to dynamically create a SQL Table.

02/11/2001 6.048
PersistXML.zip XML Peristence demo using OpenESQL and DataDirect's ODBC drivers 11/03/2002 5.639



XML

Download
 Description
Date
Size (bytes)
XML & CobSQL Read data using COBSQL from Oracle and write an XML file 6/10/2003 16.751

 

For any problems in this page, or questions about the samples please contact Panos Zotos, Syntax IT, Athens, Greece