Results 1 to 3 of 3

Thread: Please Help! Print Dialog Box

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Galloway, OH, US
    Posts
    13

    Exclamation

    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!
    M Gifford

  2. #2
    Lively Member
    Join Date
    Jul 2000
    Posts
    94
    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

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Galloway, OH, US
    Posts
    13
    Thank you, God bless you! It worked! I bow to you!!!!!!!
    M Gifford

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width