Andrés González López

Contributed works of Andrés González López

Anchor Windows (ON MOUSEDRAG)
Bos Taurus – Incredible !!! 
DEFINE REPORT (with filtered data)
Demo Debug
Generate PDF files
Improved interfaces (Label Button)
My color list (i_color.ch)

FT_HANDCNT

FT_HANDCNT()
 Count number of available DOS (not network) file handles

 Syntax

    FT_HANDCNT() -> nHandles

 Arguments

   None

 Returns

   numeric, long integer

 Description

   FT_HANDCNT() finds the internal DOS Device Control Blocks used for
   storing file information and counts the number of DCB entries.  The
   DCB is set up by reading the FILES= line in CONFIG.SYS, and there
   is one DCB entry for each file handle.

   NOTE: For Novell networks, the number of network file handles is
         controlled by SHELL.CFG.  To date, I know where this information
         is stored after SHELL.CFG has been read, but have not come up
         with a reliable way to retrieve the information.  There is no
         public variable associated with the storage location, and the
         location can change from version to version of NETx.EXE.
         Novell Tech Support's response, though friendly, was "Nope, we
         don't know of a way for you to do it, either.  Good luck."

 Examples

   nHandles := FT_HANDCNT()
   ? "This PC has " + LTRIM( STR( nHandles ) ) + " set by CONFIG.SYS."

 Source: HANDCNT.ASM

 Author: Bob Clarke

 

HMG Samples

About HMG Samples

Language Related

 Arrays

Array Arithmetic

Load / Save ANY array

Conversion

DOS -> Windows Character Conversion

National Issues

National Alternate Collating Sequence

National Change Case

 Windows

Tracking Mouse

Controls

Browse

Quick Search    

Combo box

Dynamic ComboBox

Edit Box

Word wrap in EditBox

 Grid

Get Data Into Grid via IDE

Text Box

Auto fill in text box

Search in and Fill Box (SFilBox) 

Tree

Tree Menu

Two Methods for Tree

Functions

 Drives, Directories and Files

Drives and Directories

Directory List

Fill Directory List

PutFile() with default file name

Messages

HMG Message Functions

Message for multiple values

Message Extended

Where Is It ?

Improvements in Message functions

Miscellaneous

Is application running ?

Get Process ID

Simple Error Handling

Funny

Cuckoo Clock

Untouchable window

Warn Lazy User

Pegs Game

Drawing

Play Draw

Draw Border

Printing

 Text Mode

Using printer under Windows 

Obsolete ways

Send to File

Print File

GUI Mode

HMG Print

 HMG Print ( Mini Print ) for beginners in 10 easy steps

Print a plain text file by HMG Print – 1

HMG Report

HMG HPDF

HMG_HPDF — Bill

Unicode

HMG Unicode

Utilities

Color Codes

DB Validate 

Hex View

Mini Agenda

DBA : Data Base Assistant

Low-Level DBU

x-Base Modul List

Mini Search Machine (2014)