How can I UNpack it so it will exist?
Code: Select all
dir$ = GetCurrentDirectory() ;
resource$ = dir$ +"TICKET.mdb"
PACK$ = "TICKET.RES"
; ***********************************
; REMmed out AFTER I made pack file and unpack was UNremmed!
;
;CreatePack(PACK$)
;AddPackFile(resource$ ,1) ; 0 no compression to 9 HIGHEST Compression
;ClosePack()
; ************************************
; UNremmed after file wsa made and pack routines were REMmed!
;
result = OpenPack(PACK$)
Debug "OPEN PACK FILE = "+Str(result)
For x = 0 To 2 ; I only have 1 file in the PACK but I thought I would count it!
result1 = NextPackFile()
Debug "PACK FILE "+Str(X)+" = "+Str(result1)
Next
ClosePack()


