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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. Can I write a Client to navigate web pages?

Can I write a Client to navigate web pages?

Scheduled Pinned Locked Moved Web Development
c++csharpjavavisual-studiotools
3 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.
  • B Offline
    B Offline
    Bryan Anslow
    wrote on last edited by
    #1

    Hi, I have been using Visual C++ since v1.5, and now have Visual Studio 2003 and Beta2 of 2005. Also, I have a broad use of Java,,,so no problem in using the tools. Now is my first look at programmatic Web navigation. What I want to know is, can I write a Client (preferably in C/C++ with/without MFC, or Java) that can navigate Web pages, and enter things like a UserID/Password on a page, then navigate to the required page after the login is OK, navigate on from that (like clicking an option on the page) to a dynamically created page, and retrieve data from it. If there are any examples out there to get me started that would be a bonus too. Many Thanks, Bryan.

    A 1 Reply Last reply
    0
    • B Bryan Anslow

      Hi, I have been using Visual C++ since v1.5, and now have Visual Studio 2003 and Beta2 of 2005. Also, I have a broad use of Java,,,so no problem in using the tools. Now is my first look at programmatic Web navigation. What I want to know is, can I write a Client (preferably in C/C++ with/without MFC, or Java) that can navigate Web pages, and enter things like a UserID/Password on a page, then navigate to the required page after the login is OK, navigate on from that (like clicking an option on the page) to a dynamically created page, and retrieve data from it. If there are any examples out there to get me started that would be a bonus too. Many Thanks, Bryan.

      A Offline
      A Offline
      alex barylski
      wrote on last edited by
      #2

      Yes... Internet Explorer is basically a shell around the IWebBrowser2 COM object. There are many articles on here which explain how use that object. Using MFC you can quickly see what I mean by creating a project using appwizard and checking that you want to use views, but instead of CView you use CHtmlView Search Codeproject for CHtmlView for lots of exmaples as to what is possible using the class (which is basically a MFC wrapper around the COM IWebBrowser2. Not sure if any article covers exactly what your trying to do - i'm not sure what your trying to do...too lazy to re-read...but if you search CHtmlView here on CP you should be pleasantly surprised. Cheers :) It's frustrating being a genius and living the life of a moron!!!

      B 1 Reply Last reply
      0
      • A alex barylski

        Yes... Internet Explorer is basically a shell around the IWebBrowser2 COM object. There are many articles on here which explain how use that object. Using MFC you can quickly see what I mean by creating a project using appwizard and checking that you want to use views, but instead of CView you use CHtmlView Search Codeproject for CHtmlView for lots of exmaples as to what is possible using the class (which is basically a MFC wrapper around the COM IWebBrowser2. Not sure if any article covers exactly what your trying to do - i'm not sure what your trying to do...too lazy to re-read...but if you search CHtmlView here on CP you should be pleasantly surprised. Cheers :) It's frustrating being a genius and living the life of a moron!!!

        B Offline
        B Offline
        Bryan Anslow
        wrote on last edited by
        #3

        Well, that has given me something to look at - and a few new ideas... Thanks, Bryan.

        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