473,398 Members | 2,212 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,398 software developers and data experts.

ListView Control in Visual Basic 6

AaronL
99
Hello everyone,

I am having tons of issues with the ListView control in Visual Basic 6.0.

I figured out how to add column headers and add items and subitems, however what I would like to do is be able to edit the subitems at runtime. You can edit the first field in my program but if you click on the second column etc... you can't edit those. Can someone explain this to me? My brain is going to explode I don't know why they make this control so difficult to use.

Thanks!
Aug 10 '09 #1
4 3348
debasisdas
8,127 Expert 4TB
kindly post the code that you are working on ?
Aug 11 '09 #2
AaronL
99
The only code is what enters the data

Expand|Select|Wrap|Line Numbers
  1. 'Load webpage file data
  2. Set WPLI = wplvw.ListItems.Add(, , "Google")
  3.     WPLI.SubItems(1) = "Yes"
  4.     WPLI.SubItems(2) = "www.google.com"
  5.     WPLI.SubItems(3) = "11:00:00"
  6.     WPLI.SubItems(4) = "5 mins"
  7.     WPLI.SubItems(5) = "Yes"
  8.  
At runtime you can only edit the first field aka the label and not the subitems
Aug 11 '09 #3
CyberSoftHari
487 Expert 256MB
use controls for your requirements.
listview is for view, select and, checks rows for data operations.
you can use 'DATA GRID' to edit column, or you can programme with flex grid and text box.
Aug 17 '09 #4
AaronL
99
I was afraid of that, thanks...
Aug 19 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: John Lauwers | last post by:
I know you can edit the first column of the listview control, is there a way to edit the second and/or the other columns? greets John
8
by: Jon Ripley | last post by:
Using VB6 (for two weeks!) I could get a ListBox search working perfectly but with a ListView it has completely stumped me. I've not found any previous posts that have helped :( The user...
0
by: Randy Birch | last post by:
re: MSComCtl Listview control cashes after installing VB6/VS6 SP6 I have been advised that this problem has been reproduced and a hotfix has been prepared. The supporting KB article and hotfix...
2
by: Randy Birch | last post by:
Reposted as the original is reported as deleted from the server. re: MSComCtl Listview control cashes after installing VB6/VS6 SP6 I have been advised that this problem has been reproduced...
3
by: larry mckay | last post by:
anyone have the code to select and listview item or row (subitems) after a doubleclick event from a listview. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate...
6
by: Ken | last post by:
I have a listview with 24 rows and 150 columns. I update 3 rows every 10 seconds. 1 2 3 4 ... 150 row1 row2 row3 row4 .. ..
1
by: dev.amit | last post by:
Hello Friends I am having a listview of three column. I want to short it on the individual column. Any help would be great. Love Amit
1
by: DhavalPatel1983 | last post by:
Hi, I need help in VB for handling Listview control. Problem Discription I have one listview control. now i want to develop one application which entered data in to listview control at...
1
by: FireFlux | last post by:
Inherit the Listview Control with Visual Basic ? I have decided do inherit the Listview control some days ago to change some painting things to make the .net Listview look like the explorer's...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.