Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DynaZip with MS Common Dialog control - have a problem
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00299326
Message ID:
00300086
Views:
24
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform