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

listview printing

1
Hi vb programmers. I would just like to know if it's possible to directly print what I see on my listview or put what I see on my listview to a datareport.
I am having a problem with printing because i'm trying to have a sort of open searching way of looking for data in my listview, then if i'll print it the usual way, I have to consider some number of databases. Is it possible? Im using vb6
Jan 29 '08 #1
6 5985
werks
220 100+
Hi vb programmers. I would just like to know if it's possible to directly print what I see on my listview or put what I see on my listview to a datareport.
I am having a problem with printing because i'm trying to have a sort of open searching way of looking for data in my listview, then if i'll print it the usual way, I have to consider some number of databases. Is it possible?
Hi aaronv, i have never encountered printing directly to listview (but if somebody know i'll be glad to know how). Why not send it to datareport?
Jan 29 '08 #2
lotus18
866 512MB
Hi vb programmers. I would just like to know if it's possible to directly print what I see on my listview or put what I see on my listview to a datareport.
I am having a problem with printing because i'm trying to have a sort of open searching way of looking for data in my listview, then if i'll print it the usual way, I have to consider some number of databases. Is it possible? Im using vb6
Hi

Why don't you use a Like operator to achieve that? just a suggestion : )

Rey Sean
Jan 29 '08 #3
daniel aristidou
491 256MB
Hi vb programmers. I would just like to know if it's possible to directly print what I see on my listview or put what I see on my listview to a datareport.
I am having a problem with printing because i'm trying to have a sort of open searching way of looking for data in my listview, then if i'll print it the usual way, I have to consider some number of databases. Is it possible? Im using vb6
I would try......
Expand|Select|Wrap|Line Numbers
  1.  Dim lstboxtxt as string 
  2. lstboxtxt = listbox.text
  3. print lstboxtxt
  4.  
Jan 29 '08 #4
lotus18
866 512MB
I would try......
Expand|Select|Wrap|Line Numbers
  1.  Dim lstboxtxt as string 
  2. lstboxtxt = listbox.text
  3. print lstboxtxt
  4.  
He wants to print on a data report
Jan 30 '08 #5
Hi vb programmers. I would just like to know if it's possible to directly print what I see on my listview or put what I see on my listview to a datareport.
I am having a problem with printing because i'm trying to have a sort of open searching way of looking for data in my listview, then if i'll print it the usual way, I have to consider some number of databases. Is it possible? Im using vb6

Hi,
I think u do that 'PaintForm' method of any form.
If u get success reply me, plz.

Get Better.

Regards,
shuvo2k6
Jan 30 '08 #6
daniel aristidou
491 256MB
He wants to print on a data report
Excuse me i belive he did use the word "or"
Jan 30 '08 #7

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

Similar topics

6
by: Anushya | last post by:
Hi I am using Listview and inherited listview control overriding WndProc & PreProcessMessage in ListView. I need this to customize listview to display only the page the user scrolls to. Since i...
0
by: keith | last post by:
In a ListView control (two columns), I added a few ListView items. ListView listview=new ListView(); listview.Parent=this; listview.View=View.Details; listview.Columns.Add...
7
by: Dave Y | last post by:
I am a newbie to C# and am having trouble trying to override a ListView property method. I have created a new class derived from the Forms.Listview and I cannot figure out the syntax to override...
1
by: ZS | last post by:
Hi, Is there a way to print the contents of a DataGrid or a List View? I have a ListView control on a form. I want to transfer all the contents of the ListView to the Printer how can I do it....
1
by: jy836 | last post by:
What is the best way to print the contents of a ListView (in Details mode) to a page? Thanks in advance.
1
by: Bernalin | last post by:
The Print() method used in my vb .net 2003 program abort with a "Descripteur non valide" and i don't know why. Following the part of my code : Friend WithEvents Papier As...
2
by: Terry Olsen | last post by:
Does anyone have an example of how I could print a ListView control? It'd sure be easier to do this than to try to format the output in DrawStrings... Thanks.
4
by: Brian Gaze | last post by:
I have created a ListView control and have bound this to a datasource. Within the ItemTemplate of the ListView I have added another ListViewControl which is databound in the code behind. The idea...
0
by: tthomas52 | last post by:
I am trying to print the content of a listview with eight columns in it in vb.net 2003. So far everything I have tried has not worked. Below is the last code I tried using. It will print, however...
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
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...
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.