CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Printing a HTML document?

    How can I print a HTML document? When I show the decument with the CHtmlView, it prints only the view frame. (I dont't want to use M/SDI Doc/View architect, because it will run from a dll, not from an Exe). Is there an other way to print a HTML file?

    Borbély Gábor


  2. #2

    Re: Printing a HTML document?

    Try a code like this:

    ::ShellExecute( ::AfxGetApp()->m_pMainWnd, "print", "http://www.somehost.com/file.htm", NULL, NULL, SW_SHOW );



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