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. Downloading form results

Downloading form results

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
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.
  • J Offline
    J Offline
    Jose Luis Sogorb
    wrote on last edited by
    #1

    Same way there is code to download a file via ftp or http service, is it possible to download results from a form? An example, I can make this with my code ..... AfxParseURL("ftp://tgftp.nws.noaa.gov", dwServiceType, strServerName, strObject, nPort); if((dwServiceType==INTERNET_SERVICE_FTP)&&!strServerName.IsEmpty()) { try { pConn = m_pInetSession->GetFtpConnection(strServerName, "", "", nPort, FALSE); etc......... But, what about if the page addres I want is someting like this (the result of a form)?: "http://weather.uwyo.edu/cgi-bin/sounding?region=europe&TYPE=TEXT%3ALIST&YEAR=2001&MONTH=11&FROM=1212&TO=1212&STNM=08430" Thank you.

    C 1 Reply Last reply
    0
    • J Jose Luis Sogorb

      Same way there is code to download a file via ftp or http service, is it possible to download results from a form? An example, I can make this with my code ..... AfxParseURL("ftp://tgftp.nws.noaa.gov", dwServiceType, strServerName, strObject, nPort); if((dwServiceType==INTERNET_SERVICE_FTP)&&!strServerName.IsEmpty()) { try { pConn = m_pInetSession->GetFtpConnection(strServerName, "", "", nPort, FALSE); etc......... But, what about if the page addres I want is someting like this (the result of a form)?: "http://weather.uwyo.edu/cgi-bin/sounding?region=europe&TYPE=TEXT%3ALIST&YEAR=2001&MONTH=11&FROM=1212&TO=1212&STNM=08430" Thank you.

      C Offline
      C Offline
      Carlos Antollini
      wrote on last edited by
      #2

      You can display the Form using the CHtmlView Class, when you have the form you can analize the html. But I don't understand what you need... The form will show you some results? and you want to download the results? Please explain.... Best Regrads!!! :bob: Chau!!! Carlos Antollini.

      J 1 Reply Last reply
      0
      • C Carlos Antollini

        You can display the Form using the CHtmlView Class, when you have the form you can analize the html. But I don't understand what you need... The form will show you some results? and you want to download the results? Please explain.... Best Regrads!!! :bob: Chau!!! Carlos Antollini.

        J Offline
        J Offline
        Jose Luis Sogorb
        wrote on last edited by
        #3

        Well, the results are meteorological data I want to process and make a graph with them.

        C 1 Reply Last reply
        0
        • J Jose Luis Sogorb

          Well, the results are meteorological data I want to process and make a graph with them.

          C Offline
          C Offline
          Carlos Antollini
          wrote on last edited by
          #4

          Okay luis, hablemso en español. Lo que podes hacer son dos cosas o biien modificar tu ASP para que te deje archivos con los datos que deseas obtener. la otra es usar la clase CHTMLView. editar la pagina, en el evento onnavigatecomplete analizarla y asi obtener los datos que desas, pero eso puede ser muy complicado, yo sierta vez lo hice, y bueno si te sirve te puedo enviar el ejemplo de como analizaba el contenido de la pagina. Saludos. CARLOS.... :bob: I also speak spanish. Hasta Luego!!! Bob is saying his first words in spanish!!!! :-D Carlos Antollini.

          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