Home All Groups Group Topic Archive Search About

vb.Script to VB.NET 2005

Author
29 Apr 2006 4:49 AM
eSolTec, Inc. 501(c)(3)
Thank you in advance for any and all assistance. I'm attempting to make WMI
calls in VB.NET 2005 Pro and I've found the VB.Script WMI calls. Is there a
SDK or converter to convert scripts to VB.NET?

I want to find out "all" installed software> "all" hardware > register in
read only > startup config files (win.ini, system.ini, "msconfig" type read
only)

I can find the scripts and when I try and use the code, I get WScript.echo
is not declared and I can't build and see if the information I need is there.
HELP!!

Author
29 Apr 2006 5:15 AM
Terry Olsen
This is a piece of code I wrote to query the WMI. I hope it can help you
out.

http://boycot.no-ip.com/vb/RemoteWMI.vb.html

Show quoteHide quote
"eSolTec, Inc. 501(c)(3)" <eSolTecInc50***@discussions.microsoft.com> wrote
in message news:696AD73B-FF21-4AA4-AC0F-0EF208685762@microsoft.com...
> Thank you in advance for any and all assistance. I'm attempting to make
> WMI
> calls in VB.NET 2005 Pro and I've found the VB.Script WMI calls. Is there
> a
> SDK or converter to convert scripts to VB.NET?
>
> I want to find out "all" installed software> "all" hardware > register in
> read only > startup config files (win.ini, system.ini, "msconfig" type
> read
> only)
>
> I can find the scripts and when I try and use the code, I get WScript.echo
> is not declared and I can't build and see if the information I need is
> there.
> HELP!!
Author
29 Apr 2006 7:07 AM
Cor Ligthert [MVP]
ESol,

We have this on our website.

http://www.vb-tips.com/default.aspx?ID=34241f3e-16ff-4e87-86d1-2b03e1a439ae

However, I think that you are more clever to do it direct in VBNet as there
are samples enough how to use WMI in VBNet, as Terry gave you one.

I hope this helps,

Cor


"eSolTec, Inc. 501(c)(3)" <eSolTecInc50***@discussions.microsoft.com>
schreef in bericht
Show quoteHide quote
news:696AD73B-FF21-4AA4-AC0F-0EF208685762@microsoft.com...
> Thank you in advance for any and all assistance. I'm attempting to make
> WMI
> calls in VB.NET 2005 Pro and I've found the VB.Script WMI calls. Is there
> a
> SDK or converter to convert scripts to VB.NET?
>
> I want to find out "all" installed software> "all" hardware > register in
> read only > startup config files (win.ini, system.ini, "msconfig" type
> read
> only)
>
> I can find the scripts and when I try and use the code, I get WScript.echo
> is not declared and I can't build and see if the information I need is
> there.
> HELP!!