Hi Agnes,
You'll have to figure out what other permissions/privileges have to be granted to a user.
>
>no, it will not.
>
>I've put all together and run it as a prg
>It prints
>
>Privilege SeBackupPrivilege set
>Error code: 1314
>
>
>The code creates an empty file.
>
>ADVAPI32.dll is version 5.1.2600.2180
>
>What I figured out now:
>
The code works if I login to my computer as admin, but it should work for common users too.
>
--sb--