Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-09-17
15
Medium Priority
?
2,289 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
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

 

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 2000 total points
ID: 12262150
0

Featured Post

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.

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…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

927 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