Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. C# desktop app being shared

C# desktop app being shared

Scheduled Pinned Locked Moved C#
csharpdatabasesysadminquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    classy_dog
    wrote on last edited by
    #1

    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.

    L 2 Replies Last reply
    0
    • C classy_dog

      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.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • C classy_dog

        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.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Please see my comment at http://www.codeproject.com/Messages/5142763/vb-net-desktop-app-on-one-computer-share-by-severa.aspx[^].

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups