Click here to Skip to main content
15,879,326 members
Home / Discussions / C#
   

C#

 
QuestionASP.Net code won't run Pin
Member 1406015916-Jan-19 11:44
Member 1406015916-Jan-19 11:44 
AnswerRe: ASP.Net code won't run Pin
Pete O'Hanlon16-Jan-19 12:55
mvePete O'Hanlon16-Jan-19 12:55 
GeneralRe: ASP.Net code won't run Pin
Member 1406015916-Jan-19 13:32
Member 1406015916-Jan-19 13:32 
AnswerRe: ASP.Net code won't run Pin
Simon_Whale16-Jan-19 20:57
Simon_Whale16-Jan-19 20:57 
AnswerRe: ASP.Net code won't run Pin
mtoha16-Jan-19 21:14
professionalmtoha16-Jan-19 21:14 
Rant[REPOST] ASP.Net code won't run Pin
Richard Deeming17-Jan-19 1:42
mveRichard Deeming17-Jan-19 1:42 
AnswerRe: ASP.Net code won't run Pin
Krzysztof Krzysztof19-Jan-19 4:14
Krzysztof Krzysztof19-Jan-19 4:14 
QuestionHow can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
arnold_w16-Jan-19 0:47
arnold_w16-Jan-19 0:47 
I'm programming in C# using Visual Studio Express 2005 and my application has a regular WinForms form, which I will refer to as "main form". From this form I create another non-modal form, which I will refer to as "secondary form". I usually have a lot of different application running on my computer and sometimes I want to easily bring the main form to the front from the secondary form. So, in my secondary form I have a button labeled "Show Main Form" and when I click it, it calls mainForm.BringToFront(). If there is some kind of error, then the main form will show a modal error MessageBox, which has the main form as its parent. When this happens, I am unable to click the button on the secondary form. In fact, I can't do anything with the secondary form (it's like it's completely disabled) unless I click Ok on the MessageBox, but to do that I need to first locate the main form, which is difficult because I have so many applications running. Can someone please help me, how can the secondary form still be running as usual when the error MessageBox is showing?
AnswerRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
Mc_Topaz16-Jan-19 1:16
Mc_Topaz16-Jan-19 1:16 
GeneralRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
arnold_w16-Jan-19 1:31
arnold_w16-Jan-19 1:31 
AnswerRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
OriginalGriff16-Jan-19 2:49
mveOriginalGriff16-Jan-19 2:49 
GeneralRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
Pete O'Hanlon16-Jan-19 2:50
mvePete O'Hanlon16-Jan-19 2:50 
AnswerRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
Luc Pattyn16-Jan-19 3:15
sitebuilderLuc Pattyn16-Jan-19 3:15 
GeneralRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
BillWoodruff16-Jan-19 21:43
professionalBillWoodruff16-Jan-19 21:43 
GeneralRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
Luc Pattyn22-Jan-19 7:29
sitebuilderLuc Pattyn22-Jan-19 7:29 
AnswerRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
BillWoodruff16-Jan-19 22:42
professionalBillWoodruff16-Jan-19 22:42 
GeneralRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
arnold_w23-Jan-19 21:33
arnold_w23-Jan-19 21:33 
QuestionMEF Exception Pin
Kevin Marois15-Jan-19 7:45
professionalKevin Marois15-Jan-19 7:45 
AnswerRe: MEF Exception Pin
Nathan Minier16-Jan-19 1:30
professionalNathan Minier16-Jan-19 1:30 
QuestionAccess Db in DataGridView Pin
User 1367511413-Jan-19 7:27
User 1367511413-Jan-19 7:27 
AnswerRe: Access Db in DataGridView Pin
Dave Kreskowiak13-Jan-19 12:03
mveDave Kreskowiak13-Jan-19 12:03 
GeneralRe: Access Db in DataGridView Pin
User 1367511413-Jan-19 22:24
User 1367511413-Jan-19 22:24 
GeneralRe: Access Db in DataGridView Pin
Dave Kreskowiak14-Jan-19 2:46
mveDave Kreskowiak14-Jan-19 2:46 
AnswerRe: Access Db in DataGridView Pin
OriginalGriff13-Jan-19 22:15
mveOriginalGriff13-Jan-19 22:15 
QuestionFind Subnet Mask Pin
Richard Andrew x6412-Jan-19 8:50
professionalRichard Andrew x6412-Jan-19 8:50 

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.