It errors "Object variable or With block variable not set" on the bold line. I researched this on MSDN and it says I have to "Dim something As Object" and "Set someting = ????" for it to work. What must I be doing?VB Code:
Public Type sockaddr_in sin_family As Integer sin_port As Integer sin_addr As Long sin_zero(1 To 8) As Byte End Type Dim addr As sockaddr_in Dim ip As String [b]ip = inet_ntoa(addr.sin_addr)[/b]
MSDN article = http://msdn.microsoft.com/library/de...gobjnotset.asp




Reply With Quote