473,406 Members | 2,259 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

error(list view)


Hello I am trying to do this:
this.listViewEx1.Items.IsReadOnly=true;

and get the following error:
C:\Temp\config\folder\ConfigBrowser\Form1.cs(183): Property or indexer
'System.Windows.Forms.ListView.ListViewItemCollect ion.IsReadOnly' cannot
be assigned to -- it is read only

How can I sove it?
Thanks a lot!
*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #1
3 1544
Hi,

It's a read only property, you cannot change it, btw it's always false
according to MSDN

what you want to do anyway?

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"juli jul" <ju******@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...

Hello I am trying to do this:
this.listViewEx1.Items.IsReadOnly=true;

and get the following error:
C:\Temp\config\folder\ConfigBrowser\Form1.cs(183): Property or indexer
'System.Windows.Forms.ListView.ListViewItemCollect ion.IsReadOnly' cannot
be assigned to -- it is read only

How can I sove it?
Thanks a lot!
*** Sent via Developersdex http://www.developersdex.com ***

Nov 17 '05 #2

I want to change it to true,is there a way?
Thanks!
*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #3
Hi,

Why?

What do you want to do ?

If you want it to be RO just do not add more elements

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"juli jul" <ju******@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...

I want to change it to true,is there a way?
Thanks!
*** Sent via Developersdex http://www.developersdex.com ***

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Steve Franks | last post by:
When I compile my application if there are any .net coding errors they show up fine in the error list in VS.NET 2005 following my attempt to compile. However there are also a ton of other errors...
6
by: Tom McL. | last post by:
I'm trying to move a program that was designed using Visual Studio 2003 and (Visual Basic) into Visual Studio 2005. When it runs I get the following warning in the Error List Window and I'm not...
0
by: guy | last post by:
another intermittent problem... after a while when doing a build the error list 'Error' and 'Warning' icons disappear from the error lines but are still visible in the heading (between Error...
7
by: Greg | last post by:
Visual Studio - Line numbers missing from error list I'm writing an app in ASP.NET using VS 2005. There are no line numbers with the build errors reported. Any suggestions? I can't find any...
11
by: kimiraikkonen | last post by:
Hello, I'm very new to C# and just installed VC# 2005 express edition and i have VB 2005 express installed previously. But i saw a thing which may be called as a "Visual C# 2005 express" bug? ...
2
by: Peri | last post by:
Dear All, Is there a dockable control in VB.NET similar to the Error List Window, Output Window, Soluition Explorer, Tool Box. I would like to have a control that has Pin functionality (Auto...
2
by: RLN | last post by:
Luke Chung at FMS Inc provide this link in another thread that provided a really helpful .pdf file error listing: http://www.fmsinc.com/MicrosoftAccess/Errors/ErrorNumberAccess2007-2000. pdf ...
9
mbmccormick
by: mbmccormick | last post by:
In Visual Studio when developing on VB.NET, we would get an instant error list- before compiling or building the solution. Why doesn't C# have this same functionality? Whenever I want to see my...
1
by: ntabb | last post by:
I'm developing a simulation program that checks a number of inputs and gives errors, warnings, and general information. The Error List seems ideal to display this information. Any ideas on the best...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.