gcue Posted January 10, 2009 Share Posted January 10, 2009 I am trying to use FileSelectFolder to allow the user to type in a UNC path. Unfortunately it doesn't seem to support it (even with the flags). Is there an alternative? Thanks in advance. Link to comment Share on other sites More sharing options...
evilertoaster Posted January 10, 2009 Share Posted January 10, 2009 MsgBox(0,"",FileSelectFolder("Tets","C:\",4)) That seemed to work fine... You can't necessarily browse to it, but if you type it in the edit box it works. What in particular did you mean by 'doesn't support it' ? Link to comment Share on other sites More sharing options...
gcue Posted January 10, 2009 Author Share Posted January 10, 2009 hmmm i get a blank msgbox back... Link to comment Share on other sites More sharing options...
evilertoaster Posted January 10, 2009 Share Posted January 10, 2009 (edited) I do not...what is the path you're typing in to the edit box?(using v3.3.0.0 btw)Edit: Although i do see - Fixed #659: Documented that UNC paths are not supported when using FileSelectFolder(). and it does say that in the help file...Maybe mines just a fluke that it works... (I'm also using Server 2008...maybe it's an API bug they fixed?)Edit2: Humm, also there's this- http://www.codeproject.com/KB/dialog/XBrowseForFolder.aspx Edited January 10, 2009 by evilertoaster Link to comment Share on other sites More sharing options...
gcue Posted January 10, 2009 Author Share Posted January 10, 2009 (edited) im using v3.2.12.1 does the path need to be valid? im not at work so i can test a valid unc path. also this is what im typing: \\d0029232\c$\eservice materials Edited January 10, 2009 by gcue Link to comment Share on other sites More sharing options...
evilertoaster Posted January 12, 2009 Share Posted January 12, 2009 The path does need to be valid, when I type in something that isn't I get a blank string like you do and @error is set to 1. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now