473,396 Members | 1,770 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,396 software developers and data experts.

ColumnHeaders

Hi
How I can control Column Headers in the Microsoft ListView by VBA
I can add
Private Sub ListView_Click()
Dim lv As MSComCtlLib.ListView
Set lv = Me.ListView.Object
With lv
'.ColumnHeaders = "2"
lv.ListItems.Add Text:="Adam"
.ColumnHeaders.Add Text:="ab"
.View = lvwReport
End With

but I can't change name and deduct name
Plese help me
Nov 13 '05 #1
0 1391

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

Similar topics

2
by: nkp | last post by:
....trying to get the following result into a list box. Dim cost As Double Dim salvage As Double Dim life As Double Dim year As Double Dim factor As Variant Dim depreciation As Double Dim...
3
by: Sean Howard | last post by:
This is a very fustration problem. I have a crosstab query in MS Access that uses a data field (say called "Brand") as the column headings. As I need several crosstab queries to output data in a...
0
by: Adam | last post by:
Hi How I can change ColumnsHeaders in the ListView depending from what I click on the TreeView Will I able to change CollumnsHeaders in the ListView by Macros in VBA Please, tell me how Could...
0
by: cyrille | last post by:
Hello from example from web i did a little code to avoiding columnHeader resize. this code seems to work well, but when I put a 'normal' ListView on the same Form than my overrided ListView it...
2
by: Martin Wolff | last post by:
Hi everybody, in my datagrid I want to show the text in the columnheaders working as a linklabel. It is already working, doing different things depending on the colheader, which has been...
0
by: EMW | last post by:
Hi, On my quest to learn more about VB.NET I'm again stuck with some questions.... I've got a filled datagrid (filled from an Excel file) and the column headers have the same name as in the...
1
by: Sunray | last post by:
I have a form called the sales form and i have 2 sets of listboxes So what happens is. i add items form the bottom set of list boxes which are bound to a data base to the top set of list boxes which...
10
by: keirnus | last post by:
Hello, I have a Listview control which displays various data. The default selected item is the first item. (Is it always the first item?) Here's a simple code: Dim objListItem As Object...
4
by: squrel | last post by:
Hello all, i have listview called lvbill and a grid called grid_data1.. i m getting the data in my gird by nothing is appearing in my listview.. by pressing in the button cmdshowbill the listview...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.