Re: Deployment Project Question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: GG (bgbills_at_yahoo.com)
Date: 03/29/04


Date: Mon, 29 Mar 2004 23:01:49 +0200

Thanks Charlie. This is just what I needed.

"Charlie" <anonymous@discussions.microsoft.com> wrote in message
news:EC86E521-8A6B-422C-BDF1-DB5040414D75@microsoft.com...
> When dealing with filenames, '..' will get you the parent of the current
folder, so given this structure:
>
> C:\Solution
> Data
> database.mdb
> app1
> app1.exe
> app2
> app2.exe
>
> The path ..\Data\database2.mdb will point to the db when run from either
app. That said, placing your connection string in a config file or some
other location instead of directly in your executable will save you from a
recompile if you decide your db should be located somewhere else.
>
> Charlie
>
>



Relevant Pages

  • RE: Problem deleting old Word file after save as to new file name
    ... variables for the various filenames. ... Works on slow computers but not on fast ones? ... ' Save the doc in the appropriate folder ... call them - even after the file is closed, and these pointers are only ...
    (microsoft.public.word.docmanagement)
  • Re: Speed up one line of code?
    ... subdirectories. ... it returns a cell array rather ... function filenames = dirwithsubdir ... %DIRWITHSUBDIR Lists files in a folder, ...
    (comp.soft-sys.matlab)
  • Re: Cannot delete directory
    ... >>> out of the parent ... >>>>get the true 8.3 filenames. ... >>>>take a closer look for hidden characters in the name. ...
    (microsoft.public.win2000.file_system)
  • RE: Excel help - Find and copy files
    ... the filenames on the spreadsheet only have the filename ... Below is the sample of how files are lined up in the folder ... Does the filenames on the spreadsheet contain the folder and the ... RowCount = RowCount + 1 ...
    (microsoft.public.excel.programming)
  • Re: Creating Directories without AUTO Parent Propagation?
    ... If the parent directory has any specific user settings .. ... Then all new sub folders created below that folder will not have propagation ... As you can see the below script first does as follows.. ... > remove the the check / propagate from parent option.. ...
    (comp.os.ms-windows.nt.admin.security)