I am using SHBrowseForFolder for browsing folders and files will it work on win98/2000 or I have to deploy something with my application?
Printable View
I am using SHBrowseForFolder for browsing folders and files will it work on win98/2000 or I have to deploy something with my application?
It works on Win98 (just tested) but not sure about Win2000 although I'd presume it would.
Other than the application itself and its associated dependency files, you shouldn't have to deploy anything else.Quote:
Originally Posted by xor83
Are you having a deployment issue, or is this just a preliminary curiousity question?
Thanx for rpl :)
No i don't have any deployment issue it just a preliminary curiousity question.
So can i use SHBrowseForFolder for 98/2k platform? or you suggest me to use comdlg which i don't want to use bcuz i don't want to deploy anything. and i also don't want that while using SHBrowseForFolder user face some API error or something else.
You will still have to deploy the VB6 runtimes. Just copying an .Exe from one machine to another won't work, but, if you don't use the Common Dialog then that will be one less file you would have to deploy.Quote:
Originally Posted by xor83
The SHBrowseForFolder only requires the Shell32.dll which is an OS required dll. So it will be there already. This dialog is different from the common dialog control. You can still create a common dialog control without the ocx by creating it in code using all API calls.