Source code from the fourth Hot Shareware CD (3 of 4)

Source code from the fourth Hot Shareware CD (3 of 4)

🌐 Leer en español

💿 Hot Shareware 04 · January 1996 · Pro: Lenguaje Basic · 20 ZIP

In 1995 you learned to program by reading other people’s code: C, assembly, Turbo Pascal, Delphi 1 and Clipper passed around BBSes, from Hot Shareware CD 04 (January 1996). For each ZIP we show Hobby Press’s description and the first lines of its main file.

All the sheets: 1 · 2 · 3 · 4

Professional Programmers Development System

PPDS.ZIP

Professional Programmers Development System. Herramienta para programadores QuickBasic. Permite generar código fuente para interfaces gráficas de usuario de forma fácil.

PrintObj

PRINTSET.ZIP → PRINTOBJ.PAS

PrintObj. Control para Delphi. Permite ajustar diversas propiedades de la impresora en curso a través de programa.

unit PrintObj;
  {unit to programmatically set printer options so that user does not}
  {have to go to the Printer Options Dialog Box}
  {Revision 1.0}
  {-- in the next revision I intend to put more memory checks and add}
  {   exception handling}
  {   any other suggestions?  e-mail CIS70600,3451 or easalgad@icsi.net}
interface
uses
  Printers, WinTypes;
            {see the WinTypes unit for constant declarations such as}
            {dmPaper_Letter, dmbin_Upper, etc}
type
  TPrintSet = class (TObject)

Property Expert

PROPEXP.ZIP → PROPEXP.PAS

Property Expert v1.0, Jonathan D. Weisberg. Herramienta que implementa nuevas características de menú con ayuda, que permite la creación de componentes con propiedades de Delphi.

