Solved

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

Posted on 2004-09-17
15
2,272 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
On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

 

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This article shows how to setup the internet connectivity on Windows Mobile Emulator.   I assume that you already have Microsoft Visual Studio, Microsoft Windows Mobile SDK's and the emulator installed. The emulator is available with Visual Studi…
Let me explain this picture a little bit.  First, in case you haven't already guessed, you are looking at my 2 phones, an Android Samsung Galaxy S5 on the left and an iPhone 5 on the right.  They are on their respective cradles on my desk.  But, you…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

626 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