Learn More
Search site for:
News »
Scroll Up for Recent News
APPX 5.4.5 Available
APPX 5.4.5 is available for download from..

[Read Full Article]


APPX 5.4.4c Available
APPX 5.4.4c is available for download from..

[Read Full Article]


APPX 5.4.4 Available
APPX 5.4.4 is available for download from..

[Read Full Article]


APPX 5.4.3 Available
APPX 5.4.3 is available for download from..

[Read Full Article]


Amsterdam 2015 Conference Presentations available
We received some good feedback from the..

[Read Full Article]


CWI Announces Amsterdam Appx Training/Conference
We are pleased to announce an Appx Training..

[Read Full Article]


CWI Announces Appx Training
We are pleased to announce an Appx Training..

[Read Full Article]


Appx Software Announces New Price List Effective May 1, 2014
ASI has a price list effective May 1, 2014 ..

[Read Full Article]


Reconnect with Appx - Conference April 7-11
ASI has announced an upcoming conference April 7-11 in Atlanta...

[Read Full Article]


End of Support for 4.2.x Approaching
Due to the difficulty in supporting old releases and ...

[Read Full Article]


Amsterdam Presentations and Pictures Available!
We received some good feedback from the customers...

[Read Full Article]


Amsterdam Conference Registration Open!
Registration is now open for our Amsterdam Conference...

[Read Full Article]


Panama Conference A Success!
The Appx Conference held in Panama Feb 20-22 was well received...

[Read Full Article]


Panama Conference Registration Open!
Registration is now open for our Panama Conference...

[Read Full Article]


Appx Conferences in 2013!
Following the recent release of APPX 5.2, CWI is pleased to announce....

[Read Full Article]


Appx 5.2 Available
ASI has announced the availability of APPX release 5.2....

[Read Full Article]


Supported Releases
Release 5.1 of Appx is well on the way and ....

[Read Full Article]


APPX Conference Update
The Conference and Training session is over now....

[Read Full Article]


APPX 20th Birthday Celebration and Conference
ASI is pleased to announce the APPX 20th Birthday Celebration....

[Read Full Article]


Panama Conference in 2011
The Appx Release 5 Training and Conference was well attended...

[Read Full Article]


ASI Launches new Beta Progam
Appx Software, Inc has launched a new beta program ...

[Read Full Article]


Appx 5.0 Released!
The long awaited Release 5 of Appx is available ...

[Read Full Article]


Appx 5.0 Beta for Windows is Ready!
The Windows version of Appx Release 5.0 Beta is ready...

[Read Full Article]


Appx 5.0 Linux Beta is Ready!
Appx Release 5.0 Beta is ready. This Release includes ...

[Read Full Article]


Caylx Retires from Distribution
Following 33 years of working with the SPEED I, SPEED II and APPX...

[Read Full Article]


Appx Blog
Appx Blog Online
ASI has started a blog! This is an excellent way...

[Read Full Article]


Appx Conference 2007
We're pleased to report that our first European APPX Conference proved to be...

[Read Full Article]


Appx Conference 2007
Still haven't decided if the Appx Conference is for you? First of all, it's a great way...

[Read Full Article]


CWI Hosts European Conference
For some years now, ASI has been hosting tremendously successful APPX conferences in the USA...

[Read Full Article]


4.2.a Patch
ASI announces the APPX 4.2.a Patch Release is now available for download ...

[Read Full Article]


New Registration Format
ASI provides a new format for emailed APPX registrations. Registrations are now being sent as text file attachments to...

[Read Full Article]


Conference Results
Another conference is over, and once again it provided an excellent opportunity to network, learn and socialize with VARs and customers from around the world...

[Read Full Article]


Appx Conference
You are cordially invited to join your APPX colleagues and friends at the newest "episode" of the bi-annual conference, called "APPX EX-ZOO-BERATION 2006"!...

[Read Full Article]


Minicom Joins CWI
CWI is delighted to welcome Minicom Software House Ltda, located in Brazil, to its reseller network!

For over 25 years, Minicom's team of consultants has been involved in the development and...

[Read Full Article]


Sadden Joins CWI
Sadeen Computerized Systems is an integrated solutions provider which has been offering management control software, security systems and access control software to SMEs for a number of years. Now, however...

[Read Full Article]


SWS Joins CWI
CWI is pleased to welcome SWS Software Service in Austria to its reseller network! SWS has been a very successful SPEED II reseller since 1983 and has been working with APPX since...

[Read Full Article]


Sintec Joins CWI
CWI is pleased to welcome Sintec, S.A. de C.V. from Mexico to its reseller network!

[Read Full Article]


Scroll Down for Archived News


A | B | C | D | E |F | G | H | I | J | K | L | M | N | O | P
Q | R | S | T | U | V | W | X | Y | Z


Where are We?

