Hear how the thing go now... Mi just wah fi help so hear weh unnu ago do
I am a programmer by profession, so dat mean mi can help unnu wid almost anything. From PC repair issues to trouble shooting windows and software application and also unnu programming codes and syntax.
So if you need help you just PM and I'll post yuh question plus the proper response to it; and given that many of times there are more than one solution to solve a problem. I'll invite other members to post their ideas too.
So there you have it, an open invitation for you to get some help with school work, personal work and work work. Can't say I never tried to help.
The programming languages that I can assist with are: VB VB.Net VBA C C++ Java My SQL MSSQL /TSQL HTML
-- Edited by Kaos at 14:38, 2008-10-09
-- Edited by Kaos at 14:39, 2008-10-09
-- Edited by Kaos at 14:39, 2008-10-09
AJ said
00:17 10/16 2008
lyndo said
00:19 10/16 2008
kool nuh man BADANG!!!
wrenxz said
09:30 10/16 2008
***!!!! G E E K A L E R T !!!! +--!!!! G E E K A L E R T !!!!--+ !!!! G E E K A L E R T !!!!***
STAINLESS said
09:34 10/16 2008
arite finally a VB man....yo why this wont work dont know why **sighs...plz
strComputer= "."
Set objWMIService= GetObject("winmgmts" &"{impersonationLevel= impersonate}!\\" & strComputer & " oot\cimv2")
Set colItems = objWMIService.ExecQuery("Select * From Win32_FloppyDrive")
For Each objItem in colItems
Wscript.Echo "Device ID: " & objItem.DeviceID
Wscript.Echo "Manufacturer: " & objItem.Manufacturer
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "PNP Device ID: " & objItem.PNPDeviceID
Wscript.Echo
Next
Wyzco said
09:37 10/16 2008
zeen cool!
Kaos said
11:41 10/17 2008
Dj Kaos To di World
Stainless I am going to run ur code in my editor and try to debug it. But I notice one point of interest so far.
Why r u using the string varible "strComputer" to store a dot character why not state it explicitly in ur code.
Any how at the time of this post I am at work so give until later to get back to you. Zeen
Kaos said
16:44 10/17 2008
Dj Kaos To di World
Yes mi yute si di fix yah. Sorry mi couldn't get back to you earlier yuh know how di work thing go sometime.
But there was not much wrong with your code, although I do understand that programming Windows Management Instrumentation (WMI) can be very tricky at times.
The areas correccted are in bold red.
strComputer= "."
Set objWMIService= GetObject("winmgmts: {impersonationLevel= impersonate}!\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * From Win32_FloppyDrive")
For Each objItem in colItems Wscript.Echo "Device ID: " & objItem.DeviceID Wscript.Echo "Manufacturer: " & objItem.Manufacturer Wscript.Echo "Name: " & objItem.Name Wscript.Echo "PNP Device ID: " & objItem.PNPDeviceID Wscript.Echo Next
bLaCkBeatZ said
16:47 10/17 2008
wow koool i coulda mek u look at my project only its due today....:(
but otherwise if i ave ne issues i'll definitely link u. I am currently using haskell tho.
To di World
Hear how the thing go now... Mi just wah fi help so hear weh unnu ago do
I am a programmer by profession, so dat mean mi can help unnu wid almost anything. From PC repair issues to trouble shooting windows and software application and also unnu programming codes and syntax.
So if you need help you just PM and I'll post yuh question plus the proper response to it; and given that many of times there are more than one solution to solve a problem. I'll invite other members to post their ideas too.
So there you have it, an open invitation for you to get some help with school work, personal work and work work. Can't say I never tried to help.
The programming languages that I can assist with are:
VB
VB.Net
VBA
C
C++
Java
My SQL
MSSQL /TSQL
HTML
-- Edited by Kaos at 14:38, 2008-10-09
-- Edited by Kaos at 14:39, 2008-10-09
-- Edited by Kaos at 14:39, 2008-10-09
BADANG!!!
oot\cimv2") Set colItems = objWMIService.ExecQuery("Select * From Win32_FloppyDrive") For Each objItem in colItems Wscript.Echo "Device ID: " & objItem.DeviceID Wscript.Echo "Manufacturer: " & objItem.Manufacturer Wscript.Echo "Name: " & objItem.Name Wscript.Echo "PNP Device ID: " & objItem.PNPDeviceID Wscript.Echo Next
To di World
Stainless I am going to run ur code in my editor and try to debug it. But I notice one point of interest so far.
Why r u using the string varible "strComputer" to store a dot character why not state it explicitly in ur code.
Any how at the time of this post I am at work so give until later to get back to you. Zeen
To di World
Yes mi yute si di fix yah.
Sorry mi couldn't get back to you earlier yuh know how di work thing go sometime.
But there was not much wrong with your code, although I do understand that programming Windows Management Instrumentation (WMI) can be very tricky at times.
The areas correccted are in bold red.
strComputer= "."
Set objWMIService= GetObject("winmgmts: {impersonationLevel= impersonate}!\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * From Win32_FloppyDrive")
For Each objItem in colItems
Wscript.Echo "Device ID: " & objItem.DeviceID
Wscript.Echo "Manufacturer: " & objItem.Manufacturer
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "PNP Device ID: " & objItem.PNPDeviceID
Wscript.Echo
Next