VS 2008 Reading Local Hard Drive Serial Number?
Oct 29, 2009
My Dad made an application which had a feature that i want, basically his programme reads the users hard drive serial number and then multiplies it by say 12 and then divides it by 7 for example. This number is then shown as a 'Authorisation Code' which the user has to email to him and then his breaks it back down to the original hard drive serial number which he sends back which is the application serial number to activate it. I want to know how to read the actual hard drive serial number or a number that every computer has so i can do the same but i have searched everywhere and cannot find any examples for VB 2008 apart from one which didn't work
View 8 Replies
ADVERTISEMENT
Mar 6, 2010
How can i get the hard drive Serial Number.The Physical one only I spent 1 hour on google the only examples i found all had errors
View 18 Replies
Mar 6, 2011
PHP
Dim searcher As ManagementObjectSearcher = New ManagementObjectSearcher("SELECT * FROM Win32_PhysicalMedia")
For Each wmi_HD As ManagementObject In searcher.Get()
MessageBox.Show(wmi_HD("SerialNumber"))
Next
I am using this code for getting hard drive serial number its works ok with me but not working on my friends system and return an empty string.
View 4 Replies
Jul 2, 2009
I would like to get the hard drive serial number.... to make a security feature for some software so it will only run on that hard drive... [URL]
View 13 Replies
Aug 25, 2011
How do to get serial number hard drive and mother bord in vb.net?
View 17 Replies
Dec 18, 2010
The drive is connected via USB and the problem I'm having is that, periodically, while my code is executing, the usb drive seems to disconnect and reconnect. (Nothing to do with the program, but the drive itself).I want to find a way to prevent these temporary drive reconnects from interrupting my code. IE, i want to insure that whatever read or write that is requested is actually executed even in the case of a temporary drive interruption.
View 1 Replies
Jul 25, 2010
I've been checking endlessly on MSDN and the net in general trying to find out how to get the computer's "C:" drive serial number and also the GUID.Everything I've found seems to pointing to the System.Management library using the ManagementObject, but "ManagementObject" doesn't appear to be recognized by the IDE?!I've imported: System.Management, System.Management.Instrumentation, Microsoft.Win32 and System.IO, but ManagementObject is still coming up as an error.I'm aware I can simply access the registry to get the GUID, but can anyone simply give me the code to access these 2 elements please.
View 10 Replies
Oct 24, 2011
I found something very strange, in the data base explorer I modify the conection to the location of the data base(F:My DocumentsMy ResepteResepte.sdf) , but after raning the app. the path is back to what it was in the project folder and so the same in the selution window. It is set to Do Not Copy. How can I change this so that the IDE looks at the propper data all the time.
Hendri Bissolati noviceprogrammer@vodamail.co.za
View 4 Replies
Apr 22, 2010
Dim SerieDisco as String Dim SerDis As New FileSystemObject Public Const LDisk= "C" SerieDisco = SerDis.Drives(LDisk).SerialNumber In VB6 I did use this code and get the serial number of Driver C: But now I am traslating the application to VB 2008 and I don't know how i do it? The methot in VB 6 function with hard Drive, CD and memory card (usb)
View 9 Replies
Jun 5, 2011
I have a program that must copy a file to 3 locations, the local hard disk, a USB drive, and a network location. I have the file (about 70mb) loaded into a byte array. My quesion is, since I'm not actively modifying the byte array, can I impliment a form of multithreading where all 3 threads read the same byte array at the same time?
View 1 Replies
Jul 8, 2011
I'm working on an app that should be able to read files from an External Hard Drive or even an iPhone or iPod. I'm a beginner so it would be great to keep it simple :) I suppose I should use the SerialPort class? But I'm not sure and I couldn't make it work.
View 7 Replies
Feb 11, 2011
How do I get the hard disk physical serial number like in that example: http:[url]...
View 5 Replies
Jul 5, 2006
i want 2 know that ,is there anyway to get hard disk serial number(Hard Disk , not Hard Drives) without using WMI.
View 7 Replies
Nov 24, 2009
Can anyone explain with program how to extract the serial number or unique ID of the hard disk. i need a clear explained program. i m using some tools but i couldn't really understand how they do it.
View 10 Replies
May 31, 2011
Using Visual Studio 2010 does anyone know the best way to retrieve the serial number of the PC's hard disk using VB2010 (not VB6).
View 2 Replies
Oct 1, 2010
I am trying to build an autorun application for windows 7 and I need to retrieve a drive's VOLUME serial number (the one that changes when you format it)
View 4 Replies
Jul 21, 2009
Is it possible to read the serial number of a USB drive using VB.
View 3 Replies
Mar 26, 2009
is there any way to find out the hard drive that windows is installed in? (local drive?)
View 4 Replies
Apr 25, 2010
i have a question concering USB flash drives. I am building a Record Book with an Access 2007 database. When a user changes some information in the database i have built a procedure to create a backup of the database on a second hard drive. I was wondering if there is a way to find my USB flash drive serial number (either through coding or alternative ways) and specify that USB with that serial number as the location of the backup. As my program is at the moment, the backup is created from C to D. This can be a problem if on other computers there is no D drive or it's not a hard disk. By specifying the serial number to save the backup database to, should work on all pcs (theoretically). I am just not sure if this is possible in any way.
View 4 Replies
Oct 6, 2010
i have this piece of
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim strFileSize As String = ""
Dim di As New IO.DirectoryInfo("C:")
[code]....
and it works just fine. However, saying that, i need to find a way to loop through ALL the directory's on the "c" drive and not just the main folder.
View 5 Replies
Mar 29, 2010
I wrote a program that can kinda of read Docx files. I can extract the text of the file and the metadata that word puts in the file not the stuff you see when you write click and go to properties. I Can extract and view that data I'm working on making the subroutine (i don't know if its an algorithm there is no math.Anyway I want this to be a forensic program where it will scan the whole hard drive and add all the docx files to a listbox. I found this code
Dim file_names As ReadOnlyCollection(Of String)
Dim directory As String = "c:"
Dim searchFor As String = "windows"
[code]....
but some folders that where hidden like $inplace they were left over from my windows 7 upgrade. they cause it to crash. is there anyway to be able to scan every folder on the PC. I tried launching the complied .exe by right clicking and hitting run as admin but it still crashed when i executed that code.
View 11 Replies
Jul 27, 2010
(1) easy way of learning WMI, because i red many articlas on net but i could,t fallow whats what and MSDN is also not very understandable is there any MVP articles regarding please send me link
(2) how can i read HDD manufacturers serioal number
View 4 Replies
Apr 11, 2010
A form that will display the contents of a folder? I have my forms set up, I want the user to then click on a button that will load up a nw form which will contain a window that is a folder in one of my drives. There may be folders inside this main folder which the user can go into, but they can't go back frrom the original main folder and look at the other contents. First up, Is an explorer form the one I am looking for? Making one of those, it seems to be the right path but where to from there?
Another thing I need to be able to do is have the user double click on the files inside of the folder. When double clicked the folder still maintains its current state, as the files that will be clicked will do the work in the background. I have all the forms set up and linked together, I just need to know how to get this folder into a form..
View 13 Replies
Dec 10, 2008
Does anyone know if there is a way to determine if a drive is local or a network drive?
View 1 Replies
Jan 13, 2010
Send hdd serial number (not volume number)code in vb.net 2008.
View 3 Replies
May 18, 2010
I need to get my application to be installed on to the C: location in Visual Basic after ive published it.
View 7 Replies
Nov 9, 2007
I'm trying to get hard drive temperature data.I can get the temperature via MSStoragedriver_ATAPISmartData.And, I can get all sorts of drive info (model, serial #, etc. via the Win32PhysicalMediaClass.The trouble is trying to link the two together.I get this temperature info, but I don't know which drive it is.The only identifier I can get from MSStoragedriver_ATAPISmartData is InstanceName.That looks like it has the model number embedded in it, but I can't get model number in Win32 my question is how can I get the temperature data and realte it to a specific drive?
View 2 Replies
Oct 19, 2011
Anyone know how i can get the harddrive id?
View 1 Replies
Aug 10, 2009
I would like to use the Windows Vista/7 defragmentation feature from my program. I can use a shell command to call defrag.exe, but there's no way to get the status that I know of. I would like to show a percentage and maybe what part of the process it's doing. Then when it's done get the results.
View 6 Replies
May 19, 2011
I have a VB.Net 2010 app and need to delete a file from the hard drive when the app opens up (cache file). What command will perform this action? I know the name in advance, so I can format the command right in the app.
View 1 Replies