Solved

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

Posted on 2004-09-17
15
2,238 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
  • 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Preface: This article is part of a series focused on cross platform mobile app development (specifically Android and iOS) using the Alloy framework and Titanium Studio made by Appcelerator (https://www.appcelerator.com/). This article presumes a wor…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

789 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