Capturing \\\\ as entered on custom dialog
Posted: Wed Sep 27, 2006 10:00 am
I have a custom text entry field that requests a Network Share value from the user. The expected format is something like:
\\\\ServerName\\Share
I am capturing the value entered into a variable; however both of the \\\\ characters are not being retained. Only one \\ come through in the variable.
If I enter the value as:
\\\\\\ServerName\\Share (prepending \\\\\\ in the field)
then I get the expected value of:
\\\\ServerName\\Share
So my question is: how do I maintain both the \\\\ characters at the beginning of the text entry without making the user enter \\\\\\?
Any help is appreciated.
Thanks.
\\\\ServerName\\Share
I am capturing the value entered into a variable; however both of the \\\\ characters are not being retained. Only one \\ come through in the variable.
If I enter the value as:
\\\\\\ServerName\\Share (prepending \\\\\\ in the field)
then I get the expected value of:
\\\\ServerName\\Share
So my question is: how do I maintain both the \\\\ characters at the beginning of the text entry without making the user enter \\\\\\?
Any help is appreciated.
Thanks.