Click here to Skip to main content
15,896,314 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questiongiving permissions to user to access file in vb.net 2.0 Pin
vijaylumar2-Apr-08 1:06
vijaylumar2-Apr-08 1:06 
GeneralRe: giving permissions to user to access file in vb.net 2.0 Pin
pmarfleet2-Apr-08 11:59
pmarfleet2-Apr-08 11:59 
GeneralRe: giving permissions to user to access file in vb.net 2.0 Pin
vijaylumar3-Apr-08 1:33
vijaylumar3-Apr-08 1:33 
GeneralRe: giving permissions to user to access file in vb.net 2.0 Pin
Dave Kreskowiak3-Apr-08 3:17
mveDave Kreskowiak3-Apr-08 3:17 
GeneralRe: giving permissions to user to access file in vb.net 2.0 Pin
vijaylumar3-Apr-08 18:40
vijaylumar3-Apr-08 18:40 
GeneralRe: giving permissions to user to access file in vb.net 2.0 Pin
Dave Kreskowiak4-Apr-08 1:43
mveDave Kreskowiak4-Apr-08 1:43 
Questiongiving permissions to user to write/read the files Pin
vijaylumar2-Apr-08 1:02
vijaylumar2-Apr-08 1:02 
GeneralRe: giving permissions to user to write/read the files Pin
Dave Kreskowiak2-Apr-08 3:38
mveDave Kreskowiak2-Apr-08 3:38 
What's the full path to file file your trying to write?? There are certain sections (subdirectories) of the file system that normal users cannot write to, so your code should not be attempting to write to files in these sections.

Keep in mind that any code you launch impersonates you, inheriting your security context. In other words, if your user ID doesn't give you permissions to write a file to a directory, any application you launch won't magically get those permissions.



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




Generalfor CrystalReport Pin
Krazy Programmer2-Apr-08 0:13
Krazy Programmer2-Apr-08 0:13 
GeneralConvert an Image, encoded in hex, back to an image file Pin
ESTAN2-Apr-08 0:12
ESTAN2-Apr-08 0:12 
GeneralRe: Convert an Image, encoded in hex, back to an image file Pin
ESTAN2-Apr-08 0:41
ESTAN2-Apr-08 0:41 
GeneralRe: Convert an Image, encoded in hex, back to an image file Pin
Luc Pattyn2-Apr-08 0:55
sitebuilderLuc Pattyn2-Apr-08 0:55 
GeneralArray to listbox an back to an array Pin
Fatboy581-Apr-08 23:58
Fatboy581-Apr-08 23:58 
GeneralRe: Array to listbox an back to an array Pin
Luc Pattyn2-Apr-08 0:59
sitebuilderLuc Pattyn2-Apr-08 0:59 
GeneralRe: Array to listbox an back to an array Pin
Fatboy582-Apr-08 1:15
Fatboy582-Apr-08 1:15 
GeneralRe: Array to listbox an back to an array Pin
Luc Pattyn2-Apr-08 1:18
sitebuilderLuc Pattyn2-Apr-08 1:18 
GeneralRe: Array to listbox an back to an array Pin
Fatboy582-Apr-08 1:24
Fatboy582-Apr-08 1:24 
GeneralRe: Array to listbox an back to an array Pin
Luc Pattyn2-Apr-08 1:29
sitebuilderLuc Pattyn2-Apr-08 1:29 
Generaldatabase display in windows application Pin
tanya20011-Apr-08 23:05
tanya20011-Apr-08 23:05 
GeneralRe: database display in windows application Pin
Vimalsoft(Pty) Ltd2-Apr-08 2:38
professionalVimalsoft(Pty) Ltd2-Apr-08 2:38 
GeneralConverting Msflexgrid content to Excel Pin
aaraaayen1-Apr-08 20:30
aaraaayen1-Apr-08 20:30 
GeneralRe: Converting Msflexgrid content to Excel Pin
Dave Kreskowiak2-Apr-08 3:34
mveDave Kreskowiak2-Apr-08 3:34 
Questionweb service access control Pin
Ismaeel1-Apr-08 16:08
Ismaeel1-Apr-08 16:08 
GeneralRe: web service access control Pin
Dave Kreskowiak2-Apr-08 3:32
mveDave Kreskowiak2-Apr-08 3:32 
GeneralFind PivotTable in Excel Pin
Bomb_shell1-Apr-08 9:58
Bomb_shell1-Apr-08 9:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.