Click here to Skip to main content
15,902,939 members
Home / Discussions / C#
   

C#

 
GeneralRe: 'Red Cross' is displayed for non-admin user Pin
Sifar - 06-Jul-09 1:02
Sifar - 06-Jul-09 1:02 
QuestionHow to create new winform with code(without template winform existed)? Pin
mctramp1685-Jul-09 23:52
mctramp1685-Jul-09 23:52 
AnswerRe: How to create new winform with code(without template winform existed)? Pin
stancrm5-Jul-09 23:55
stancrm5-Jul-09 23:55 
AnswerRe: How to create new winform with code(without template winform existed)? Pin
Luc Pattyn6-Jul-09 0:10
sitebuilderLuc Pattyn6-Jul-09 0:10 
Questionhow can i avoid this error while working on c# form application?? Pin
CoderForEver5-Jul-09 23:29
CoderForEver5-Jul-09 23:29 
AnswerRe: how can i avoid this error while working on c# form application?? Pin
Hariharan.T5-Jul-09 23:31
Hariharan.T5-Jul-09 23:31 
GeneralRe: how can i avoid this error while working on c# form application?? Pin
CoderForEver6-Jul-09 20:39
CoderForEver6-Jul-09 20:39 
AnswerRe: how can i avoid this error while working on c# form application?? Pin
Dinesh Mani5-Jul-09 23:56
Dinesh Mani5-Jul-09 23:56 
This generally happens when you make changes to your code when the application is running in debug mode. Since the code has been modified, VS block access to the pdb file and you get a access denied to the .pdb file.

You have the following solutions to this problem
1. As Hariharan had said, do a Rebuild of the solution. This in most cases clears the lock on the pdb file.
2. Locate the pdb file using the windows explorer and delete it and then try build/rebuild from the VS. If you get file is being used error, check if there are any process that are using this file still running using the task manager / process explorer and kill it and re-try.
3. Do a build/rebuild of the solution in "Release" mode and then do a build in "Debug" mode. Not sure if this would work for C# Win Forms, I've done this only on my Web apps.
AnswerRe: how can i avoid this error while working on c# form application?? Pin
ScottM16-Jul-09 6:51
ScottM16-Jul-09 6:51 
GeneralRe: how can i avoid this error while working on c# form application?? Pin
CoderForEver6-Jul-09 20:44
CoderForEver6-Jul-09 20:44 
QuestionInterop call fails when ran from Scheduled tasks Pin
Hariharan.T5-Jul-09 23:19
Hariharan.T5-Jul-09 23:19 
AnswerRe: Interop call fails when ran from Scheduled tasks Pin
SeMartens5-Jul-09 23:22
SeMartens5-Jul-09 23:22 
GeneralRe: Interop call fails when ran from Scheduled tasks Pin
Hariharan.T5-Jul-09 23:26
Hariharan.T5-Jul-09 23:26 
GeneralRe: Interop call fails when ran from Scheduled tasks Pin
SeMartens5-Jul-09 23:31
SeMartens5-Jul-09 23:31 
GeneralRe: Interop call fails when ran from Scheduled tasks Pin
Hariharan.T5-Jul-09 23:39
Hariharan.T5-Jul-09 23:39 
GeneralRe: Interop call fails when ran from Scheduled tasks Pin
SeMartens6-Jul-09 0:16
SeMartens6-Jul-09 0:16 
GeneralRe: Interop call fails when ran from Scheduled tasks Pin
Hariharan.T6-Jul-09 0:53
Hariharan.T6-Jul-09 0:53 
QuestionHow to get Current User IP Address for my Intranet site Pin
kish205-Jul-09 23:12
kish205-Jul-09 23:12 
AnswerRe: How to get Current User IP Address for my Intranet site Pin
Dinesh Mani6-Jul-09 0:06
Dinesh Mani6-Jul-09 0:06 
AnswerRe: How to get Current User IP Address for my Intranet site Pin
Luc Pattyn6-Jul-09 0:14
sitebuilderLuc Pattyn6-Jul-09 0:14 
QuestionAjax collapsible Panel not working for Master page Pin
kish205-Jul-09 22:59
kish205-Jul-09 22:59 
AnswerRe: Ajax collapsible Panel not working for Master page Pin
Blue_Boy5-Jul-09 23:32
Blue_Boy5-Jul-09 23:32 
GeneralRe: Ajax collapsible Panel not working for Master page Pin
kish205-Jul-09 23:44
kish205-Jul-09 23:44 
QuestionProblem with dynamic array of ContextMenu Pin
Nigel Mackay5-Jul-09 22:47
Nigel Mackay5-Jul-09 22:47 
AnswerRe: Problem with dynamic array of ContextMenu Pin
Luc Pattyn6-Jul-09 0:20
sitebuilderLuc Pattyn6-Jul-09 0:20 

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.