WMI & VB.Net

  • Thread starter Thread starter Bob Hollness
  • Start date Start date
B

Bob Hollness

Hi all. I am using WMI to read some printing information. It runs soooo
sssslllooooowwww for me though when retrieving information. My computer is
pretty quick so I don't think it is the PC. Is this normal?
 
Bob Hollness said:
Hi all. I am using WMI to read some printing information. It runs soooo
sssslllooooowwww for me though when retrieving information. My computer
is pretty quick so I don't think it is the PC. Is this normal?

Yes. WMI is primarily intended for administation/maintainance purposes.
 
Herfried K. Wagner said:
Yes. WMI is primarily intended for administation/maintainance purposes.

Is there anything I can do to improve performance at all?
 
Bob Hollness said:
Is there anything I can do to improve performance at all?

Some parts of WMI can be replaced with p/invoke calls. What information
exactly do you want to get using WMI?
 
Herfried K. Wagner said:
Some parts of WMI can be replaced with p/invoke calls. What information
exactly do you want to get using WMI?

A while ago I posted about manipulating a printer. I wanted to know if a
class or API existed. I was pointed in the direction of something that
partly helped but it was not enough. I managed to do it using WMI but it
justs runs so slow.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top