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. get value(address) from ipaddress control

get value(address) from ipaddress control

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
8 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.
  • P Offline
    P Offline
    prathuraj
    wrote on last edited by
    #1

    how to get a ascii value of address in ip address control

    D 1 Reply Last reply
    0
    • P prathuraj

      how to get a ascii value of address in ip address control

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      prathuraj wrote:

      how to get a ascii value of address in ip address control

      Do you mean the textual representation of the IP address?


      "A good athlete is the result of a good and worthy opponent." - David Crow

      "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

      P 1 Reply Last reply
      0
      • D David Crow

        prathuraj wrote:

        how to get a ascii value of address in ip address control

        Do you mean the textual representation of the IP address?


        "A good athlete is the result of a good and worthy opponent." - David Crow

        "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

        P Offline
        P Offline
        prathuraj
        wrote on last edited by
        #3

        i want to get ascii value because i cant differenciate (. . . .) and (0.0.0.0) in ipaddress control.I want to check each field in ipaddress control with space or zero.how to do that I read the value from ipaddress control by Getdlgitem(id)->getWindowtext(cstring)

        D 1 Reply Last reply
        0
        • P prathuraj

          i want to get ascii value because i cant differenciate (. . . .) and (0.0.0.0) in ipaddress control.I want to check each field in ipaddress control with space or zero.how to do that I read the value from ipaddress control by Getdlgitem(id)->getWindowtext(cstring)

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          Have you ignored the GetAddress() method? In addition to getting the actual value from the control, it returns the number of non-blank fields.


          "A good athlete is the result of a good and worthy opponent." - David Crow

          "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

          P 1 Reply Last reply
          0
          • D David Crow

            Have you ignored the GetAddress() method? In addition to getting the actual value from the control, it returns the number of non-blank fields.


            "A good athlete is the result of a good and worthy opponent." - David Crow

            "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

            P Offline
            P Offline
            prathuraj
            wrote on last edited by
            #5

            how to use getaddress function for dynamic one

            D 1 Reply Last reply
            0
            • P prathuraj

              how to use getaddress function for dynamic one

              D Offline
              D Offline
              David Crow
              wrote on last edited by
              #6

              prathuraj wrote:

              ...for dynamic one

              You created a "SysIPAddress32" control dynamically?


              "A good athlete is the result of a good and worthy opponent." - David Crow

              "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

              P 1 Reply Last reply
              0
              • D David Crow

                prathuraj wrote:

                ...for dynamic one

                You created a "SysIPAddress32" control dynamically?


                "A good athlete is the result of a good and worthy opponent." - David Crow

                "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                P Offline
                P Offline
                prathuraj
                wrote on last edited by
                #7

                no,I used the class CIPAddressCtrl

                D 1 Reply Last reply
                0
                • P prathuraj

                  no,I used the class CIPAddressCtrl

                  D Offline
                  D Offline
                  David Crow
                  wrote on last edited by
                  #8

                  prathuraj wrote:

                  I used the class CIPAddressCtrl

                  Which has no bearing on whether you created the underlying control at design time or at run time (i.e., dynamic).


                  "A good athlete is the result of a good and worthy opponent." - David Crow

                  "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                  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