Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Terminal Server/Citrix question

Posted on 2011-09-26
2
246 Views
Last Modified: 2012-05-12
I have some users that will be accessing an access database from a Citrix Metaframe configration.

When some users login, they will be give a shared directory on the network M:\ drive.
Other users will be given a shared directory on the network U:\ drive.

I don't have any control over this.  What I would like to be able to do is determine through vba if the current user has an active M:\ drive mapped or an active U:\ drive mapped.

Can I do that in vba?
0
Comment
Question by:snyperj
  • 2
2 Comments
 
LVL 10

Expert Comment

by:Michael Vasilevsky
ID: 36623276
Should be able to use Dir()
0
 
LVL 10

Accepted Solution

by:
Michael Vasilevsky earned 500 total points
ID: 36623346
e.g.

If Not Dir("U:\") = vbNullString Then
     'folder exists
else
     'folder doesn't exist
end if
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question