Brilliant - thanks Dave - it's in the mail :) ----- Original Message ----- From: "Dave Crozier" <[email protected]> To: [email protected] Sent: Thursday, 12 March, 2009 08:29:02 GMT +00:00 GMT Britain, Ireland, Portugal Subject: RE: Browse for network share
Paul, Copy me with the source and I'll be more than happy to take a look. I've just had a look through my own archives as I know that somewhere I have exactly what you need but damned if I can find it. Dave Crozier -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Paul Newton Sent: 11 March 2009 19:28 To: [email protected] Subject: Browse for network share Hi all I want to present a user with a dialog from which they can select a network share and I found the following: For VFP: http://www.tek-tips.com/faqs.cfm?fid=1760 For VB: http://vbnet.mvps.org/index.html?code/browse/browsenetwork.htm Critically the BROWSEINFO struct has a property (?) ulFlags. One of the options for this is BIF_NEWDIALOGSTYLE (0x40 in VFP, &H40 in VB). In VB I can get it working (with the new dialog style) but in VFP I get an error "Declare DLL call caused an exception". Any help would be highly appreciated - I can send a zip with all the sources I am using if anybody would be willing to have a look at it ... Many thanks Paul Newton [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

