Click here to Skip to main content
15,909,091 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionNotSupportedException Pin
Developer6112-Dec-08 10:16
Developer6112-Dec-08 10:16 
AnswerRe: NotSupportedException Pin
Dave Kreskowiak2-Dec-08 10:41
mveDave Kreskowiak2-Dec-08 10:41 
GeneralRe: NotSupportedException Pin
Member 53148902-Dec-08 18:40
Member 53148902-Dec-08 18:40 
GeneralRe: NotSupportedException Pin
Dave Kreskowiak3-Dec-08 1:46
mveDave Kreskowiak3-Dec-08 1:46 
QuestionDynamic picturebox allocation Pin
Umangj2-Dec-08 8:08
Umangj2-Dec-08 8:08 
QuestionPls Reply guyz Pin
Umangj3-Dec-08 2:43
Umangj3-Dec-08 2:43 
AnswerRe: Pls Reply guyz Pin
Paul Conrad3-Dec-08 4:52
professionalPaul Conrad3-Dec-08 4:52 
AnswerRe: Dynamic picturebox allocation Pin
Gideon Engelberth3-Dec-08 3:20
Gideon Engelberth3-Dec-08 3:20 
for (i = 0; i < r * c; i++)
{
    pb[i] = new PictureBox();
    {
        pb[i].Dispose();
    }
                
    pb[i].Image = null;
}


This is almost certainly not doing what you expect. You are creating new PictureBoxes and immediately Disposing them.

this.Controls.Add(pb[k]);


Every control added to a Form stay on the form until you call this.Controls.Remove with the same control. Disposing the control before removing it from the form may cause an exception, so make sure you do it in the right order.
GeneralRe: Dynamic picturebox allocation Pin
Umangj3-Dec-08 15:35
Umangj3-Dec-08 15:35 
QuestionVB6 to VB.NET - DLL function arguments conversion Pin
boris.sclauzero2-Dec-08 6:00
boris.sclauzero2-Dec-08 6:00 
QuestionDoubt on Textbox Control !!!!! Pin
Suave_Shiva1-Dec-08 17:32
Suave_Shiva1-Dec-08 17:32 
AnswerRe: Doubt on Textbox Control !!!!! Pin
Simon P Stevens1-Dec-08 22:51
Simon P Stevens1-Dec-08 22:51 
GeneralRe: Doubt on Textbox Control !!!!! Pin
TJS4u4-Dec-08 19:10
TJS4u4-Dec-08 19:10 
QuestionDataTable.Update throws "duplicate value cannot be inserted into a unique index" Pin
gongchengshi1-Dec-08 12:24
gongchengshi1-Dec-08 12:24 
AnswerRe: DataTable.Update throws "duplicate value cannot be inserted into a unique index" Pin
Dave Kreskowiak1-Dec-08 16:52
mveDave Kreskowiak1-Dec-08 16:52 
QuestionUse of WCF with Frameworks 2.0 Pin
papy-boom1-Dec-08 9:00
papy-boom1-Dec-08 9:00 
AnswerRe: Use of WCF with Frameworks 2.0 Pin
Dave Kreskowiak1-Dec-08 16:50
mveDave Kreskowiak1-Dec-08 16:50 
GeneralRe: Use of WCF with Frameworks 2.0 Pin
papy-boom1-Dec-08 20:02
papy-boom1-Dec-08 20:02 
GeneralRe: Use of WCF with Frameworks 2.0 Pin
Simon P Stevens1-Dec-08 22:47
Simon P Stevens1-Dec-08 22:47 
GeneralRe: Use of WCF with Frameworks 2.0 Pin
Dave Kreskowiak2-Dec-08 1:28
mveDave Kreskowiak2-Dec-08 1:28 
Question.net application hangs under vista Pin
zhyluopro1-Dec-08 7:30
zhyluopro1-Dec-08 7:30 
AnswerRe: .net application hangs under vista Pin
Dave Kreskowiak1-Dec-08 7:40
mveDave Kreskowiak1-Dec-08 7:40 
JokeRe: .net application hangs under vista Pin
Paul Conrad1-Dec-08 11:04
professionalPaul Conrad1-Dec-08 11:04 
GeneralRe: .net application hangs under vista Pin
Mark Churchill1-Dec-08 13:39
Mark Churchill1-Dec-08 13:39 
JokeRe: .net application hangs under vista Pin
Paul Conrad1-Dec-08 13:41
professionalPaul Conrad1-Dec-08 13:41 

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.