473,788 Members | 2,800 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB2005 printing problems

In VB6 (converted to VB2005) there are 6 different sub-menu items where the
user has a choice of listing items on the screen or printing out a list of
items.

Each such menu item puts the name of a file in a string variable and calls a
print routine. Obviously I have boucoup errors and warnings.

But the documentation always shows doing the printing from a button click. I
don't have a button to click !!

Incidentally it is not a matter of just printing the file. The print routine
goes into a loop and parses the file, line by line, and picks out a portion
of the string to be printed. Then if too many lines, say 60, it prints a
page and continues the print loop.

Any code, or links to documentation, code, etc will be welcome.

GalenS


Feb 9 '06 #1
0 1026

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

Similar topics

4
1840
by: Tracey | last post by:
Hey folks, I have an ASP.NET web app that's working just fine, but a small percentage have two printing problems that don't happen to the vast majority of users. These problems are listed below and do NOT appear on the print preview, but do when they actually print: Radio buttons aren't printing at all. Disable values are not printing, like the text in a disabled text box.
0
1602
by: Larry Lard | last post by:
This came out of a thread explaining to "BK" about error BC42025 ("Access of shared member through an instance; qualifying expression will not be evaluated"); Frans Clasener then came up with another similar problem, which I believe shows up a bug (well, a problem) in VB2005. As many will know, VB2005 saw the reintroduction of the 'default instance' of Form classes, allowing one to write code such as Form1.Show
1
1568
by: Hector M Banda | last post by:
Hi all, Need i simple example on how print/preview data from a database. I already have some code but I am lost because the preview does not create multiple pages and only shows the first page and the printing goes over the margins of the page. My problem is that I cannot figure out how to control new page when page is getting full. Another problem is that I would like to have a common place to set headers and footers to be printed every...
5
1508
by: Kevin | last post by:
I've got a print control written in VB6 that I use for easy printing reports in VB2005. It works great except for one thing. When I display the print options dialog, the VB6 OptionButton controls appear black (see attached pictures). Has anyone else encountered this problem or know how to fix it?
7
2872
by: Galen Somerville | last post by:
I have been converting a VB6 project to VB2005 for lo these many months. Most of my problems have been solved thanks to people like WanYuan Wang and Mattias Sjogren. But now the Graphics aspect is the problem. This program gets Heart sounds and ECG trace data from a USB device via an ActiveX thread and an internal DataReciever thread in the main program. The display is like an oscilloscope in that it sweeps across the screen in real...
15
2029
by: Aalaan | last post by:
I am presently a user of classic vb6 and hang out on those newsgroups. Some of you may be aware that there is a very anti MS and vb2005 feeling there. I have tried to get them to tell me which features of vb2005 are actually worse then vb6 in practice, and forget the philosophy of backward compatibility for a moment. I would now like to hear "the other side". Could *anyone who previously used vb6* (only those pleased; I feel the others...
0
1245
by: =?Utf-8?B?SmFtZXNB?= | last post by:
I am trying to use the code shown in the VB2005 Help on how "To receive strings from the serial port". The code was cut and pasted and it gives no errors when "debugged" in VB2005, but it simply does not seem to do anything. I'm not to familiar with using methods and functions and that might be the problem. The code shown uses "My.Computer.Ports.OpenSerialPort" and "ReadLine" methods. I guess the real question is: If ReadLine is "reading"...
2
3171
by: =?Utf-8?B?UmljaA==?= | last post by:
Hello, I have Visual Studio 2005 Professional. I have been deploying VB2005 apps using "Click Once" which works great and will add .Net 2.0 framework where needed and adds all prerequisite files, the Report viewer for printing, com references, ... Everything works great! on our intranet. But now I need to add an app to a machine (XP pro) that is not on our intranet. So I need to create a setup/deploy project. My VS2005 does not...
18
11316
by: Brett | last post by:
I have an ASP.NET page that displays work orders in a GridView. In that GridView is a checkbox column. When the user clicks a "Print" button, I create a report, using the .NET Framework printing classes, for each of the checked rows in the GridView. This works fine in the Visual Studio 2005 development environment on localhost. But, when I move the page to the web server, I get the error "Settings to access printer...
0
9656
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10172
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9967
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7517
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4069
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.