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

Working with listview control in visual basic 6.0

Now i am developing an employee information system. Here in one form i am using list view control for showing the details of each employees.
Here i hav selected the checkbox property of list view control. Now i need to write a code based on this checkbox. As i hav placed one command button named Print in this form. If i click this button the selected(by ticking the check box) employee list has to get in a report or hav to get a print out.
Can anybody help me to solve this problem?
I am looking forward for the reply
Jan 8 '07 #1
4 7516
sashi
1,754 Expert 1GB
Now i am developing an employee information system. Here in one form i am using list view control for showing the details of each employees.
Here i hav selected the checkbox property of list view control. Now i need to write a code based on this checkbox. As i hav placed one command button named Print in this form. If i click this button the selected(by ticking the check box) employee list has to get in a report or hav to get a print out.
Can anybody help me to solve this problem?
I am looking forward for the reply

Hi there,

Using a simple <for loop> will solve the problem, you need to mark all the list items which has the check box clicked, hope it give you some idea. Good luck & Take care.
Jan 8 '07 #2
Hi there,

Using a simple <for loop> will solve the problem, you need to mark all the list items which has the check box clicked, hope it give you some idea. Good luck & Take care.
Hi ,
This is the first time that i came across this problem. Thats why i'm bit confused about it. before this i hav never used this check box property of listview control.
If u don't mind can u give me a sample code?
Anyway thanks for the previous suggestion. I am trying here.
Jan 8 '07 #3
sashi
1,754 Expert 1GB
Hi ,
This is the first time that i came across this problem. Thats why i'm bit confused about it. before this i hav never used this check box property of listview control.
If u don't mind can u give me a sample code?
Anyway thanks for the previous suggestion. I am trying here.
Hi there,

Run a simple search on TheScrips, i've answered a few post regarding listview, use "listview" as search keyword. Also please look in the VB Tips & Tricks section, hope it helps. Good luck & Take care.
Jan 8 '07 #4
Hi there,

Run a simple search on TheScrips, i've answered a few post regarding listview, use "listview" as search keyword. Also please look in the VB Tips & Tricks section, hope it helps. Good luck & Take care.
Hi ,

Yeah I am trying.
Anyway thanks for the suggestions
Take care
Jan 8 '07 #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
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...
0
by: PeacError | last post by:
Using Microsoft Visual Studio .NET 2003, Visual C# .NET 1.1: I apologize if this question has been addressed elsewhere, but I could not find a reference to it in the search engine for this...
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...
4
AaronL
by: AaronL | last post by:
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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,...

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.