How would you add column headers in listview control?



How would you add column headers in listview control?..

Answer / vidyadhar

You can add columns in Listview by using Columns. Add() method. This method takes two arguments, first one is the Column heading and second one the column width. In the above code, "ProductName" is column heading and 100 is column width.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Visual Basic Interview Questions

What is ActiveX Control?

1 Answers   Infosys,


Hai! , i make a project for browsing center using vb6.0 , at the time of running below mentioned error is occured so please help me for solve this problem. Error : Can't find project or library

4 Answers   Wipro,


What are the tools available for Debuggiu in VB?

0 Answers  


I'm getting error message "Reserved Error [-nnnn] ("There is no message for this error")" from Jet Engine 2.0.Why?

0 Answers  


What is the use of parameters collection?

0 Answers  






What is the difference between Msgbox Statement and MsgboxQ function?

1 Answers  


What is the use of command Object?What are the various types of variables?

0 Answers  


How to find size of the file. Which method or function is used to occomplish this?

1 Answers  


How to get Cursor position using API?

2 Answers  


What is the use of property page Wizard in ActiveX Control?

0 Answers  


what are the types of cursors in DAO?

0 Answers  


What is Friend Variable?

1 Answers  


Categories