Click here to Skip to main content
15,927,699 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionhelp required for displaying autocad dwg files in vb6 form Pin
Anil V. Chaudhary2-Apr-08 3:19
Anil V. Chaudhary2-Apr-08 3:19 
GeneralRe: help required for displaying autocad dwg files in vb6 form Pin
Dave Kreskowiak2-Apr-08 3:40
mveDave Kreskowiak2-Apr-08 3:40 
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 
vijaylumar wrote:
but the same error is giving "Access to the path 'D:/mydatapath.txt' is denied"


This is because the user does not have permissions to the root directories of the hard disks. If the data is user specific, use the users profile path (Documents and Settings\userid) in the Application Data folder. Read this[^]


vijaylumar wrote:
cant we give permissions to user at runtime.


No, because the code is running AS the user. A user cannot grant themselves more permissions that they already have.


vijaylumar wrote:
can dotnet frame works CAS security can do any thing for this ....


No, because it has nothing to do with NTFS security and, again, the user cannot grant themselves more permissions than they already have.


A guide to posting questions on CodeProject[^]



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




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 
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 

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.