New Controls

Does Microsoft have plans for adding an IP Edit box control into VS 2005   Many developers have been looking for one with the same functionality used to change your IP address in the Windows Network Settings for many years.  It would be helpful for one to be included so we could drag and drop onto our forms.

-Jason


Answer this question

New Controls

  • romdawg

    That's true, but there's also a little bit of validation needing to be done, plus the nicities of automatically moving to the next octet and such.  I'm not even sure of all of the rules of IP addresses (One is the first Octect can only go to 223), let alone rules for IPv6.  It'd just be nice if Microsoft decided to add these.  Thanks for the reply, David.

    -Jason

  • Brad Smith

    No I don't think so, but you can achieve the same effect, using the new Masked TextBox, which allows you to force the user to enter a certain pattern such:

    ___.___.___.___

    HTH

    David

  • Zaba

    David,

    You said that maskedTextBox allows you to move to the next component, could you clarify upon this.
    I am setting a custom mask as 99999.99 , for a decimal number.
    Its possible that a user wants to enter only 356.50, so he has two move till the decimal by using space which is of course not user friendly. As soon as user types a dot he should be allowed to enter digits after the decimal.

    Could you help me wth this as so to what combination of properties should be set.

    Thanks in advance,
    Manu.

  • elerrina

    Now you want the IP textbox.
    Later... You want the Telephone textbox.
    next... Money textbox...

    so  microsoft cant make a control for each requirments to valid.
    There is REGEX to valid data.

    and to maske the text.. u can use maskedTextbox

    resources :
    http://www.regular-expressions.info/
    http://www.regexlib.com/

    good works


  • SteveWE

    I'm not sure if you played around with the MaskedTextBox but it does automatically move to the next component, (ie you don't have to type '.'). You can also run a RegEx over the text to see if it conforms.

    I think it better for them to develop a general control such as the MaskedTextBox, then create a single IP Address Control. Most applications do not require it.



  • New Controls