fixed the issue. Will look into that further It is possible, but it is a very complex task and I don't think that programming language choice is the first thing to look into. As a start, you can read up on Wikipedia on Wireless ad-hoc networks.
will be helpful for those in need The best you can do regarding the wireless connection is determining the connection type. There is no way to access or manipulate details about the connection. See this MSDN article for more information on using NetworkInterface.NetworkInterfaceType to determine the connection type
Get a List of available Wireless Networks using VBA
By : MichealCohen
Date : March 29 2020, 07:55 AM
I wish this helpful for you I found a way to use the netsh commands and was able to get the results that I wanted from the following code...
Dim strNetwork As String
strNetwork = ShellRun("netsh wlan show network")
Public Function ShellRun(sCmd As String) As String
'Run a shell command, returning the output as a string'
Dim oShell As Object
Set oShell = CreateObject("WScript.Shell")
Dim oExec As Object
Dim oOutput As Object
Set oExec = oShell.Exec(sCmd)
Set oOutput = oExec.StdOut
'handle the results as they are written to and read from the StdOut object'
Dim s As String
Dim sLine As String
While Not oOutput.AtEndOfStream
sLine = oOutput.ReadLine
If sLine <> "" Then s = s & sLine & vbCrLf
ShellRun = s