Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Common Dialog: ShowOpen() errors out
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00971064
Message ID:
00971206
Views:
66
>>AFAIK, the default for MaxFileSize is 0; therefore it must be set programmatically anyway.
>
>When I first looked it was set by default at 260 for some reason.
>User retested after I gave them a compiled version with 3000 and that worked.
>I don't know why their design returns all in one long string as oppossed to a collection.
>
>I just take the returned string and send to an array with ALines(). The first element contains the folder they picked (they use deep folders), and the rest of the array elements contain all the selected filenames (unless pick was 1 in which case it contains path+filename altogether).
>
>Of course you probably already knew this but it is what I found while testing the control. Cheers.

Alex,

I think that what you've run into, especially in view of the messages, is the maximum length of the path. This is currently 260 in ANSI.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform