Click here to Skip to main content
15,907,687 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is it possible to catch SystemEvent in Windows service? Pin
ankita patel16-Oct-03 12:22
ankita patel16-Oct-03 12:22 
GeneralC# -> Remoting and MarshalByValue Pin
Alsvha16-Oct-03 3:36
Alsvha16-Oct-03 3:36 
GeneralRe: C# -> Remoting and MarshalByValue Pin
Guillermo Rivero16-Oct-03 7:59
Guillermo Rivero16-Oct-03 7:59 
GeneralRe: C# -> Remoting and MarshalByValue Pin
Alsvha16-Oct-03 19:12
Alsvha16-Oct-03 19:12 
GeneralRe: C# -> Remoting and MarshalByValue Pin
Guillermo Rivero17-Oct-03 3:24
Guillermo Rivero17-Oct-03 3:24 
Generalapp.config / web.config Pin
Colin Angus Mackay16-Oct-03 2:36
Colin Angus Mackay16-Oct-03 2:36 
GeneralRe: app.config / web.config Pin
Ranjan Banerji16-Oct-03 4:23
Ranjan Banerji16-Oct-03 4:23 
GeneralListviews - Accessing SelectedItemArray Pin
MrEyes16-Oct-03 0:38
MrEyes16-Oct-03 0:38 
I have a ListView with 7 columns viewed in details mode. I have a context menu tied into the ListView so the user can right click on one of the ListView items and perform certain tasks.

The problem is that I cant seem to get the values out of the ListView (with the exception of the value in column 1. From playing around in debug mode I have discovered that the values I want are actually held here :

myListView.SelectedItems.SelectedItemArray[0].subItems[n].Text;

Where n is the index of the column

The problem is this :

'System.Windows.Forms.ListView.SelectedListViewItemCollection.SelectedItemArray' is inaccessible due to its protection level

So how do I get to the values??


post.mode = signature;
SELECT everything FROM everywhere WHERE something = something_else;
> 1 Row Returned
> 42
GeneralRe: Listviews - Accessing SelectedItemArray Pin
Mike Dimmick16-Oct-03 5:24
Mike Dimmick16-Oct-03 5:24 
GeneralRe: Listviews - Accessing SelectedItemArray Pin
Darryl Borden17-Oct-03 3:32
Darryl Borden17-Oct-03 3:32 
General2 different programing languages in one piece of code Pin
zukhanye15-Oct-03 23:10
zukhanye15-Oct-03 23:10 
GeneralRe: 2 different programing languages in one piece of code Pin
Heath Stewart16-Oct-03 9:04
protectorHeath Stewart16-Oct-03 9:04 
GeneralProblem with Mdi forms Pin
CristianRicciolo15-Oct-03 23:05
CristianRicciolo15-Oct-03 23:05 
GeneralUsing custom cursors on a form. Pin
Randhir Sinha15-Oct-03 21:41
Randhir Sinha15-Oct-03 21:41 
GeneralToolbar Pin
Srikar Y15-Oct-03 19:12
Srikar Y15-Oct-03 19:12 
GeneralRe: Toolbar Pin
Heath Stewart16-Oct-03 9:10
protectorHeath Stewart16-Oct-03 9:10 
GeneralDesign Question Pin
J. Dunlap15-Oct-03 18:44
J. Dunlap15-Oct-03 18:44 
GeneralRe: Design Question Pin
J. Dunlap15-Oct-03 20:42
J. Dunlap15-Oct-03 20:42 
GeneralIPC Communication Pin
vikramlinux15-Oct-03 18:23
vikramlinux15-Oct-03 18:23 
GeneralRe: IPC Communication Pin
Heath Stewart16-Oct-03 9:17
protectorHeath Stewart16-Oct-03 9:17 
GeneralRe: IPC Communication Pin
vikramlinux16-Oct-03 17:47
vikramlinux16-Oct-03 17:47 
GeneralRe: IPC Communication Pin
Heath Stewart17-Oct-03 3:11
protectorHeath Stewart17-Oct-03 3:11 
GeneralRequesting a Web page. Pin
fadee15-Oct-03 18:14
fadee15-Oct-03 18:14 
GeneralRe: Requesting a Web page. Pin
Heath Stewart16-Oct-03 9:16
protectorHeath Stewart16-Oct-03 9:16 
Generalinstallating .NET CLR Pin
Norman Fung15-Oct-03 16:46
Norman Fung15-Oct-03 16:46 

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.