C# desktop app being shared
-
In an existing C# desktop 2010 application, I need to have two or more users share the same computer. The users will run the same desktop application but have access to different files and folders on the network share. Each person will have their own unqiue config file to show what files they have access to. Each person has their own Access 2013 database files. That is one of the files the users have access to. Based upon what I have said, I have the following questions to ask: 1. Will I need separate installs of the application on the same computer? Part of the install process includes placing the app.config file in the correct location. If so, can you tell me what I need to do for the separate installs? 2. If I do not need separate installs, what should I do about the separate app.config files? Each person's config file will point to files they directly have access to. I do not want each person to access the other person's config file.
-
In an existing C# desktop 2010 application, I need to have two or more users share the same computer. The users will run the same desktop application but have access to different files and folders on the network share. Each person will have their own unqiue config file to show what files they have access to. Each person has their own Access 2013 database files. That is one of the files the users have access to. Based upon what I have said, I have the following questions to ask: 1. Will I need separate installs of the application on the same computer? Part of the install process includes placing the app.config file in the correct location. If so, can you tell me what I need to do for the separate installs? 2. If I do not need separate installs, what should I do about the separate app.config files? Each person's config file will point to files they directly have access to. I do not want each person to access the other person's config file.
1. No, you should only need one install of the application. However each user will need their own app.config file so the application knows which files to access. 2. See 1. Alternatively you could put information in the app.config file to identify which files/directories to associate with which user.
-
In an existing C# desktop 2010 application, I need to have two or more users share the same computer. The users will run the same desktop application but have access to different files and folders on the network share. Each person will have their own unqiue config file to show what files they have access to. Each person has their own Access 2013 database files. That is one of the files the users have access to. Based upon what I have said, I have the following questions to ask: 1. Will I need separate installs of the application on the same computer? Part of the install process includes placing the app.config file in the correct location. If so, can you tell me what I need to do for the separate installs? 2. If I do not need separate installs, what should I do about the separate app.config files? Each person's config file will point to files they directly have access to. I do not want each person to access the other person's config file.