PDA

View Full Version : My Network Places in QFileDialog



AlHadr
9th November 2009, 13:00
How can I get My Network Places to appear in the sidebar of the non-native QFileDialog?

yogeshgokul
9th November 2009, 14:01
How can I get My Network Places to appear in the sidebar of the non-native QFileDialog?

I dont think so its possible easily. There are few tools available for that.
One of them is only for windows called shell browser.
Click here for more info. (http://www.jam-software.com/delphi/)

squidge
9th November 2009, 15:38
You will need to create an instance of IShellFolder interface and then pass the ParseDisplayName method of that interface the path of "::{208D2C60-3AEA-1069-A2D7-08002B30309D}" (CSID of "My Network Places). You can then use EnumObjects method to retrieve the contents and add them to the non-native QFileDialog.