Members Login
Username 
 
Password 
    Remember Me  
 

Topic: IT /Computing Help Made Easy

Page 1 of 1  sorted by
Wide (rest of width)
Narrow (200px)
Noobs
Status: Offline
Posts: 202
Date:

IT /Computing Help Made Easy

Dj Kaos
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

__________________
K - A - O - S
AJ
(**^**) AJ d FOOTBALL STAR (**^**)
Status: Offline
Posts: 2964
Date:
hmm

__________________
REACHIN OUT MI A MEK DEM KNO SEH A DJ DISTURBIA
mv2a8l.pngjzfi9h.jpg

posterfadzli.gif
"Lyndo Fi Di Gal Dem"
Status: Offline
Posts: 4955
Date:
kool nuh man
BADANG!!!

__________________
(¯`._WiLD InDIaN_.´¯)
Status: Offline
Posts: 5270
Date:
***!!!! 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 !!!!***

__________________

HAHA.jpg

Wscript.Echo"Beam mi up" & stain.CName
Status: Offline
Posts: 4488
Date:
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

__________________
****************Bavarian WiseWords*****************
Lesson1
Put Jesus Christ first!!


Lesson2
Success comes not from just what you know but who you know.




"Di Teacha"
Status: Offline
Posts: 2888
Date:
zeen cool!


__________________
Noobs
Status: Offline
Posts: 202
Date:
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



__________________
K - A - O - S
Noobs
Status: Offline
Posts: 202
Date:
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





__________________
K - A - O - S
MZ Life Time Super G/\Z/\ Member
Status: Offline
Posts: 26023
Date:
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.

__________________

▀▄▀▄★♫ Admin ♫★▀▄▀▄
Status: Offline
Posts: 11336
Date:
Page 1 of 1  sorted by
Quick Reply

Please log in to post quick replies.