can you clear an individual column on a listview and / or a subitem column ?
Resource file basics A Faster way to search a file.. Asynchronous download VB.NET vs C# VB.NET vs C#
Something like this VB Code: Dim lngIndex As Long For lngIndex = 1 To ListView1.ListItems.Count ListView1.ListItems(lngIndex).SubItems(2) = "" Next
Dim lngIndex As Long For lngIndex = 1 To ListView1.ListItems.Count ListView1.ListItems(lngIndex).SubItems(2) = "" Next
Tips, Examples & Tutorials: A valuable forum tool • Generate unique TreeView keys • TreeView with "open" and "closed folder" icons • Time code using GetTickCount • How to trap the Tab key • Scroll a form • NumberBox ActiveX control • Color a ListView row • An InputBox form • How to use SaveSetting and GetSetting • A program registration scheme • Spellcheck a Textbox • Resize controls • Open Windows Explorer at Last Visited Path • A Blackjack Game • Count lines of code • Private Message Viewer • Copy/Paste VB Code • Paste VB Code Add-In • Insert Procedure Names Add-In • A calculator for the game of Spider • My review of REALbasic 2008 • VB6 Debug Tutorial • Picture/Video Viewer • VBF Photo Contest Winners 2009 - 2016
Not the same effect as saying listview1.listitems.clear still has a "" entry, anyway to nullify the column?
Isn't an empty string good enough?
Microsoft MVP - Visual Basic 2006-2013 Why VB clears the clipboard on startup and how to avoid it? . Filtering Arrays . Save File To Database . Extract File From Database . Extract picture from database without using hard drive . Change Menu BackColor . How to use MS Flexgrid . Make Frame Transparent . The Easiest Way to Create an NT Service With VB6 . How to comment blocks of code in VB5 and VB6 . How to find and replace missing members of control array Visual Basic 6.0 On-Line Documentation . Connection Strings
My code uses "" rather than " " (with a space) so there be nothing there but if you are concerned then use vbNullChar rather than "".
Forum Rules