Windows Develop Bookmark and Share   
 index > Windows Forms General > problem with Configuration files and windows services
 

problem with Configuration files and windows services

how can one go about using a config file for a windows service.  when i use the ConfigurationSettings.Appsettings["Interval"] it returns a null

the config file is 
.
.
.
<add key="Interval" value=12000 />
.
.
.
MigrationUser 1  Thursday, September 02, 2004 4:40 PM
Is it called "app.config"?
MigrationUser 1  Thursday, September 02, 2004 7:44 PM
i used the name of the file MyNewService.exe.config. 
MigrationUser 1  Friday, September 03, 2004 1:14 AM

You can use google to search for other answers

Custom Search

More Threads

• Catch a click outside the form
• Loading a DataViewGrid to a List<>
• DataRepeater AutoScrollPosition fails to redraw
• Webbrowser : specify new pDisp to NewWindow
• Blank ressource string when localizing
• Index was out of range. Must be non-negative and less than the size of the collection.
• VS-Like sliding window!
• Why SHIFT in Shortcuts in TextBox?
• printing controls
• remove disconnected devices