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

.NET (Core and Framework)

 
Question"Automation Server can't create object" Pin
Jader8913-Feb-06 6:28
Jader8913-Feb-06 6:28 
QuestionICustomFormatter and IFormattable Pin
Jason McBurney13-Feb-06 5:33
Jason McBurney13-Feb-06 5:33 
QuestionHandling Events inside a "while" clause Pin
ninodago13-Feb-06 5:05
ninodago13-Feb-06 5:05 
AnswerRe: Handling Events inside a "while" clause Pin
HumanOsc13-Feb-06 5:49
HumanOsc13-Feb-06 5:49 
GeneralRe: Handling Events inside a "while" clause Pin
ninodago14-Feb-06 1:00
ninodago14-Feb-06 1:00 
GeneralRe: Handling Events inside a "while" clause Pin
Guffa13-Feb-06 6:03
Guffa13-Feb-06 6:03 
GeneralRe: Handling Events inside a "while" clause Pin
ninodago13-Feb-06 22:55
ninodago13-Feb-06 22:55 
GeneralRe: Handling Events inside a "while" clause Pin
HumanOsc14-Feb-06 1:27
HumanOsc14-Feb-06 1:27 
Ok, sorry it was my fault... Sometimes i mix two different classes...

I mean the SelectedItems Property...

<br />
if(listView.SelectedItems.Count == 0)<br />
  return;<br />


You should check the collection if it's contains items, before you get anyone...

Well, in your app in the SelectedIndex_Changed handler...

<br />
// get sure that one item is selected<br />
if(listViewCatalogo.SelectedItems.Count == 0)<br />
  return;<br />
<br />
i = listViewCatalogo.SelectedIndices[0];<br />
<br />


-- modified at 7:28 Tuesday 14th February, 2006
GeneralRe: Handling Events inside a &quot;while&quot; clause Pin
ninodago14-Feb-06 6:02
ninodago14-Feb-06 6:02 
Questionreading third party Snap-in information in MMC programatically Pin
krompo13-Feb-06 4:36
krompo13-Feb-06 4:36 
QuestionSocket Exception Delay?? Pin
ckaneAV10-Feb-06 9:04
ckaneAV10-Feb-06 9:04 
Questionactivex .ocx with c# and visual studio .net Pin
kopi_b10-Feb-06 3:14
kopi_b10-Feb-06 3:14 
AnswerRe: activex .ocx with c# and visual studio .net Pin
Dave Kreskowiak10-Feb-06 5:56
mveDave Kreskowiak10-Feb-06 5:56 
Question.Net Framework Security Pin
Indu Mahadevan9-Feb-06 19:03
Indu Mahadevan9-Feb-06 19:03 
QuestionFramework version issue Pin
Lisana9-Feb-06 11:01
Lisana9-Feb-06 11:01 
AnswerRe: Framework version issue Pin
Dave Kreskowiak10-Feb-06 6:06
mveDave Kreskowiak10-Feb-06 6:06 
GeneralRe: Framework version issue Pin
Lisana10-Feb-06 6:16
Lisana10-Feb-06 6:16 
GeneralRe: Framework version issue Pin
Dave Kreskowiak10-Feb-06 9:19
mveDave Kreskowiak10-Feb-06 9:19 
GeneralRe: Framework version issue Pin
Lisana10-Feb-06 10:14
Lisana10-Feb-06 10:14 
GeneralRe: Framework version issue Pin
Dave Kreskowiak10-Feb-06 14:07
mveDave Kreskowiak10-Feb-06 14:07 
QuestionRecomend me a profiler for 2.0 Pin
ika29-Feb-06 8:27
ika29-Feb-06 8:27 
QuestionSwitching .Net version in Visual Studio Pin
redkite9-Feb-06 4:10
redkite9-Feb-06 4:10 
AnswerRe: Switching .Net version in Visual Studio Pin
Dave Kreskowiak9-Feb-06 4:50
mveDave Kreskowiak9-Feb-06 4:50 
GeneralRe: Switching .Net version in Visual Studio Pin
redkite9-Feb-06 5:18
redkite9-Feb-06 5:18 
GeneralRe: Switching .Net version in Visual Studio Pin
Dave Kreskowiak9-Feb-06 5:33
mveDave Kreskowiak9-Feb-06 5:33 

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.