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:
00971144
Views:
77
>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.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform