Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Web page download without images

Web page download without images

Scheduled Pinned Locked Moved C / C++ / MFC
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sonu saini 76 gmail com
    wrote on last edited by
    #1

    Hi There, I need to download web pages from a website but don't want the images on that page. Please let me know how we can download only contents of web page without any image. Thanks!

    H 1 Reply Last reply
    0
    • S sonu saini 76 gmail com

      Hi There, I need to download web pages from a website but don't want the images on that page. Please let me know how we can download only contents of web page without any image. Thanks!

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      Did you see IHTMLElement?

      Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

      S 1 Reply Last reply
      0
      • H Hamid Taebi

        Did you see IHTMLElement?

        Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

        S Offline
        S Offline
        sonu saini 76 gmail com
        wrote on last edited by
        #3

        Hi, I'm a newbie in VC++. I have to implement this into VC++, so please suggest.

        S 1 Reply Last reply
        0
        • S sonu saini 76 gmail com

          Hi, I'm a newbie in VC++. I have to implement this into VC++, so please suggest.

          S Offline
          S Offline
          sonu saini 76 gmail com
          wrote on last edited by
          #4

          Open a particular Directory

          void CMultipleEOFDlg::OnBrowse()
          {
          CFileDialog dlg(TRUE);
          CString sPath = "c:\\program files\\my folder\\1.c";
          int nPos = sPath.Find("\\");
          nPos = sPath.Find("\\",nPos + 1);
          sPath = sPath.Left(nPos + 1);
          dlg.m_ofn.lpstrInitialDir=sPath;
          dlg.DoModal();
          }

          void CMultipleEOFDlg::OnBrowse()
          {
          // TODO: Add your control notification handler code here
          char strFilter[] = { "Text Files (*.txt)|*.bcr|All Files (*.*)|*.*||" };

          CFileDialog FileDlg(TRUE, "\*.txt", NULL, 0, strFilter);
          if( FileDlg.DoModal() == IDOK )
          {
          	m\_strFilePath = FileDlg.GetPathName();		
          }
          AfxMessageBox(m\_strFilePath);
          UpdateData(FALSE);
          

          }

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups