New topic: Problems with command wmi in Windows XP
<http://forums.realsoftware.com/viewtopic.php?t=45163> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message adrianoaav Post subject: Problems with command wmi in Windows XPPosted: Wed Aug 29, 2012 8:09 am Joined: Wed Aug 29, 2012 7:54 am Posts: 1 Hello guys, I'm new in the forum! I have a problem to run the wmic command in Windows XP via the Shell class. I auditioned with other commands such as calc.exe and it worked perfectly, but have not been able wmic. Below is the code I'm using: Dim sh As Shell, sMotherboard As String sh = New Shell #if TargetWin32 sh.Execute ("wmic baseboard get serialnumber") sMotherboard = sh.Result #endif MsgBox sMotherboard I appreciate any help. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
