I have a little question about application settings. I have a regular expression in my code which should be customizable by the user so I made an application setting for it. The regular expression is used in a class in the project and has the following
Dim email_regularex As String
So now I made a new Settings file in my project and gave the following value for this string in the settings file:
So when i do this in Visual Studio 2008, Visual Studio automatically creates a app.config xml file with the right settings in it.
But when I start my application and use the regular expression like this:
Match = Regex.Match(email, email_regularex)
MsgBox("Please enter a valid email address like: firstname.lastname@example.org"
the application break
View Complete Post