General information
Category:
ActiveX controls in VFP
>>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only