LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default api fileopen dialog - lpstrFile size limitation?

I am using Excel to call the win api openfile dialog with the
OFN_ALLOWMULTISELECT flag set (I am selecting multiple files).

Everything works fine until I select too many files, then my function
returns nothing:-(

I have tried increasing the size of the string buffer:
udtStruct.lpstrFile = String(400#, 32)
which runs, but doesn't increase the number of files I can select. Nothing
above about 254 seems to make a difference.

Is this a limitation I am going to have to live with?

Thanks in advance,
Mike Weaver


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel file size limitation Stew_Katz Excel Discussion (Misc queries) 5 April 10th 10 07:45 AM
Userform size limitation Michael Harrer Excel Programming 0 July 9th 04 12:48 PM
Array size limitation? QuocAnh Excel Programming 9 November 21st 03 11:34 PM
Selecting a file path in Excel VBA using FileOpen dialog John Robinson Excel Programming 1 November 1st 03 09:59 AM
SheetSelectionChange Target size Limitation? Guillaume E. Excel Programming 1 September 27th 03 04:34 PM


All times are GMT +1. The time now is 11:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"