Print preview - RichTextBox

Posted on 2002-05-01
Last Modified: 2007-11-27
I am developing a wordprocessor-like project in VB 6.0 for my curriculum. A RichTextbox is provided for typing. I need to include print preview in that project. Can anybody send me a sample program for print preview and also to print the selected page(s)?
Question by:kkramki
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

n_narayanan earned 100 total points
ID: 6985217

Author Comment

ID: 6990983
Thanks Mr. Narayanan. I have just downloaded the code from the site you have suggested. I will try this and send my comments later. Also as my system gone for service please allow me to take some days for reply.

Expert Comment

ID: 6992833
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.


Author Comment

ID: 7012990
I have checked the code. I have got the idea for preview. However, it doesn't contain how to print the specific range of pages given

Author Comment

ID: 7115677
Dear friends,

I have finished my project. I don't need further comments in this regard. Thank you all.

LVL 49

Expert Comment

ID: 7698714
Hi kkramki,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept n_narayanan's comment(s) as an answer.

kkramki, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.
DanRollins -- EE database cleanup volunteer

Expert Comment

ID: 7755550
per recommendation

Community Support Moderator @Experts Exchange

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

695 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