Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Terminal Server/Citrix question

Posted on 2011-09-26
2
Medium Priority
?
262 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
[X]
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
  • 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 2000 total points
ID: 36623346
e.g.

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

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

705 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