Product Trials Community

Graphical User Interface (GUI) Sample Programs


Filename Description Posted
Reporting.zip This sample program features an AcuBench® Version 7.2 project, containing four sample reports. It demonstrates how to use a Web browser control to display and print HTML reports. It also contains code examples for loading data into a grid and using images in a report table control. Nov. 2006
w$palette.zip This program shows how to use the W$PALETTE library routine to change the background color of a GUI Window. Nov. 2004
multi_select.zip This program demonstrates the use of an ActiveX List-box to allow selecting multiple items. Aug. 2004
AcuODBC_Demo.zip Using AcuODBC WITH VB.NET Jul. 2004
WIN-START-MAX.zip The purpose of this program is to show how a main application window might be coded to detect the screen resolution and then size itself to fill the entire screen area. Mar. 2004
GetObjectDateTime.zip This program will programmatically run cblutil to get information about itself, redirect the information into a line sequential file, then take the date and time information and display it to the screen. Dec. 2003
GetPrinterResolution.zip This program illustrates how to determine a printer's DPI using the WIN$PRINTER library routine. Dec. 2003
MSProgressBarControl.zip This sample program demonstrates the use of Microsoft's ProgressBar Control version 6.0 (SP4). Dec. 2003
Threadds.zip This program illustrates how COBOL can provide the user with the ability to switch application screens by clicking on Taskbar buttons. Nov. 2003
Decimal_Chk.zip This is an example of using an ActiveX control with a Cobol program to disallow a decimal point to be entered into an Integer Entry field. Oct. 2003
GetEnvironment
Variable.zip
This program demonstrates how to call the Windows API
function GetEnvironmentVariableA in kernel32.dll to retrieve the value of an environment variable.
Sept. 2003
key_status.zip This program demonstrates how to call the Windows API function GetKeyStatus in user32.dll to check the status of the Cap lock and Num lock keys. Sept. 2003
layoutmgr.zip This program demonstrates various Layout Manager flags Sept. 2003
Media_Player.zip This program demonstrates the use of the Media Player ActiveX Control in a COBOL program. Aug. 2003
scrollbar.zip This program demonstrates logic used by the scroll-bar control to navigate in a list-box Jul. 2003
smssrc.zip extend®6 has a message for you... Jul. 2003
GridTXT
Viewer.zip
This program demonstrates how to use a Paged GRID control to read and display the contents of a line sequential file, which can be used as a Viewer within a graphical application. Jul. 2003
WIN$PLAY
SOUND.zip
This program demonstrates the use of WIN$PLAYSOUND to play different sounds Jul. 2003
treeview_
expansion.zip
This archive contains 2 programs:
Only_one_open.zip - This program demonstrates how to allow only one branch of the treeview to be expanded at a time. This particularly useful in applications where the branches are very large and expanding more than one branch at a time would force the user to scroll vertically to access the desired branch.
start_full_open.zip - This program demonstrates how to force all the branches of the treeview to be expanded at the initial display of the screen. This may be useful to allow the user to quickly choose the desired item without having to expand the entire treeview or branch manually.
Jul. 2003
Grid_position.zip Demonstrates grid positioning properites Cursor-X, Cursor-Y, X and Y, how to insert and read hidden data, add or remove column/row heading, create a column/row that the user cannot change data in nor navigate to (category GUI Sample Programs) Feb. 2003
MSemail.zip Shows how to send an email using Microsoft Outlook. Oct. 2002
auto-min-win.zip Demonstrates COBOL caling the Windows API to minimize the application window. When all the records have been processed, the window is restored. Oct. 2002
flash-window.zip Demonstrates COBOL caling the Windows API to have the application window's title bar flash. Oct. 2002
speaking.zip Contains some sample code that may be used to generate the COBOL counterpart of the Windows API LPTSTR. Oct. 2002
pagedgrid.zip Demonstrates the use of a paged grid, as well as the use of the Windows registry to store information on the grid. Aug. 2001
email.exe Demonstrates how a COBOL program can send an email message using the Windows Mapi32.dll
July 2001
activexthin.zip Demonstrates how to access client desktop via ActiveX when running with Thin Client Apr. 2001
clipacu.zip Demonstrates how to call a DLL. In this case, the DLL copies and pastes information to the Windows clipboard. Apr. 2001
dragdrop.zip Demonstrates method for implementing drag and drop capability in an ACUCOBOL-GT GUI program. Apr. 2001
gridex.exe Demonstrates the grid control functionality, and is described in Acucorp News, the newsletter sent to Acucorp customers. Apr. 2001
word_ole.zip This program shows how to use ACUCOBOL-GT as an Automation Controller Apr. 2001
grid2.zip Sample grid program which is useful for learning to program a grid control. Apr. 2001
grid-calendar.zip Demonstrates one use of the grid control to make a calendar of events. Apr. 2001
gridemo.zip Demonstrates the many features of the grid control. Apr. 2001
printfont.zip
Demonstrates how to print lines using a different font per line. Program is a modified version of the sample program, showfont.zip. Apr. 2001
scrollbar.zip Example of using the GUI Scroll Bar control. Also demonstrates animated bitmap, Progress Bar and "Twirl Box" controls. Apr. 2001
CobolMail.zip Demonstrates how to use Microsoft's Messaging Application Programming Interface (MAPI) in conjunction with your ACUCOBOL-GT program to create an e-mail facility within the COBOL application. view sample code Oct. 2000
Scrllprg.zip Contains the COBOL code that solves this sample problem: a screen is too big to be displayed all at once. You don't want to break it up into smaller screens; instead, you want the "Page Up" and "Page Down" keys to work so that your clients won't have to use a mouse to navigate around the screen. view sample code Apr. 2000