Results 1 to 2 of 2

Thread: CommondialogBox problem

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2001
    Location
    Hyderabad
    Posts
    47

    CommondialogBox problem

    Hi,
    I am using Commondialog control in my program. I have one Command button in my form. If suppose i clicked on that button Printer Dialogbox has to open. If i click Print Button in that print dialogbox The form contents has to print. If i click Cancel button in that print Dialogbox It shouldn't print.

    By using Commondialog control i am able to open the Print Dialogbox. But how to know which button he pressed in that Print dialogbox?

    please help me in this regard
    Pavan kumar

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    see this thread (it isn't using the Print option of the CDL, but the same method is needed)

    http://www.vbforums.com/showthread.p...ht=cancelerror

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