Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ciprian Zaharia
  Where is Ciprian Zaharia?
 Brossard
 Canada
 Ciprian Zaharia
 To: naveed ahmad
  Where is naveed ahmad?
 peshawar
 Pakistan
 naveed ahmad
 Tags
Subject: RE: how to find hard disk no
Thread ID: 389868 Message ID: 393803 # Views: 45 # Ratings: 0
Version: Visual FoxPro 9 Category: Forms
Date: Tuesday, December 24, 2013 1:44:04 AM         
   


> Dear Experts
> how to find Hard Disk serial no?
>
> thanks
> regards
> naveed

Try this

ofs=create('scripting.filesystemobject')

messagebox(ofs.drives('C').serialnumber)

or

Messagebox(transform(ofs.drives('C').serialnumber, "@0x"))



Ciprian Zaharia
Fox4Ever
http://www.visitmix.com/Opinions/Why-Does-Your-Code-or-Design-Suck
http://genn.org/stuff/tastes/

ENTIRE THREAD

how to find hard disk no Posted by naveed ahmad @ 10/31/2013 8:47:10 AM
RE: how to find hard disk no Posted by mohammed qasem @ 10/31/2013 9:27:10 AM
RE: how to find hard disk no Posted by naveed ahmad @ 10/31/2013 10:06:29 AM
RE: how to find hard disk no Posted by ayaz ahmad @ 10/31/2013 9:42:59 AM
RE: how to find hard disk no Posted by David Mustakim @ 10/31/2013 10:06:07 AM
RE: how to find hard disk no Posted by Mike Gagnon @ 10/31/2013 10:37:38 AM
RE: how to find hard disk no Posted by David Mustakim @ 10/31/2013 10:51:28 AM
RE: how to find hard disk no Posted by Ciprian Zaharia @ 12/24/2013 1:44:04 AM