Solved

Terminal Server/Citrix question

Posted on 2011-09-26
2
239 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
Comment Utility
Should be able to use Dir()
0
 
LVL 10

Accepted Solution

by:
Michael Vasilevsky earned 500 total points
Comment Utility
e.g.

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

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

771 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now