Adrian Baginski's CLR/.Net Examples

Hint: if you wish to look at the ooRexx code with syntax highlighting, then you can use the free and open-source editor "[g]vim", which is available for practically all platforms and can be downloaded from its homepage at http://www.vim.org/.
. <directory> (List of this directory)
Display all of this directory's files and directories.
.. <directory> (List of parent directory)
Display all of the parent directory's files and directories.
viewAll.rxj
This application runs all Rexx examples one by one using "rexxpaws.exe" which will stop at the end of each Rexx example such that the user can see the output of the Rexx example in the console (command line) window. After running the Rexx examples all files produced by them get deleted.
01-systemsounds.rxj
This application demonstrates all available "SystemSounds".
02-streamwriter.rxj
This application creates a new textfile ("02-textfile.txt") in the same directory and writes some text into it.
03-streamreader.rxj
This application opens a file ("02-textfile.txt") and reads from it using different techniques.
Hint: You need to run "02-streamwriter.rxj" first as it creates the text file "02-textfile.txt".
04-messagebox.rxj
Shows a Message Box with a title and a text.
05-messagebox.advanced.rxj
Shows multiple Message Boxes with different button setups.
06-process.demonstration.rxj
This application demonstrates object-oriented process handling. This program takes advantage of the ooRexx package PROCESS.CLS, which it requires.
07-MAC.rxj
This program creates a MAC (a message authentication code) for a message and writes the message (some text) and the MAC into the same file.
08-WebClient.rxj
This application downloads the index html file the supplied URL via http and analyzes it with regards to the html5 and pre-html5 elements.
09-clock.rxj
Continuous output of the current time using an instance of the "System.DateTime" class. Also demonstrates closing the application using the "System.Environment" class.
10-gui.introduction.rxj
This application opens a Windows Form including a label with text and determining its system menu icon.
11-drawing.rxj
This application loads an image from the "images" subfolder, outputs a few of its properties and then resizes the image to 50% and saves it under a different file name ("11-newImage.jpg"), if the user so wishes.
12-savefile.rxj
This application opens a form with a textarea and a save button to save the text as a text file (using a dialog).
13-loadfile.rxj
This application opens a Windows form with a textarea and a "load" button to load a text file via a dialog and display its content in the textarea.
14-menu.rxj
This application opens a form with a menu bar, a menu inside a menu and a button at the bottom of the form.
15-text.to.speech.rxj
This application explicitly loads an assembly ("System.Speech") to become able to use all of its classes. It first reads a default text, then reads the content of the text file "02-textfile.txt" word by word ignoring the first line.
Hint: You need to run "02-streamwriter.rxj" first as it creates the text file "02-textfile.txt".
16-GeoLocation.rxj
This application explicitly loads an assembly ("System.Device") to become able to use all of its classes. It then accesses the location data of the device and if available, tries to infer from the location an address.
images <directory> (List of images)
Display all of the images used in some of these examples.
PROCESS.CLS
An ooRexx package with a Rexx class named "Process" to wrap the functionality of the CLR/.Net class "System.Diagnostics.Process". It can be used to configure and start Windows processes based on information about application, file or using an instance of "System.Diagnostics.ProcessStartInfo".


Rony G. Flatscher, 2016-08-13, Wien/Vienna, Austria, Europe