Results 1 to 6 of 6

Thread: Obsolete property

Threaded View

  1. #1

    Thread Starter
    Fanatic Member Arve K.'s Avatar
    Join Date
    Sep 2008
    Location
    Kyrksæterøra, Norway
    Posts
    518

    Obsolete property

    Hi,

    I got this warning:
    Warning 1 'Public Property Address() As Long' is obsolete: 'This property has been deprecated. It is address family dependent. Please use IPAddress.Equals method to perform comparisons. http://go.microsoft.com/fwlink/?linkid=14202' E:\_Visual Studio_\2008\VB\Pinger\classPinger\pingerbib.vb 167 38 pingerbib
    with this code:
    Code:
    Dim ipaddress As IPAddress
    Dim ip As Integer = CInt(Net.IPAddress.Parse(IP_adresse).Address
    Anyone know what the correct code is??
    Last edited by Arve K.; Sep 27th, 2009 at 06:40 PM.
    Arve K.

    Please mark your thread as resolved and add reputation to those who helped you solve your problem
    Disclaimer: I am not a professional programmer

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