Re: Check for a Folder or Create a New Folder from within vb
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
LondonLad wrote:
I want to save an Access File in a Folder called myDataFile I copied this
from from MSDN but it fails.
My.Computer.FileSystem.CreateDirectory _
("C:\Documents and Settings\All Users\Documents\NewDirectory") changed
NewDirectory to myDataFile
(1) This group is generally inhabited by those of us still living and
working with "VB", up to and including version 6.
The code you posted is "Visual Basic", Our Friends in Redmond's latest
and greatest offering which is /not/ the same thing.
Try a group with "dotnet" in the name, e.g.
microsoft.public.dotnet.languages.vb.
(2) Are you running as an Administrator?
Certainly on Vista, the "All Users" area is /not updatable/ by regular
users.
(3) Will your /users/ be running as Administrators?
Again, on Vista, they will be /unable/ to update the Access [database]
file because it's in a directory that they cannot update (unless you
/make/ it updatable, of course).
HTH,
Phill W.
.
Relevant Pages
- Vista "complaints"
... Recent misconceptions about Vista and UAC posted to the Focus-Apple group, ... administrator, and combined with the many configuration options Vista ... that Win XP gave her the ability to add permissions to her normal ... (Focus-Microsoft) - RE: Vista "complaints"
... Recent misconceptions about Vista and UAC posted to the Focus-Apple group, ... administrator, and combined with the many configuration options Vista ... run an installation file need to do so in admin mode. ... that Win XP gave her the ability to add permissions to her normal ... (Focus-Microsoft) - Re: 2003 Repair / Compact Problem
... I managed to compact/repair and build an ADE without incident several times ... Administrator" should have any impact. ... Currently I have Windows Vista UAC turned off, therefore not sure, without ... repair & compact my 2003 .adp files. ... (microsoft.public.access.adp.sqlserver) - Re: 2003 Repair / Compact Problem
... Administrator", or to always "Run as Administrator" right mouse ... Currently I have Windows Vista UAC turned off, therefore not sure, without ... which I ususually solve by Importing all the objects into a clean ADP, ... although frequently that also gets an Unresponsive error as well. ... (microsoft.public.access.adp.sqlserver) - Re: Installation problem - non-admin users
... I guess I am facing an administrative privileges issue with Vista. ... Log on as an administrator or contact your system administrator. ... The user is going to be asked to give a user-id and psw to an user/admin account. ... The user account for the non-user admin in not an account that has full rights on System32. ... (microsoft.public.windows.vista.security) |
|