Question Saving settings accesable between two applications

OldItGuy

New member
Joined
Jul 21, 2010
Messages
4
Programming Experience
1-3
Hi I want to build two forms applications: One has no user interface (a service). The other has a user interface and allows configueration of file locations and connection strings etc for the service. I have tried an app.exe.config file and vista performs some sight of hand that stops me seeing the config file (and therefore editing it in the second app) What is the simplest way around this please?
 
First up, if the first app is a service and has no UI, it's not a forms application, is it?

Anyway, just pick a location that is accessible to both apps and put an XML file or whatever in that location. I would suggest under the common app data folder, the path of which you can get using Environment.GetFolderPath.
 
Many thanks for the reply, yes 'I knew that' a windows service is a super set of the windows forms applications without a form, just trying to be susinct (if a little incorrect). I am adopting you suggestion, many thanks.
 
Back
Top