Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #2307

Re: File Location

From GS <gs@v.invalid>
Newsgroups comp.lang.basic.visual.misc
Subject Re: File Location
Date 2016-12-06 15:02 -0500
Organization A noiseless patient Spider
Message-ID <o275do$u28$1@dont-email.me> (permalink)
References <peo54c963vh94du2gt0gvctamvfh08kvmu@4ax.com> <o25is8$goi$1@dont-email.me> <cked4cl02bps1hfnnscp0d1ccet9sbvl44@4ax.com>

Show all headers | View raw


> Gary,
> While I'm thinking about this. My program on the initial run looks to
> see if the data file(s) exist. If they don't then it creates all the
> sub-directories below where the program resides. At some point the OS
> then changes\copies the .mdb files and puts them (I think) into the
> user directory. When they start the program again it opens the
> original file but makes the changes\updates to the one down in the
> user directory, then it looks like the changes were nver saved to the
> user.As long as the program is running the updates\changes stay.  
> This is why I asked if changing the file extenion to something other 
> than .mdb the OS won't recognize the file as a data file and leave it
> alone.

I agree with Jim's reply! Note that I mention my installer *sets folder 
permissions* for the target install folder (and its subfolders).

Tough call as to where you install to and where your app files are 
stored but means you have to disburse your files. Things were nicer 
when we could keep everything in one place, and so this is my 
preference and is why my installer sets folder permissions. (Mostly 
because they are portable -can be run from a memstik- and so do not use 
the Registry to store settings. Makes things simple when everything is 
in one folder!)

The installer also only replaces certain app files if they don't exist; 
-its the app's job to manage user data files it creates!

-- 
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
  comp.lang.basic.visual.misc
  microsoft.public.vb.general.discussion

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

File Location HarryC <h.caulkett@comcast.net> - 2016-12-03 10:28 -0500
  Re: File Location GS <gs@v.invalid> - 2016-12-06 00:39 -0500
    Re: File Location HarryC <h.caulkett@comcast.net> - 2016-12-06 07:10 -0500
    Re: File Location HarryC <h.caulkett@comcast.net> - 2016-12-06 08:25 -0500
      Re: File Location Jim Mack <no-ube-uce@mdxi.com> - 2016-12-06 09:57 -0500
        Re: File Location HarryC <h.caulkett@comcast.net> - 2016-12-06 15:45 -0500
      Re: File Location GS <gs@v.invalid> - 2016-12-06 15:02 -0500
        Re: File Location HarryC <h.caulkett@comcast.net> - 2016-12-06 20:41 -0500
          Re: File Location Jim Mack <no-ube-uce@mdxi.com> - 2016-12-06 21:43 -0500
          Re: File Location GS <gs@v.invalid> - 2016-12-06 23:49 -0500
            Re: File Location HarryC <h.caulkett@comcast.net> - 2016-12-07 05:04 -0500
              Re: File Location Jim Mack <no-ube-uce@mdxi.com> - 2016-12-07 07:30 -0500

csiph-web