CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2000
    Posts
    264

    I need ShellExecute help!!

    I am using the ShellExecute API for printing my html file. How can I program it so that it is sent directly to the printer without getting the print dialog box? Below is what I have now that brings up the dialog box.


    lngResult = ShellExecute(frmMain.hwnd, "print", sFullReportName, 0&, 0&, vbMinimized)




    Please help ...this is all I need to finish my app!

    Thanks,
    Greg


  2. #2
    Join Date
    Mar 2001
    Posts
    5

    Re: I need ShellExecute help!!

    why dont you just do form.print or something like that


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