Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Installation File


Message #1 by "George Oro" <george@c...> on Mon, 30 Sep 2002 10:31:51 +0400
Hi Guys,

I'm doing one installation file using access2k because I don't have the Office Developer. I copied  all the necessary files on the
CD plus my SetUp.mde. The SetUp.mde does is, it will create the required directory and copy all the necessary files from the CD to
the newly created directory.

QUESTION:
1) How can I detect if the CD ROM drive I used is D: or E: etc...? because as default I configured it on D: but for most reason some
pc configured their CD ROM in E:, F: etc. and of course its giving me an error.

2) How can I change the file properties from Read-Only to Archive using VBA or any automated process? Because we all knows that, if
we copy any file from the CD to our local drive the file is just Read-only.

Any help or idea is highly appreciated. By the way, anyone here does their SetUp in Access2K, please shared.

TIA,
George

Message #2 by "Wesley Kendrick" <wez.k@n...> on Mon, 30 Sep 2002 16:52:09 +0100
Hi George, I dont know off hand how to detect the drive letter allthough I'm
sure I've seen it somewhere.

Here's the code for setting the attributes, however.

    'set the file attributes to normal
    SetAttr Me![FileName], vbNormal    ' Set hidden attribute.

Hope this helps, regards, Wesley Kendrick

----- Original Message -----
From: "George Oro" <george@c...>
To: "Access" <access@p...>
Sent: Monday, September 30, 2002 7:31 AM
Subject: [access] Installation File


> Hi Guys,
>
> I'm doing one installation file using access2k because I don't have the
Office Developer. I copied  all the necessary files on the
> CD plus my SetUp.mde. The SetUp.mde does is, it will create the required
directory and copy all the necessary files from the CD to
> the newly created directory.
>
> QUESTION:
> 1) How can I detect if the CD ROM drive I used is D: or E: etc...? because
as default I configured it on D: but for most reason some
> pc configured their CD ROM in E:, F: etc. and of course its giving me an
error.
>
> 2) How can I change the file properties from Read-Only to Archive using
VBA or any automated process? Because we all knows that, if
> we copy any file from the CD to our local drive the file is just
Read-only.
>
> Any help or idea is highly appreciated. By the way, anyone here does their
SetUp in Access2K, please shared.
>
> TIA,
> George
>
>


  Return to Index