Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Zip Files
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Zip Files
Divers
Thread ID:
00892528
Message ID:
00892528
Vues:
56
I have some code below which extracts the file names from a zip file and list them in a list box. Well that is what it is supposed to do!!! Can anybody help as to why this is not working?

Many Thanks
oShell = CREATEOBJECT("Shell.Application")
oFld = oShell.NameSpace("C:\temp\test.zip")
oIts = oFld.Items
t = 0
FOR EACH oFile IN oIts
	t = t + 1
	DIMENSION arrFNames(t)
	arrFNames(t) = oFile.Name
ENDFOR

with thisform.list1
 .RowSourcetype = 5
 .Rowsource = 'arrFNames(t)'
 .ColumnCount = 1  
endwith
Neil Lewis
IT R&D Manager
Velmore Ltd
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform