Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DynaZip with MS Common Dialog control - have a problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00299326
Message ID:
00300086
Vues:
25
The code provided by George Tasker in another thread should work. Can you post a sample of how did you use it?

The string returned in CommonDialogObject.Filename has the following format:
DirectoryName+chr(0)+FirstFilename+chr(0)+FilenameN+chr(0)+Lastfilename
So it doesn't matter that they have spaces, the delimiter character is chr(0).

For a more specific help, please post a sample of your code (where you access CommDlg.Filename and do the parsing).

>Hi everyone,
>
>I found a problem, that I can't find an answer right now. I use DynaZip for archiving from VFP (as was suggested from this forum), and I also use MS Common Dialog Control for obtaining a list of files, which should be archieved. Unfortunately, they use different format for ItemList. So, after obtaining a list of files with MS Common Dlg, I parse the string into an array, using space(1) as a delimiter. This causes a problem if I try, for example, My Documents directory, which contains space itself.
>
>What could be solution here?

Just an opinion... Not a fact.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform