|
-
Sep 6th, 2000, 02:15 PM
#1
Thread Starter
New Member
I need help!!! I wrote a program on VB6 that views reports. The print dialog box will come up when I open the report viewer but once I open a file in the viewer, the print command and the icon do nothing. Can anyone help?? I am very new to VB so you have to speak slowly for me!
-
Sep 6th, 2000, 02:37 PM
#2
Lively Member
I've run into this problem when using the same common dialog control for files and printers. I don't know why it does this or the proper fix, but this works for me. Befor you show the printer dialog set the flag property to at least one of the printer only flags. For instance:
Code:
CMD.Flags = cdlPDAllPages
CMD.ShowPrinter
-
Sep 6th, 2000, 02:47 PM
#3
Thread Starter
New Member
Thank you, God bless you! It worked! I bow to you!!!!!!!
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
|