Vb.net configuration file for dll

foreach (ConnectionManagerEndpointElement endpointElement in connectionManagerDataSection.ConnectionManagerEndpoints) To debug a VB6 app/exe that uses a .NET dll with a .config file you must create a vb6.exe.config file in the same folder as the VB6 executable. Typically this is C:\Program Files\Microsoft Visual Studio\VB98. How to: Read Application Settings from the Web.config The configuration file should be protected on the server by using Windows security settings to limit who can VB.NET Class Library dll.config File. You'll need to set the configuration data via the application's config file. If your dll file reads from a config file DLL's (Class Libraries) don't use config files. You'll need to set the configuration data via the application's config file. You could, if you really want to, have a class library use a config file, but I don't think that's best practice and kind of defeats the purpose of the class library, IMO. How do you make a vb.net config file for Class dll with variables that the end user can change? I created a dll class library in vb.net using VS 2013 called myClass. I added variables in the settings and made the scope for the application. The user can open config file for editing through File->Edit, modify settings in his favorite editor and then reload these values into the application using File->Reload. The implementation of the config file parser is provided in the SettingsHelper.vb module. One has to start from retrieving the config file handle. Loading settings from config file. I've created a small test application in VB.NET. If you're trying to have user configuration on a per-dll basis then 24/9/2009 · For a client application (i.e. a windows forms application) you normally have one configuration file, and that file is associated with the .exe (appname 24/9/2009 · For a client application (i.e. a windows forms application) you normally have one configuration file, and that file is associated with the .exe (appname