I have created two string application settings for DatabaseName and DatabaseServer by right clicking the project, choosing properties then settings. I have saved and rebuilt the project. I then enter the following code:
into the load section of my login form (I want to move this to the DAL, but trying to test it first) None of the settings I've set appear when I type the period following "My.settings". Am I missing something? Also, I notice that when I do this in the DAL, I get an larger selection of properties and methods, but still not my settings.
2nd part of question: If I define application settings in my main project, will they be accessible to referenced projects like the DAL, assuming I can even get the original project to recognize them?
Code:
dim strDBName as string = my.settings.
into the load section of my login form (I want to move this to the DAL, but trying to test it first) None of the settings I've set appear when I type the period following "My.settings". Am I missing something? Also, I notice that when I do this in the DAL, I get an larger selection of properties and methods, but still not my settings.
2nd part of question: If I define application settings in my main project, will they be accessible to referenced projects like the DAL, assuming I can even get the original project to recognize them?