GENERATED: MAY 4,2023 - 8:54AM
File To Blob Example [V10.23.04. 27.00]

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.

Count Global Template Name Qty Global Template Description
(0001) AACHTControlPanel(HNDTools) 1 © CHT AACHTControlPanel • (TIER-1) •
(0002) ApplicationImagesEx(HNDTools) 1 © CHT ApplicationImagesEx • (TIER-1) •
(0003) HNDCMPControlPanel(HNDTools) 1 © CHT HNDCMPControlPanel • (TIER-2) •
(0004) HandyVersionResource(HNDTools) 1 © CHT HandyVersionResource • (TIER-1) •
(0005) INIFile(HNDTools) 1 © CHT INIFile • (TIER-1) •
(0006) VblFileNames(HNDTools) 1 © CHT VblFileNames • (TIER-1) •
(6) Global Templates • (TIER-2)

 1 – Template Type: HandySourceProcedure
  – – Procedure Name: JumpStartFileToBlob()
Count Local Template Name Qty Local Template Description
(0007) EmbedDiskFunctions(HNDTools) 1 © CHT EmbedDiskFunctions • (TIER-2) •
(1) Local Templates • (TIER-2)

 2 – Template Type: Splash
  – – Procedure Name: JumpStartSplash07()
Count Local Template Name Qty Local Template Description
(0008) AppBuildDateTimeStamp(HNDTools) 1 © CHT AppBuildDateTimeStamp • (TIER-2) •
(0009) AppBuildNumberStamp(HNDTools) 1 © CHT AppBuildNumberStamp • (TIER-2) •
(0010) AppCopyRightStamp(HNDTools) 1 © CHT AppCopyRightStamp • (TIER-2) •
(0011) EmbedWindowFunctions(HNDTools) 1 © CHT EmbedWindowFunctions • (TIER-2) • (CODE-TABS) •
(0012) HandyTellMeControl(HNDTools) 1 © CHT HandyTellMeControl • (TIER-2) • (2)
(0013) ProcedureImagesEx(HNDTools) 1 © CHT ProcedureImagesEx • (TIER-1) • (CODE-TABS) •
(6) Local Templates • (TIER-2)

 3 – Template Type: Window
  – – Procedure Name: EntryPointMain()
Count Local Template Name Qty Local Template Description
(0014) CHTBestPracticeEmbedClass(HNDTools) 1 © CHT CHTBestPracticeEmbedClass • (TIER-1) • (CODE-TABS) •
(0015) EmbedDiskFunctions(HNDTools) 1 © CHT EmbedDiskFunctions • (TIER-2) •
(0016) EmbedWindowFunctions(HNDTools) 1 © CHT EmbedWindowFunctions • (TIER-2) • (CODE-TABS) •
(0017) HandyHelpWhatsNew(HNDTools) 1 © CHT HandyHelpWhatsNew • (TIER-1) • (9)
(0018) HandyTellMeControl_EWF(HNDTools) 1 © CHT HandyTellMeControl_EWF • (TIER-2) • (8)
(0019) HandyToolBarGradient(HNDTools) 1 © CHT HandyToolBarGradient • (TIER-2) •
(0020) HandyWindowGradient(HNDTools) 1 © CHT HandyWindowGradient • (TIER-2) •
(0021) PostControlEvent(HNDTools) 3 © CHT PostControlEvent • (TIER-1) • (7)
(0022) ProcedureImagesEx(HNDTools) 1 © CHT ProcedureImagesEx • (TIER-1) • (CODE-TABS) •
(9) Local Templates • (TIER-2)

 4 – Template Type: HandySourceProcedure
  – – Procedure Name: JumpStartBlobToFile()
Count Local Template Name Qty Local Template Description
(0023) EmbedDiskFunctions(HNDTools) 1 © CHT EmbedDiskFunctions • (TIER-2) •
(1) Local Templates • (TIER-2)

Copyright © 1996-2023 - CHT Version: [27B.00.00]
Gus M. Creces, CLARION HANDY TOOLS
All Rights Reserved Worldwide

chtlogo001.gif
Application Templates