|
-
Dec 19th, 2001, 01:16 AM
#1
Thread Starter
New Member
print dialog box ?
Hello All,
can anyone tell me how to provide a windows printing Dialog Box for printing a crystal report thru coding?
thanks in Advance!
Pari
-
Dec 19th, 2001, 03:54 AM
#2
Hyperactive Member
VB Code:
CommonDialog1.ShowPrinter
Printer.Print "TEST PRINT"
Printer.Print "DeviceName = " & Printer.DeviceName
Printer.EndDoc
This moves the default printer though so you would be wise to add a variable to store the original printer.devicename and then reset after the .enddoc.
-
Dec 19th, 2001, 03:54 AM
#3
Hyperactive Member
Same control as with an Open or Save As dialog box...
Select Microsoft Common dialog Control in 'Components'
Another satisfied customer 
-
Dec 19th, 2001, 07:23 AM
#4
Have you tried compiling the report, and then useing Shell to execute it?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|