Solved

Signal Strength, Visual Basic.net, Ndis80211ReceivedSignalStrength, WMI, No istances available

Posted on 2004-09-17
15
2,258 Views
Last Modified: 2013-12-09
Hi.
I'm testing the solution "Visual Basic, WMI and WiFi Signal Strength" asked by Jenn3 and solved by Mikal613.

I have an Intel(R) Pro/Wireless LAN PC Card and Windows 2000. The card is working correctly.

Running the solutions, and using a break point to intercept the cycle, I've noted it never stop inside the loop.

It exit the "For .. next" cycle without executing the instructions inside.
No errors are reported.

After this test, I've checked the WMI CIM Studio, and I've noted that "MSNdis80211ReceivedSignalStrength" istance is not available.
To be sure that the PC Card work correctly I've done two test:
1. The intel PROSet II PC Card manager report the signal strength correctly
2. The WMI CIM Studio istances correctly the MSNdisLinkSpeed, it list the right device number and, double-cliccking on the "Intel(R) Pro/Wireless LAN PC Card" link, it correctly shows the speed.

Note that I've installed all the PC Card'drivers including the *.mof files to update WMI.

Thank you.
0
Comment
Question by:LogicaConsulting
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
15 Comments
 
LVL 48

Expert Comment

by:Mikal613
ID: 12102548
Whats the question?
0
 

Author Comment

by:LogicaConsulting
ID: 12102632
Excuse me, the question is:
Why it is not avalaible the instance ?
What can I do to activate the instance ?
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 12102715
take a look at this

http://ramp.ucsd.edu/pawn/wrapi/
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:LogicaConsulting
ID: 12103541
Thank you for all,
this site looks like good but I've some problem to check the suggested solution:
- I work on Windows2000, instead of WindowsXP
- I work using Visual Basic.net instead of Visual C++
- I work using Visual Studio.net instead of Visual Studio 6.0
- My compiler shows messages like:
    "error C3861: 'pQueryOid': identifier not found, even with argument-dependent lookup"
    "error C3861: 'IOCTL_NDISUIO_SET_OID_VALUE': identifier not found, even with argument-dependent lookup"
and so on

So, the solution seems good but not very useful in a short time. I need time to read the source code and adapt it to a VC++.net solution. I have no time.

Don't you know a VB.net solution ?
Instead of a VB solution, a VC++.net is good enough.

Hi.

0
 
LVL 48

Expert Comment

by:Mikal613
ID: 12103619
0
 

Author Comment

by:LogicaConsulting
ID: 12103911
I've exactly started from this code:
   Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim query As ManagementObjectSearcher
        Dim Qc As ManagementObjectCollection
        Dim Oq As ObjectQuery
        Dim Ms As ManagementScope
        Dim Co As ConnectionOptions
        Dim Mo As ManagementObject
        Dim outp As String

        Try
            Co = New ConnectionOptions
            Ms = New ManagementScope("root\wmi")
            Oq = New ObjectQuery("SELECT * FROM MSNdis_80211_ReceivedSignalStrength where active=true")
            query = New ManagementObjectSearcher(Ms, Oq)
            Qc = query.Get
            outp = ""
            MsgBox("Inizio")

            For Each Mo In query.Get
                outp = outp & Mo("Ndis80211ReceivedSignalStrength") & " "
                'ISIPActive = Mo("Active")
                MsgBox(Mo("Ndis80211ReceivedSignalStrength"))
            Next

            MsgBox("Fine")

        Catch ex As Exception
            MsgBox(ex.Message)
        End Try
       
    End Sub
End Class

And it never show me the "Ndis80211ReceivedSignalStrength" MsgBox.

I think that the problem is in the WMI Studio that doesn't permit to me to do any istances of the "MSNdis80211ReceivedSignalStrength" class.
I think that but I don't understand where I miss something.


0
 
LVL 48

Expert Comment

by:Mikal613
ID: 12103954
you have a WMI provider for this card ?
0
 

Author Comment

by:LogicaConsulting
ID: 12104058
What is WMI provider.
I've downloaded all the WMI tools listed in the Microsoft site.
Is there any other SW to download ? Where is it ?
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 12104136
0
 

Author Comment

by:LogicaConsulting
ID: 12104247
I have to read all the documents you have suggested.

I'm out of the office for the next 3 days, and so I'll tell you something on the next friday.

For the moment I only can say: "thak's a lot".

Best regards.
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 12104317
no problem
0
 

Author Comment

by:LogicaConsulting
ID: 12259983
OK, I red all the documents.
After that, I think that a WMI provider is not necessary. I don't want to develope a driver or a service.

I only want to read the Signal Strength.
Now, I'm trying to read this information using NDIS 5.1, but it's not very simple.
0
 
LVL 48

Accepted Solution

by:
Mikal613 earned 500 total points
ID: 12262150
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Android 4.3 - World Clock on the lock screen 3 85
maxBlock challenge 30 151
smart phone memory and app 3 95
moto 4g plus phone how to delete videos and check space used 13 87
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
A short article about problems I had with the new location API and permissions in Marshmallow
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question