There are times when it would be handy to be able to tell exactly where we are while a JOB (or any other process family) is running. For example, if an overflow error occurs, it would be useful to be able to identify the process name, type, frame, etc, in order to report the error. APPX provides the PDF's --- PROCESS NAME and --- PROCESS TYPE, but there aren't any PDF's that identify the frame, image, or frame class. However, there is a way to do it using some special RT calls. Consider the following subroutine called WHERE ARE WE:

SET  1EX WORK PROC NAME = --- PROCESS NAME
SET  1EX WORK PROC TYPE = --- PROCESS TYPE
SUBR 1EX WHERE ARE WE (FRAME/IMAGE) SUBPROCESS END? N FAIL 0
First we save the process name and type into some work fields, and then call another subroutine via a SUBR command. These three lines *must* be invoked via a GOSUB or COPY command. Both the GOSUB and COPY commands actually copy the code into the calling routine, so the PDF's PROCESS NAME and PROCESS TYPE will refer to the parent process, not the subroutine called WHERE ARE WE. The RT calls that identify the frame, image, etc, always identify the last parent process, therefore in order to get the information on the process we really care about, we have to put those calls in another subroutine and invoke that routine as a separate process, thus making the current process the latest parent (Confused yet?). Here is the WHERE ARE WE (FRAME/IMAGE) routine:

    SET     1EX WORK IMAGE NO =
    SET     1EX WORK FRAME NO =
    * save work fields so not to disturb calling program
    STORE   --- TEMP 1 FIELD
    STORE   --- LI FIELD
    * get frame no
    SET     --- LI =
    PASS    --- LI FIELD SHARE? Y
    CALL    ,RT_GET_FRM_SNO RESIDENT? Y END? N FAIL 0
    SET     1EX WORK FRAME NO = --- LI
    * get image no
    SET     --- TEMP 1 =
    PASS    --- TEMP 1 FIELD SHARE? Y
    CALL    ,RT_GET_ALT_IMG_NO RESIDENT? Y END? N FAIL 0
    CNV BIN 1EX WORK IMAGE NO = --- TEMP 1
    * get frame class
    SET     --- TEMP 1 =
    PASS    --- TEMP 1 FIELD SHARE? Y
    CALL    ,RT_GET_FRM_CLASS RESIDENT? Y END? N FAIL 0
    CNV BIN --- LI = --- TEMP 1
    * Value of LI corresponds to Token values for Frame Class
    IF      --- LI EQ 0
T   SET     1EX WORK FRAME CLASS = RECORD
    IF      --- LI EQ 1
T   SET     1EX WORK FRAME CLASS = RANGE-START
    IF      --- LI EQ 2
T   SET     1EX WORK FRAME CLASS = RANGE-END
    IF      --- LI EQ 3
T   SET     1EX WORK FRAME CLASS = PAGE-START
    IF      --- LI EQ 4
T   SET     1EX WORK FRAME CLASS = PAGE-END
    IF      --- LI EQ 5
T   SET     1EX WORK FRAME CLASS = REPORT-START
    IF      --- LI EQ 6
T   SET     1EX WORK FRAME CLASS = REPORT-END
The code is self explanatory. Since this is invoked as a SUBR, a RETURN statement is not required (nor can it be used).

When required, you can perform a GOSUB XXX WHERE ARE WE, and the work fields PROCESS NAME, PROCESS TYPE, FRAME NO, IMAGE NO and FRAME CLASS will identify your location.


Windows Desktop Integration

The 4.1 Java Client provides some extremely useful Windows desktop integration features, such as sending and receiving files to or from a user's PC and opening a document on the user's PC. Consider the following code:

SET 	-- TEMP 79 =     http://www.appx.com
PASS 	-- TEMP 79 FIELD SHARE N
SUBR  	-- LOAD FILE ON CLIENT DETACHED N END? N
This will cause Windows to invoke the default web browser and open the specified web page. You can also pass the name of a file, and so long as Windows knows what program is associated with that file extension, it will automatically load that program and pass the file name as an argument to it. For example, we could pass a file name such as 'budget.xls' and Windows will open the budget.xls document in Excel. This behaves exactly the same as the 'start' command in DOS. For example, you could open a DOS box and type 'start budget.xls', and Windows would do the same thing: start Excel and load the budget.xls document.

If the file you want to open is not associated with the right program (or any program at all), you can also pass the name of the program to be used, prefixing it with an '@'. For example, passing '@keavt.exe cansys' will cause Windows to load the KeaTerm terminal emulation program and open the 'cansys' profile. In some cases, Windows may not be able to find the 'exe' file, so you may have to provide the full path name.

But what if you need more control over the program you want to start, such as specifying a starting directory, or other attributes? Windows Shortcuts might provide the answer. Simply create a shortcut with the parameters you need, and then pass the name of the shortcut file itself, i.e., '@c:\windows\startm~1\window~1.lnk'. This will run the 'Windows Update' commonly found on most 'Start' menus. Note that you cannot use long file names with embedded spaces in this case. You must use the 8.3 DOS file names to correctly run the shortcut.





For additional information, contact tips@cwi-appx.com

[back to top]