Click here to Skip to main content
16,006,341 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralMicrosoft Visual Studio .NET Enterprise Architect and Visio Pin
Michael P Butler9-Jul-02 7:53
Michael P Butler9-Jul-02 7:53 
GeneralCompression classes Pin
Alexandru Savescu4-Jul-02 22:35
Alexandru Savescu4-Jul-02 22:35 
GeneralRe: Compression classes Pin
SimonS5-Jul-02 10:12
SimonS5-Jul-02 10:12 
GeneralRe: Compression classes Pin
Alexandru Savescu8-Jul-02 20:33
Alexandru Savescu8-Jul-02 20:33 
GeneralRegion class and polygons with holes Pin
Oyvind Bratland4-Jul-02 2:52
Oyvind Bratland4-Jul-02 2:52 
GeneralSoftware protection under .NET Pin
Paul Selormey3-Jul-02 22:09
Paul Selormey3-Jul-02 22:09 
GeneralRe: Software protection under .NET Pin
Paul Ingles4-Jul-02 3:13
Paul Ingles4-Jul-02 3:13 
GeneralListView remove item problem. Help please Pin
Brandon Parker3-Jul-02 12:22
Brandon Parker3-Jul-02 12:22 
I call this function to remove the last item in a listview in details view. The problem is that the control is on a tab page, and if i call this function before the control has been viewed(ie. before the tab page with this control is shown), this function fails with the inner exception of message "Object reference not set to an instance of an object", and, the regular exception of "unable to create handle". This only happens if the control is not viewed first. Can someone help me out here.


public void RemoveLastItem()
{
int index = Items.Count;

try {
Items.RemoveAt(index-1);
}
catch(OutOfMemoryException e){ // Error is caught here!! Why ????
#if DEBUG
MessageBox.Show(e.InnerException.Message);
MessageBox.Show(e.Message);
#endif
}
catch(NullReferenceException e){
#if DEBUG
MessageBox.Show(e.Message);
#endif
}
}

QuestiondotNet Future ??? Pin
3-Jul-02 5:58
suss3-Jul-02 5:58 
AnswerRe: dotNet Future ??? Pin
Kevin McFarlane3-Jul-02 12:03
Kevin McFarlane3-Jul-02 12:03 
GeneralRe: dotNet Future ??? Pin
Andy Smith3-Jul-02 15:54
Andy Smith3-Jul-02 15:54 
GeneralRe: dotNet Future ??? Pin
SimonS5-Jul-02 10:15
SimonS5-Jul-02 10:15 
GeneralError when creating MFC wizard app with MS VisualC++ .NET Pin
rsasalm_3-Jul-02 5:17
rsasalm_3-Jul-02 5:17 
QuestionCan we use VC6 to program .NET ? Pin
Prem Kumar1-Jul-02 20:31
Prem Kumar1-Jul-02 20:31 
AnswerRe: Can we use VC6 to program .NET ? Pin
Nemanja Trifunovic3-Jul-02 6:15
Nemanja Trifunovic3-Jul-02 6:15 
AnswerRe: Can we use VC6 to program .NET ? Pin
Nish Nishant3-Jul-02 8:03
sitebuilderNish Nishant3-Jul-02 8:03 
Generalscreen shot of process Pin
SimonS1-Jul-02 2:12
SimonS1-Jul-02 2:12 
GeneralRe: screen shot of process Pin
Richard Deeming2-Jul-02 0:03
mveRichard Deeming2-Jul-02 0:03 
GeneralRe: screen shot of process Pin
SimonS5-Jul-02 10:18
SimonS5-Jul-02 10:18 
GeneralRe: screen shot of process Pin
Richard Deeming7-Jul-02 23:13
mveRichard Deeming7-Jul-02 23:13 
GeneralRe: screen shot of process Pin
SimonS8-Jul-02 0:12
SimonS8-Jul-02 0:12 
GeneralFloatable docking windows Pin
Oyvind Bratland30-Jun-02 22:01
Oyvind Bratland30-Jun-02 22:01 
GeneralRe: Floatable docking windows Pin
SimonS1-Jul-02 2:18
SimonS1-Jul-02 2:18 
GeneralRe: Floatable docking windows Pin
Oyvind Bratland1-Jul-02 21:44
Oyvind Bratland1-Jul-02 21:44 
GeneralFTP Client Pin
30-Jun-02 17:52
suss30-Jun-02 17:52 

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.