codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:



Home » Visual Basic » Article

Fully Featured Print Preview DLL

Article by: Leontti A. Ramos M (8/2/2002)
Bookmark us now! Add to Favourites
Email a friend!Tell a friend
Sponsored by: Neil Matthews Hypnotherapy, Wilmslow
Summary: A production quality component brings print preview capabilities without 3rd-party controls. Features font rotation, zoom ratios, in place host, exporting to html, cvs and text, printed page range smart selector
Viewed: 10177 times Rating (17 votes): 
 3.8 out of 5
 Rate this Article  Read Comments  Post Comments



Download source code - 522 KB

I was looking for a good print preview module in the internet for a while, but as happens frequently, I didn't find it. Therefore I decided to write my own routines. The result is this Print Preview DLL that can be embedded in any other project. Actually it is still in a beta phase, but was successfully implemented in a commercial product.

 

 

Features includes font rotation, several zoom ratios, in place host (see sample), exporting to html, cvs and text (some other formats are in the work), printed page range smart selector, and some other things.

Most of this code was written by myself from scratch, when some code is borrowed from other source it is indicated.

Feel free to use this code in your own projects, but please, because I worked too hard to write it, just add the proper credits in the about box of your product.

If you have any improvement or idea for the component let me know and I'll try to incorporate it.

 

Download source code - 522 KB





CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
Rate this article:     Poor Excellent
View highlighted Comments
User Comments on ' Fully Featured Print Preview DLL'
Posted by :  Archive Import (Bambang) at 00:31 on Monday, August 05, 2002
No comment ....:=P
Posted by :  Archive Import (paul muaratua) at 23:39 on Thursday, August 15, 2002
It is very good tool form me.
Posted by :  Archive Import (restie) at 21:39 on Tuesday, May 27, 2003
why is there no full justify support for text? :)
Posted by :  Archive Import (kinh luan) at 08:45 on Friday, June 06, 2003
This control is very good. Do it support recordSource or dataSource property like report of access and crystal report ?.


To post comments you need to become a member. If you are already a member, please log in .

 



RELATED ARTICLES
Generate License Keys (such as CD keys on Microsoft software)
by Brian Gillham
This class allows you to generate license keys, such as the CD keys on the case of most Microsoft software
Visual Basic Read and Modify the Registry
by Kenneth Ives
Perform the four basic functions to the Windows registry. Add, change, delete, and query. Allows you to to read registry values, and modify both keys and values.
Communicating with the Database (Using ADO)
by Chaudhary Pradeep K. Roy
Using ADO to get connected with the database.
Generate an Array of Unique Random Numbers
by Brian Gillham
This function will generate an ARRAY of TRULY random numbers.
Beginning Resource Files in Visual Basic
by Kenneth Ives
Have you ever wanted to use graphics, such as icons, bitmaps, cursors, and AVI files? How about sound or even message box text? This can be an enormous amount of overhead. These are all examples of more files to keep track of when you distribute an application, DLL, or OCX. Lets find out how resource files can help....
Visual Basic Compact/Repair Access Database Utility
by Kenneth Ives
This utility will compact and repair the access database you select. It is actually more convenient to use this utility than do the same task with Access, because you don't have to save the database with a different name and then delete the old database when you are done: here, a temporary copy of the database is automatically created and deleted.
Creating a watermark in Excel with VBA
by Kenneth Ives
Adding a watermark to an Excel spreadsheet using VBA.
Generate your own Random Numbers
by Thaha Hussain
This simple program generates random numbers using the basic mathematical methods.
Change Cursor to Hour Glass
by Brian Gillham
A simple script to change the cursor to an hour glass.
Analog Clock
by Thaha Hussain
This program demonstrates Thaha Hussain's Clock Work Formula to paint an Analogue Clock.








Recent Forum Threads
• Re: Insert Contents of .txt file into a .html page
• Re: Perl regular expression problem.
• Re: Problems in login using WWW::Mechanize
• searching for gd::graph guide
• Re: ARRAY OF HASHMAPS
• Adv. Regexp or Otherwise
• Adv. Regexp or Otherwise
• I need help pleasee! My project is about using I/o Stream
• Help Running VB script in Windows 2003


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2008