Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Terminal Server/Citrix question

Posted on 2011-09-26
2
Medium Priority
?
266 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 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

885 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