Hard Drive Serial Number/Total Drive Size
You might be interested in the examples :
Manipulating System Tray Icons using Shell_NotifyIcon, Advanced
Add and respond to an icon placed in the System Tray. Demos using the
systray to display drive statistics via GetDriveSpaceFreeEx.
http://www.mvps.org/vbnet/code/shell/shellnotifybasic.htm
http://www.mvps.org/vbnet/code/shell/shellnotifyadv.htm
.. or several other disk-info methods .....
http://www.mvps.org/vbnet/code/shell/diskspace.htm
http://www.mvps.org/vbnet/code/shell/diskspacefat32.htm
http://www.mvps.org/vbnet/code/shell/volumelabel.htm
http://www.mvps.org/vbnet/code/shell/drivetype.htm
--
Randy Birch, MVP Visual Basic
http://www.mvps.org/vbnet/
http://www.mvps.org/ccrp/
To assist in maintaining this thread for the benefit of
others, please post any response to this newsgroup.
Quote:
>I need a method to obtain the hard drives serial number and total drive
size
>from
>visual basic (5.0). I tried using scrrun.dll but have problems with
>registering it as
>an activex component with the installation program.
>Is there an API or some other method of getting this information without
>being
>dependant on the scripting dll?
>Any thoughts appreciated, thanks...