answersLogoWhite

0


Best Answer
Answer

Take for example the EXCEL. after creating the object of the excel sheet and performing the operation on the excel sheet, you want to view the print preview.

Object.PrintPreview This will show the print preview

Object.PrintOut Thsi will directly print the document instead of priview as it is to the default printer.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write a code in Visual Basic which shows the Print Preview of related documents of any type and also takes print outs?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is option implicit in visual basic?

The Related Link will answer all your queries related to Visual Basic.


Objects and its behavior with an example?

Objects are the fundamental building block of Visual Basic; nearly everything you do in Visual Basic involves modifying objects. Every element of Microsoft Word - documents, tables, paragraphs, bookmarks, fields and so on - can be represented by an object in Visual Basic.


What is visual basic control?

Visual Basic Controls work on Visual Studio for Visual Basic and Applications that made by Visual Basic.


The year of invention of visual basic?

Visual Basic was started in 1991.


Who invented the visual basic?

Visual Basic was created by a team at Microsoft.


Who developed visual basic?

Microsoft is the developer of visual basic


What is the difference between visual basic and visual c?

The programming language: Visual Basic is a BASIC-like (or BASIC-derived) language, Visual C is... well C.


Who is the developer of Visual Basic?

Microsoft is the developer of Visual Basic.


Is Visual Basic 6.0 compatible with Visual Basic 2005?

No.


When visual basic started?

Visual Basic was started in 1991.


What is the diff between Visual Basic 2005 and Visual Basic dot net?

Visual Basic 2005 is actually a version of VB.NET (v8.0). The latest version (9.0) is Visual Basic 2008.


How do you install visual basic?

Visual Basic 6.0 Product Key