|
-
Mar 29th, 2006, 10:16 PM
#1
Thread Starter
Hyperactive Member
getting computer's information?
How would i get someone's harddrive id#? Or something on the computer that never changes but ONLY exist on that computer. I'm trying to make the user login into my server using their harddrive id# or something that never changes even if they format. Is something like this possible?
-
Mar 29th, 2006, 10:23 PM
#2
Re: getting computer's information?
Not in VB6 but you could if you used .NET or C++. VB6, as far as I have seen, can only get the volume information of a drive that changes when you format a drive.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Mar 29th, 2006, 11:03 PM
#3
Thread Starter
Hyperactive Member
Re: getting computer's information?
I found this code that gets the volume serial #, this won't change unless the computer is formatted right? Also, all computer has a C:\ drive right?
this is the code:
http://www.pscode.com/vb/scripts/Sho...d=489&lngWId=1
-
Mar 29th, 2006, 11:26 PM
#4
Lively Member
Re: getting computer's information?
yes, at least in windows. C:\ is a required drive unless your a good modder
-
Mar 29th, 2006, 11:42 PM
#5
Conquistador
Re: getting computer's information?
My windows is on d:\ on my pc, not c:\
-
Mar 29th, 2006, 11:57 PM
#6
Re: getting computer's information?
There is an easier way to use the API.
http://www.mentalis.org/apilist/GetV...ormation.shtml
Just remember that if they reformat their hard drive the number will no longer match.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|