Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Common Dialog: ShowOpen() errors out
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00971064
Message ID:
00971149
Vues:
63
>>You need to add:
>>
>>oleCommDlog.MaxFileSize=40 && or similar value

>
>
>Funny you mentioned it. <g>
>I had tested with picking 5 or 6 files. A few minutes before seeing youir message they called me. It crashed with not enough size. I then saw the maxFileSize property defaults to 260. They had selected a whole directory andthe filenames are quite long.
>
>I increased the max a lot and it seems to be working now. Will add a try..catch to avoid the OLE error crash.
>
>Thanks for the info.

AFAIK, the default for MaxFileSize is 0; therefore it must be set programmatically anyway.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform