Click here to Skip to main content
15,904,986 members
Home / Discussions / C#
   

C#

 
AnswerRe: CheckBox in ListView Pin
Christian Graus5-May-08 22:09
protectorChristian Graus5-May-08 22:09 
QuestionIndexers Pin
Steve Declerck5-May-08 20:44
Steve Declerck5-May-08 20:44 
AnswerRe: Indexers Pin
Vikram A Punathambekar5-May-08 20:59
Vikram A Punathambekar5-May-08 20:59 
GeneralRe: Indexers Pin
Steve Declerck5-May-08 23:15
Steve Declerck5-May-08 23:15 
AnswerRe: Indexers Pin
PIEBALDconsult6-May-08 6:05
mvePIEBALDconsult6-May-08 6:05 
QuestionWorkFlow Project In Visual Studio 2005 Pin
Thaer Hamael5-May-08 19:29
Thaer Hamael5-May-08 19:29 
AnswerRe: WorkFlow Project In Visual Studio 2005 Pin
John_Adams5-May-08 20:57
John_Adams5-May-08 20:57 
GeneralRe: WorkFlow Project In Visual Studio 2005 Pin
Thaer Hamael6-May-08 1:20
Thaer Hamael6-May-08 1:20 
AnswerRe: WorkFlow Project In Visual Studio 2005 Pin
Abhijit Jana5-May-08 22:06
professionalAbhijit Jana5-May-08 22:06 
AnswerRe: WorkFlow Project In Visual Studio 2005 Pin
Abhijit Jana5-May-08 22:31
professionalAbhijit Jana5-May-08 22:31 
GeneralRe: WorkFlow Project In Visual Studio 2005 Pin
Thaer Hamael6-May-08 1:19
Thaer Hamael6-May-08 1:19 
QuestionPicturebox question Pin
MarkB7775-May-08 19:29
MarkB7775-May-08 19:29 
AnswerRe: Picturebox question Pin
Christian Graus5-May-08 20:07
protectorChristian Graus5-May-08 20:07 
AnswerRe: Picturebox question Pin
Yevgen Lisovenko5-May-08 20:16
Yevgen Lisovenko5-May-08 20:16 
GeneralRe: Picturebox question Pin
Christian Graus5-May-08 22:00
protectorChristian Graus5-May-08 22:00 
GeneralRe: Picturebox question Pin
MarkB7776-May-08 15:05
MarkB7776-May-08 15:05 
QuestionPrompt user for Input Pin
Thomas Toh5-May-08 19:04
Thomas Toh5-May-08 19:04 
AnswerRe: Prompt user for Input Pin
Christian Graus5-May-08 19:09
protectorChristian Graus5-May-08 19:09 
GeneralRe: Prompt user for Input Pin
Thomas Toh5-May-08 19:15
Thomas Toh5-May-08 19:15 
GeneralRe: Prompt user for Input Pin
Christian Graus5-May-08 20:07
protectorChristian Graus5-May-08 20:07 
QuestionCreating wrapper class dynamically Pin
Member 40084925-May-08 18:07
Member 40084925-May-08 18:07 
AnswerRe: Creating wrapper class dynamically Pin
Vikram A Punathambekar5-May-08 20:52
Vikram A Punathambekar5-May-08 20:52 
QuestionPossible to map printers from print server with C#? Pin
Jacob Dixon5-May-08 16:20
Jacob Dixon5-May-08 16:20 
AnswerRe: Possible to map printers from print server with C#? Pin
chitosan8-Feb-09 4:35
chitosan8-Feb-09 4:35 
QuestionUnauthorizedAccessException.. Pin
mahi2435-May-08 14:48
mahi2435-May-08 14:48 
Hi,

I am trying to create a new log file in my exe folder through StreamWriter class, but I am getting the following exception. I have full access to the folder, but dont know why I am getting this.
My OS is Vista. Any quick help will be appreciated.

{System.UnauthorizedAccessException: Access to the path 'C:\Users\mah\Documents\Visual Studio 2005\Projects\sampleproj\bin\Debug' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)

Thanks.

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.