Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

VB.net Getting "My Documents folder on company network

Hi

I use the following code to get the "My Documents" folder

Dim MD as string = System.Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)

When I install my application on certain users machines on a company network it finds a drive on the network eg "F:" instead
of the usual "My Documents" folder on the C drive.

Why would this be?
ASKER CERTIFIED SOLUTION
Avatar of ChloesDad
ChloesDad
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Murray Brown

ASKER

Thanks. Is there code that I can use that only looks for the "My Documents" folder on your C drive?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks very much