Click here to Skip to main content
15,894,539 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Pyramid of Asterisk - Reverse? Pin
Yolande MR5-Dec-11 9:17
Yolande MR5-Dec-11 9:17 
GeneralRe: Pyramid of Asterisk - Reverse? Pin
David Crow5-Dec-11 8:44
David Crow5-Dec-11 8:44 
GeneralRe: Pyramid of Asterisk - Reverse? Pin
Yolande MR5-Dec-11 8:49
Yolande MR5-Dec-11 8:49 
QuestionRe: Pyramid of Asterisk - Reverse? Pin
David Crow5-Dec-11 9:04
David Crow5-Dec-11 9:04 
AnswerRe: Pyramid of Asterisk - Reverse? Pin
User 74293385-Dec-11 8:45
professionalUser 74293385-Dec-11 8:45 
GeneralRe: Pyramid of Asterisk - Reverse? Pin
Yolande MR5-Dec-11 9:11
Yolande MR5-Dec-11 9:11 
GeneralRe: Pyramid of Asterisk - Reverse? Pin
User 74293385-Dec-11 9:40
professionalUser 74293385-Dec-11 9:40 
QuestionObject instance error? Help Pin
ottini935-Dec-11 2:49
ottini935-Dec-11 2:49 
This is a code to update a process monitoring program when the value changes, the following code is the invoke. To me it looks right, but the code wont function, the error is "Object reference not set to an object instance." What to do?

private void LocalProcesses_Update(int ProcessID, int ValueIndex, string NewValue)
{
if (this.InvokeRequired == true)
{
object[] newList_Item = new object[] { ProcessID, ValueIndex, NewValue };
this.Invoke(new InvokeProcessList(LocalProcesses_Update), newList_Item);
}
else
{
LocalProcesses.BeginUpdate();
LocalProcesses.Items[ProcessID.ToString()].SubItems[ValueIndex.ToString()].Text = NewValue;
LocalProcesses.EndUpdate();
LocalProcesses.Refresh();
}
}

modified 5-Dec-11 9:06am.

AnswerRe: Object instance error? Help Pin
Albert Holguin5-Dec-11 3:18
professionalAlbert Holguin5-Dec-11 3:18 
AnswerRe: Object instance error? Help Pin
Richard MacCutchan5-Dec-11 3:27
mveRichard MacCutchan5-Dec-11 3:27 
GeneralRe: Object instance error? Help Pin
Albert Holguin5-Dec-11 4:03
professionalAlbert Holguin5-Dec-11 4:03 
GeneralRe: Object instance error? Help Pin
Richard MacCutchan5-Dec-11 5:31
mveRichard MacCutchan5-Dec-11 5:31 
AnswerRe: Object instance error? Help Pin
Luc Pattyn5-Dec-11 6:13
sitebuilderLuc Pattyn5-Dec-11 6:13 
Questionhow to identify file is password protected or not? Pin
Le@rner4-Dec-11 23:32
Le@rner4-Dec-11 23:32 
AnswerRe: how to identify file is password protected or not? Pin
Rajesh R Subramanian4-Dec-11 23:41
professionalRajesh R Subramanian4-Dec-11 23:41 
GeneralRe: how to identify file is password protected or not? Pin
Le@rner5-Dec-11 0:35
Le@rner5-Dec-11 0:35 
Questionhow to recognize a original file after changing its file type? Pin
Le@rner4-Dec-11 18:45
Le@rner4-Dec-11 18:45 
AnswerRe: how to recognize a original file after changing its file type? Pin
Richard MacCutchan4-Dec-11 22:57
mveRichard MacCutchan4-Dec-11 22:57 
AnswerRe: how to recognize a original file after changing its file type? Pin
Rajesh R Subramanian4-Dec-11 23:44
professionalRajesh R Subramanian4-Dec-11 23:44 
GeneralRe: how to recognize a original file after changing its file type? Pin
Le@rner5-Dec-11 1:16
Le@rner5-Dec-11 1:16 
GeneralRe: how to recognize a original file after changing its file type? Pin
Chris Losinger5-Dec-11 3:31
professionalChris Losinger5-Dec-11 3:31 
GeneralRe: how to recognize a original file after changing its file type? Pin
Le@rner5-Dec-11 18:45
Le@rner5-Dec-11 18:45 
GeneralRe: how to recognize a original file after changing its file type? Pin
Albert Holguin5-Dec-11 3:20
professionalAlbert Holguin5-Dec-11 3:20 
AnswerRe: how to recognize a original file after changing its file type? Pin
User 74293385-Dec-11 7:34
professionalUser 74293385-Dec-11 7:34 
GeneralRe: how to recognize a original file after changing its file type? Pin
Le@rner5-Dec-11 19:12
Le@rner5-Dec-11 19:12 

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.