=0ASimple. Me.AppPath.
filePath =3D me.apppath & "\data\database.mdb"
Enjoy
Paul Rivers
Northrop Grumman
Information Technology
Raleigh, NC
riverspa@e...
xxx.xxx.xxxx
> -----Original Message-----
> From: bounce-pro_vb-635906@p... at INTERNET
> Sent: Saturday, April 06, 2002 1:24 PM
> To: Rivers, Paul A - Raleigh, NC; pro_vb@p... at INTERNET
> Subject: [pro_vb] Apppath question
>
>
> I am trying to find out how to access the "AppPath" constant
> programmatically...
> I would normally search MSDN but I lost my CD's.
>
> Could someone offer quick help? If you need more background,
> here it is:
>
> I am writing software to accompany a book I have written. I
> need to include an
> Access database file with this distributed application and I
> have no control
> over where and how the user installs the application. I,
> therefore, need a way
> to refer to the database file in whatever folder the
> application was installed
> to or is running from. (I can include the DB file in the CAB
> no problem.)
>
> Thanks!
>
> John Walborn
>
>
>
> File item 2 original document name: Not specified
> File item 2 document type: PCDATA
> File item 2 size (bytes): 1472
>