GENERATED: AUG 11,2020 - 2:07PM
File To Blob Example [V10.20.08.0289]

Previous Page

This application illustrates two blob functions, JumpStartFileToBlob() and JumpStartBlobToFile(), available from the standard AACHTControlPanel template interface.

Please note, that the code in the EntryPointMain() procedure has very little to do with file to blob or blob to file. This code looks up a file name to be sent to a blob and manages the data base that stores the blob record. Your blob data base may look nothing like the file ZStore that we are using here.

The salient point is that when calling the functions JumpStartFileToBlob() and its inverse, JumpStartBlobToFile(), you are responsible for creating, fetching and saving the data base records in the blob-containing data table. The functions provided, will insert the files to, and extract files independently from, your blob record. Data base I/O is up to you. However the I/O required is standard ABC stuff which you should already know how to do.

We have demonstrated here a couple of HNDDisk class functions to help us with our popup menu, when someone selects a file to be restored or deleted, for example. These have no direct relationship with the two blob functions being demonstrated.

 
PROCEDURE (1):
JumpStartFileToBlob (Procedure Template: HandySourceProcedure)
Count Instance Class Type Methods Header File
(0001) HDisk HNDDisk HND 382 HNDDISK.INC
(1) Class Instances Found In JumpStartFileToBlob


 
PROCEDURE (2):
JumpStartSplash07 (Procedure Template: Splash)
Count Instance Class Type Methods Header File
(0001) HTellMe HNDWindow HND 215 HNDWINDO.INC
(0002) Toolbar ToolbarClass ABC 6 ABTOOLBA.INC
(0003) ThisWindow WindowManager ABC 39 ABWINDOW.INC
(3) Class Instances Found In JumpStartSplash07


 
PROCEDURE (3):
EntryPointMain (Procedure Template: Window)
Count Instance Class Type Methods Header File
(0001) Disk HNDDisk HND 382 HNDDISK.INC
(0002) HWin HNDWindow HND 215 HNDWINDO.INC
(0003) Toolbar ToolbarClass ABC 6 ABTOOLBA.INC
(0004) ThisWindow WindowManager ABC 39 ABWINDOW.INC
(4) Class Instances Found In EntryPointMain


 
PROCEDURE (4):
JumpStartBlobToFile (Procedure Template: HandySourceProcedure)
Count Instance Class Type Methods Header File
(0001) HDisk HNDDisk HND 382 HNDDISK.INC
(1) Class Instances Found In JumpStartBlobToFile


Copyright © 1996-2020
Gus M. Creces, CHT - Clarion Handy Tools
All Rights Reserved Worldwide

chtlogo001.gif
Classes By Procedure