Prinitng error on Bulletin Board

Posted on 1999-07-02
Medium Priority
Last Modified: 2010-05-02
I am trying to print some text which has been typed into
a text box.If I use printer.print the text comes out as one
long line and runs onto new pages. I basically need to wrap the text around. I wrote a function to wrap the text
onto the next line breaking on spaces however I seem to be losing the last word on each sentence when I print this does not happen in the debug window.To cut a long story short is there an easier way to print text from a large text box to a printer.
Question by:mscannell
  • 2

Expert Comment

ID: 1521523
Simple answer, use the Rich Textbox and use it's SelPrint method.

As you are probably not looking for this type of answer, I'm only posting it as a comment.

Author Comment

ID: 1521524
Thank you this will do it...

Accepted Solution

clifABB earned 300 total points
ID: 1521525
In that case, I will post an answer.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
As a person who answers a lot of questions, I often see code that could be simplified, made easier to read, and perhaps most importantly made easier to maintain if the code was modified to use the Select Case statement. This article explains how to…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question