File Open Dialog in Win7 x64
Has anyone had any success in gstting a browse for file dialog to return the file name and path in Win7 x64?
I have tried Shell.Application, safrcdlg.dll and the IE file open all fail.
Any advice would be greatly appreciated.
Thanks,
Jim
I have tried Shell.Application, safrcdlg.dll and the IE file open all fail.
Any advice would be greatly appreciated.
Thanks,
Jim
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
I use MSComDlg.CommonDialog to present the browsing dialogs.
Looking at an older script I have which uses the Shell.Application object, I noticed the bunch of constants used to define the "view" e.g. SFVVO_SHOWALLOBJECTS and I'm wondering whether these are different for x64?
However, since you're in 64-bit land, you almost certainly have .Net: maybe you can use one of the .Net classes to pop the common dialogs such as FileOpen, FileSaveAs, fonts, all that junk?
Looking at an older script I have which uses the Shell.Application object, I noticed the bunch of constants used to define the "view" e.g. SFVVO_SHOWALLOBJECTS and I'm wondering whether these are different for x64?
However, since you're in 64-bit land, you almost certainly have .Net: maybe you can use one of the .Net classes to pop the common dialogs such as FileOpen, FileSaveAs, fonts, all that junk?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.