VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Scan all Folders or Dir and put (create) the list into HTML or PDF file (Update)

Salvo Cortesiano (Italy)  (16 Submissions)   Files/File Controls/Input/Output   Intermediate   Wed 3rd February 2021

Example how scan a Directory's and the relevant sub-directorie's, and create the list of file's in a HTML or PDF file that contains the list of folder's (link) with clickable links!
Note: Clickable links not implemented in PDF File!

Inputs
Option Explicit ' .... Init PDF Class Private myPDF As New clsPDF ' .... Int Count lines Private totPDFPage As Integer ' .... Limit Line for PDF Page Private strLine As Integer ' .... Default = 59 ' .... STOP the recursive Scan Dir Private STOP_PRESSED As Boolean ' .... to Strip a Dir Private Const gstrNULL$ = "" Private Const gstrSpace$ = " " Private Const gstrSEP_DIR$ = "\" Private Const gstrSEP_DIRALT$ = "/" Private Const gstrSEP_EXT$ = "." Private Const gstrCOLON$ = ":" Private Const gstrSwitchPrefix1 = "-" Private Const gstrSwitchPrefix2 = "/" Private Const gstrCOMMA$ = "," ' .... Function Shell files Private Declare Function ShellExecute Lib "Shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long ' .... Constant Private Const SW_SHOWNORMAL = 1

Rate Scan all Folders or Dir and put (create) the list into HTML or PDF file (Update) (2(2 Vote))

Download Scan all Folders or Dir and put (create) the list into HTML or PDF file (Update)

Scan all Folders or Dir and put (create) the list into HTML or PDF file (Update) Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters