Problem Fixed - or at least kludged....
The problem was with Vista. I was set up to use UAC (User Account Control) which is a good thing. The only problem was that, when I ran the debugger, it ran in administrator mode - essentiall elevating me to the admin user. This should be fine, but the...
Ok, I did what you suggested. The listbox shows C:\ and D:\ - as I expected (but not what I wanted.) Per your suggestion, I also tried:
Debug.WriteLine(System.IO.Directory.Exists("k:\"))
which returned false in the debug window.
However, if I open windows explorer, I see:
backup...
Hi all,
I have tried almost everything to identify if a folder exists on a mapped drive. It's my guess that there is a setting somewhere causing the problem.
Let's say that I have a drive mapped as drive k:. When I use:
My.Computer.FileSystem.DirectoryExists("k:"))
It says that it doesn't...
Shyfox,
If you look at the solutions example that came with VFP, you will find some examples. For example, if you want to read/write an ini file, you can use:
declare integer GetPrivateProfileString in Win32API ; string cSection, string cKey, string cDefault,; string @cBuffer, ;
integer...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.