LIBRARY PropExp;
{
   Property Expert Version 1.0 (C)1995 Sutron Corporation, (703)406-2800, August 2, 1995
   Written by: Jonathan D. Weisberg, CIS:74710,1675
   Language  : Delphi for Windows version 1.0
   Sutron develops mission critical Windows programs for environmental real-time data
   collection which multi-task and run for extended periods. We also offer a complete
   line of data recorders, sensors, and RTUs for control applications. Call and ask
   for a sales person or a catalog if you are interested.
   You may make changes to this source code and executable as long as you do not delete
   or change the information in this header or remove the (C)1995 Sutron Corp from the
   property form. If you re-distribute a changed version, please comment any changes
   you make in the area reserved below...
   The executable may be freely distributed, executed, and copied.

ObjectSet Custom Controls

QOBJSET.ZIP

ObjectSet Custom Controls. Conjunto de controles Visual Basic que permiten invocar funciones a nivel de formulario fuera del mismo. Ello permite encapsular los formularios sin necesidad de utilizar variables globales para las comunicaciones, evitando el conflicto de nombres de variables y matrices de gran tamaño.

QuickReport for Delphi

QREP093C.ZIP → MAIN.PAS

QuickReport for Delphi. Componentes para Delphi para facilitar la impresión de informes y previsualización de aplicaciones Delphi.

unit Main;
interface
uses
  SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
  Forms, Dialogs, StdCtrls,Testrep,md_rep, ExtCtrls,printers, DBCtrls, DB,
  DBTables;
type
  TTQuickReportDemo = class(TForm)
    PreviewBtn: TButton;
    PrintBtn: TButton;
    PrintDialogChk: TCheckBox;
    Bevel1: TBevel;
    DemoLabel: TLabel;
    Label1: TLabel;

Record Locking

RECLOCK.ZIP → RECLOCK.BAS

Record Locking. Librería DLL para aplicaciones de bases de datos desarrolladas con Visual Basic. Permite añadir bloqueos de registros. Esta versión de demostración esta límitada a 2 tablas y el número de registros simultáneos bloqueados es de 3 por tabla.

Option Explicit
Declare Function locking_open Lib "reclock.dll" (ByVal filename$, ByVal nTables%, ByVal nRecs%) 
Declare Function locking_close Lib "reclock.dll" () As Integer
Declare Sub locking_resetAll Lib "reclock.dll" ()
Declare Sub locking_resetUser Lib "reclock.dll" (ByVal user$)
Declare Function locking_err Lib "reclock.dll" () As Integer
Declare Function locking_lock Lib "reclock.dll" (ByVal tableNo%, ByVal oid$, ByVal user$, ByVal 
Declare Function locking_unlock Lib "reclock.dll" (ByVal tableNo%, ByVal oid$) As Integer
Declare Function locking_isLocked Lib "reclock.dll" (ByVal tableNo%, ByVal oid$) As Integer
Declare Sub sysLocking_lockedBy Lib "reclock.dll" Alias "locking_lockedBy" (ByVal tableNo%, ByVa
Sub locking_lockedBy (ByVal tableNo%, ByVal oid$, user$, timestamp$)
    Const USER_LEN = 20
    Const TIMESTAMP_LEN = 20
    Dim userLen%, timestampLen%, d%

RotateLabel

ROTATEL.ZIP → ROTATEL.PAS

RotateLabel. Versión de demostración de un control Delphi para orientar etiquetas en cualquier ángulo.

unit Rotatel;
interface
uses
  SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
  StdCtrls, Menus;
type
  TRotateLabel = class(TCustomLabel)
  private
    fAngle: longint;
    fDegToRad, fCosAngle, fSinAngle: double;
    procedure SetAngle(Value: longint);
  protected
    procedure Paint; override;
  public

ReportPrinter

RPRINTER.ZIP → RPDEMO.TXT

ReportPrinter. Grupo de componentes para Delphi que simplifica la creación de informes profesionales. No requiere DLL’s, VBX’s o EXE’s extra ya que los informes son escritos y compilados en la misma aplicación para una mayor facilidad de distribución y rapidez de ejecución.

Introduction
Congratulations!  You've made an excellent choice. ReportPrinter was designed to give the power 
Installation
Installing the ReportPrinter component suite is an easy process. If you have installed an older 
Step 1: Backup the component library file called COMPLIB.DCL in your \DELPHI\BIN directory. If y
Step 2: Copy the files in the INSTALL sub directory found on the distribution disk into a direct
Step 3: Load up Delphi and select Options|Install Components from the Delphi menu bar. Once the 
Step 4: Click OK to return to the Install Components dialog box and then click OK to accept the 
NOTE: If you want to change the component page that the ReportPrinter components are installed i
Component Overview
TReportPrinter
The TReportPrinter component is the primary reporting component and sends report output directly
The OnBeforePrint and OnAfterPrint events are called before and after the print job is active an
Printing the body of the report is done with one of two event handlers: OnPrint and OnPrintPage.

Status Bar Demo

SBARDEMO.ZIP → STATBAR.BAS

Status Bar Demo. Versión de demostración de una barra de estado para Visual Basic.

Option Explicit
'***************************************************************
'*   Name of File:      STATBAR.BAS                            *
'*   Author:            M. John Rodriguez                      *
'*   Date Created:      May 07, 1995                           *
'*   Last Modified:     Aug 18, 1995                           *
'*   Current Version:   3.00.00                                *
'***************************************************************
'   Questions or Comments are welcome!
'   M. John Rodriguez
'     CIS ID: 100321,620
'   Internet: jrodrigu@cpd.hqusareur.army.mil
'           : 100321.620@compuserve.com
'

SIPP

SIPP.ZIP → RENDERIN.C

SIPP v2.1, Jonas Yngvesson y Inge Wallin. Librería C que permite la creación de escenas en 3D y la renderización usando un algoritmo de scan-line z-buffer.

/**
 ** sipp - SImple Polygon Processor
 **
 **  A general 3d graphic package
 **
 **  Copyright Jonas Yngvesson  (jonas-y@isy.liu.se) 1988/89/90/91
 **            Inge Wallin      (ingwa@isy.liu.se)         1990/91
 **
 ** This program is free software; you can redistribute it and/or modify
 ** it under the terms of the GNU General Public License as published by
 ** the Free Software Foundation; either version 1, or any later version.
 ** This program is distributed in the hope that it will be useful,
 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

“The SNIPPETS Collection

SNIP9510.ZIP → C_FAQ.TXT

“The SNIPPETS Collection. Este archivo contiene cerca de 500 ficheros separados, más de 65.000 líneas de código fuente C/C++ en su mayoría. Todos ellos de dominio público y Freeware. Incluyen las mejores respuestas a la clásica pregunta “”¿Cómo hacer…?”” en C/C++. ¡Indispensable!”

From scs@eskimo.comTue Aug  1 23:05:49 1995
Date: Tue, 1 AUG 1995 13:37:49 GMT
From: Steve Summit <scs@eskimo.com>
Newsgroups: comp.lang.c, comp.answers, news.answers
Subject: comp.lang.c Answers to Frequently Asked Questions (FAQ List)
Archive-name: C-faq/faq
Comp-lang-c-archive-name: C-FAQ-list
URL: http://www.eskimo.com/~scs/C-faq.top.html
Copyright 1990-1995 by Steve Summit; see the full copyright notice at
the end for redistribution information.
[Last modified August 1, 1995 by scs.]
WARNING: A major update to this FAQ list is imminent, probably on
September 1, 1995.  Many questions will be rearranged and renumbered;
the sections may be rearranged and renumbered, also.  If you're in the

quickFX

SSQFX.ZIP → README.TXT

quickFX. Control VBX que dibuja marcos 3D en ventanas y cuadros de diálogo. Un buen complemento para los controles 3D como THREED.VBX.

     -Note- For easiest viewing, please run Notepad, maximize it,
      load this file, and set the /Edit /WordWrap option on.
                   -Description of quickFX-
   quickFX is a VBX that paints 3-D borders on your windows or dialogs in keeping with Microsoft
                   -Purchasing quickFX-
   quickFX is not shareware, although you can distribute it freely.  You must purchase a full li
  To order quickFX, mail $15.00 (in a check or money order payable to Stonewall Software) to the
->  Stonewall Software
->  Rt. 1, Box 203
->  Bridgewater, VA 22812
   See the file LICENSE.TXT for legal information.
                   -Info on Using quickFX-
   (You can only use quickFX if you purchase a full license from Stonewall Software; see above.)
   Before you try to use the quickFX custom control, make sure that a copy of QFX.VBX is in your

MsgHook

SUBCLS.ZIP → README.TXT

MsgHook. Control VBX que permite a las aplicaciones Visual Basic de 16-bit interceptar mensajes de Windows. Incluye 8 programas ejemplo.

README.TXT - Read-me file for SUBCLS.ZIP
------------------------------------------------------------------------
NOTE: Use -d when unzipping SUBCLS.ZIP to have subdirectories recreated.
------------------------------------------------------------------------
Subclassing Examples, Copyright (c) 1995 Jonathan Wood and Karl Peterson
Redistributed by Permission
INTRODUCTION:
The accompanying files provide several examples of using a subclassing
control with Visual Basic to intercept Windows messages. Emphasis is
placed on those messages that result in functionality that cannot be
obtained through Visual Basic alone.
These files include complete source code for an article in the September
1995 issue of Visual Basic Programmer's Journal (tentatively entitled
"Subclass your way around VB's limitations"). Refer to that article for

T4 Text Library Util/VBX

T4TXTLIB.ZIP → PACKING.LST

T4 Text Library Util/VBX v1.0.0.5. Versión de demostración de esta librería. Su desarrollo presenta una nueva forma de gestionar los textos desde aplicaciones Visual Basic.

packing.lst   packing.lst   L   1     500
read.me       read.me       L   1     200
;;;commdlg.dl_   commdlg.dll   SL  0   90000
mhrun400.dl_  mhrun400.dll  SL  1   94384
t4cmplr.dl_   t4cmplr.dll   SL  1   17552
t4images.dl_  t4images.dll  SL  1   22128
t4text.dl_    t4text.dll    SL  1   26544
cmdialog.vb_  cmdialog.vbx  SL  1   18688
mhgchk.vb_    mhgchk.vbx    SL  1   28416
mhgcmd.vb_    mhgcmd.vbx    SL  1   23776
mhgfrm.vb_    mhgfrm.vbx    SL  1   14896
mhglbl.vb_    mhglbl.vbx    SL  1   21632
mhglbx.vb_    mhglbx.vbx    SL  1   89120
mhgopt.vb_    mhgopt.vbx    SL  1   29568

ThunderBolt

TBOLT111.ZIP

ThunderBolt. Conjunto de 40 herramientas de desarrollo de calidad profesional para Visual Basic. Provisto de un control de alineación de herramientas, diseño de cuadros de diálogo, etc.

TipButton

TIPBTN.ZIP

TipButton. Herramienta para VB que permite la creación de barras de herramientas con etiquetas identificativas (los clásicos mensajes que aparecen al permanecer durante un determinado período de tiempo con el cursor del ratón parado sobre un control). Incluye ejemplo y archivo de ayuda.

Tool Menu

TOOLMENU.ZIP

Tool Menu. Herramientas para los menús de Visual Basic para ejecutar aplicaciones usadas frecuentemente.

Transition Effects Demo

TRANFX.ZIP

Transition Effects Demo. Demo interactiva de un componente de Delphi que permite incorporar efectos de transición y mostrar presentaciones en las aplicaciones.

TTCODE

TTCODE.ZIP → MODBLAST.C

Herramienta en Visual Basic que muestra cómo añadir / quitar la barra de título en tiempo real; cómo mover sin barra de título; crear una forma totalmente transparente; crear y mostrar un menú sin un menú normal en VB; usar PIZAZZ.VBX para crear controles 3D, marcas, botones de opción; leer y escribir archivos INI y varios ejemplos de aplicaciones para Windows. Incluye el código fuente.

//---------------------------------------------------------------------------
// modblast.c
//---------------------------------------------------------------------------
// Contains control procedure for ModBlaster control
//---------------------------------------------------------------------------
#define  NOCOMM
#include <windows.h>
#include <vbapi.h>
#include <string.h>
#define CTL_DATA
#include "modblast.h"
//---------------------------------------------------------------------------
// Global Variables
//---------------------------------------------------------------------------

VB HelpWriter Lite

VBHW20D.ZIP

VB HelpWriter Lite. Herramienta para la creación automatizada de ficheros ayuda para Windows. Incluye editor WYSIWYG, por lo que no es necesario ningún procesador de textos. Esta versión de demostración está limitada a ficheros con 30 tópicos como máximo.

The programs belong to their authors: we only review them here. If you have the CD, the file is at the path shown; the CRC32 lets you check your copy is intact.

💿 The whole CD 04

Did you have this CD or the magazine? Tell us in the Telegram group: Telegram group

Enjoyed it? Follow us on social media

We post new things every week: don't miss them.

YouTubeFacebookXInstagramTelegram