473,324 Members | 2,313 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Does access have an application path?

How can I access the application path in access 2000?
curdir shows me the documents abd settings directory.

I want to be able to access the directory where my .mdb is put using code.

Thanks

Nov 12 '05 #1
2 6228
"Jim's wife" <ta*****@mindspring.com> wrote in news:6ktPb.52510$OM2.12783228
@news4.srv.hcvlny.cv.net:
I want to be able to access the directory where my .mdb is put using code.


CurrentProject.Path

--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
Nov 12 '05 #2
I don't have access to a 2000 version to test this right now, but 97 can
use...

Application.SysCmd(acSysCmdAccessDir)
to determine the folder path that msaccess.exe is in.

If you want the path of the database you are working in try reading the Name
property of the CurrentDb object.

Mike Storr
www.veracccess.com

"Jim's wife" <ta*****@mindspring.com> wrote in message
news:6k**********************@news4.srv.hcvlny.cv. net...
How can I access the application path in access 2000?
curdir shows me the documents abd settings directory.

I want to be able to access the directory where my .mdb is put using code.

Thanks

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: John G | last post by:
How can I Programmatically access maximum path, file, and sum of both lengths? I am using VB.NET 2003. The PathTooLongException indicates that a path < 248 characters, filename < 260...
8
by: John Baker | last post by:
Hi: I have a situation where I need to programmatically open an Access application from an Access applications on the same system. Eventually the second application will close and return control...
5
by: Frank Rizzo | last post by:
How to get Application Path? I can't really use System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase because it returns the path in the file://c/winnt/.../filename.exe format,...
3
by: ALI-R | last post by:
Hi The default direcoty when debugging the appication is always "...\myC#proramme\bin\Debug" and cuases problem because my xml files are in "...\myC#proramme" . Is there a way of getting the...
2
by: Vladimir | last post by:
subject -- Vlad
5
by: Bernard Bourée | last post by:
How to obtain the runing application path ? -- Bernard Bourée bernard@bouree.net
9
by: dennist685 | last post by:
I created a web project named 'Access' in C:\Inetpub\wwwroot\Access and dropped an .mdb there. I dragged a DetailView to the form, configured it to show two fields of a table, and got...
3
by: SAL | last post by:
Hi, I have Microsoft Enterprise Library 2005 installed on my local system. I'm developing in C# using Visual Studio 2003 IDE with framework 1.1. I am automating a process that will use a DLL...
6
by: =?Utf-8?B?UGF1bA==?= | last post by:
I am getting an "Access to the path "xxxx" is denied error. I believe is because the file that I am writing to programatically is being read/written to by another end user. These files have the...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.