CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2009
    Posts
    4

    Question pagesetupdialog component, missing?

    I checked all the Microsoft Common Dialog Controls in the Components Controls window.
    But I do not see "pagesetupdialog"icon in the tool box (Visual Basic 6).
    Comdlg32.dll and Comdlg.ocx files are in the system32 folder.
    How can I bring "pagesetupdialog" icon in the tool box?
    Thanks,
    Kutterroad

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: pagesetupdialog component, missing?

    Do you mean PRINTER PAGE OPTIONS?
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Nov 2009
    Posts
    4

    Re: pagesetupdialog component, missing?

    That is page margin setup option dialog window.

  4. #4
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: pagesetupdialog component, missing?

    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  5. #5
    Join Date
    Nov 2009
    Posts
    4

    Re: pagesetupdialog component, missing?

    Print dialog box does not give page setup margin control function.

  6. #6
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: pagesetupdialog component, missing?

    How about this flag?

    cdlPDPrintSetup_____ &H40____Causes the system to display the
    _________________________________Print Setup dialog box instead of
    _________________________________the Print dialog box.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  7. #7
    Join Date
    Nov 2009
    Posts
    4

    Question Re: pagesetupdialog component, missing?

    cdlPDPrintSetup displays Print Setup window, but it does not have margin control function (Page Setup). Maybe VB6, common dialog print does not support page margin control function.
    Does anybody have any idea how to write "page margin control" in VB6.
    Thanks,

    Kutterroad

Tags for this Thread

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

Featured