Search:
Type: Posts; User: Niya
Search:
Search took 0.11 seconds.
-
-
You will have to filter out the the IPv4 addresses yourself like this:-
'
'The name of the PC goes in this variable
Dim pcName As String = "PCName"
'Lists all the IP...
-
Did you copy ONLY the IncrementPointer function to your code? I made more changes than that to the code you posted. Mainly, the original code wasn't using pointers correctly so I fixed all instances...
-
Here, I made some changes to the code:-
Imports System.Runtime.InteropServices
Public Class Form1
Public Const SV_TYPE_ALL As Integer = &HFFFFFFFF
Public Structure SERVER_INFO_101
...
-
This might work for you. It uses the address resolution protocol as a means of locating other connected PCs. The sample code is for VB6 but it's nothing that can't be translated to VB.Net or any...
|
Click Here to Expand Forum to Full Width
|