Results 1 to 3 of 3

Thread: One of Microsoft's good developments....

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2000
    Location
    Kettering, Northants, England
    Posts
    56

    One of Microsoft's good developments....

    Does anyone know how (or if) I can use the IP address control from the Network Neighbourhood Dialog box in a vb project please?

    The control does all the IP validation and even tabs between subnets for you! I am developing an app where end-users need to enter an IP address and wondered if this was possible?

    DJ

  2. #2
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    The control is a window type exported by the comctl32.dll called "SysIPAddress32"

    Therefore if you make sure that the InitCommonControls api call has been called you can create new instances of this window class with the CreateWindowEx API call.

    I believe that the [i]Common Controls Replacement Project[/b] team may already have done this - try a google search for "SysIPAddress32".

    HTH,
    Duncan
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2000
    Location
    Kettering, Northants, England
    Posts
    56

    Talking Thank you

    Thanks very much, I had previously searched on Google for the issue, but did not know about SysIPAddress32

    Many thanks,

    Dave

    Once more the non-Euro countries triumph eh!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width