Retrieving Hard Disk Serial Number With VB2010?
May 31, 2011Using 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 RepliesUsing 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 RepliesHow do I get the hard disk physical serial number like in that example: http:[url]...
View 5 Repliesi want 2 know that ,is there anyway to get hard disk serial number(Hard Disk , not Hard Drives) without using WMI.
View 7 RepliesCan 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 RepliesI am Creating a software which require users to enter the serial key provided by me. Well I want the users to send me the Computer key which how can i interface into my VB.net
After that Computer key I'll be sending them the activation key.Just like many softwares available in the market which does this?
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 RepliesHow 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 RepliesPHP
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.
How do to get serial number hard drive and mother bord in vb.net?
View 17 RepliesMy 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 RepliesI'm helping the IT department at my school do an audit of all our printers (there are hundreds). They are all networked, so I wrote a vb.net program that sends PJL (printer job language) commands over port 9100 to all the printers to retrieve the page count. @PJL INFO PAGECOUNT actually gets the page count for all the printers, but for color printers we also need to know the color / mono page counts (number of color pages printed, number of black and white pages printed).... the number being returned by the PAGECOUNT command right now seems to be the total pagecount on color printers, so if I can find a command that will give me either the mono or color page count, I'll have the other number. I also need the serial number of every machine (the spreadsheet I'm working off of is unreliable). @PJL INQUIRE SERIALNUMBER actually returns the serial number for about half of the HP printers, and some random non-HP ones, but I can't figure out a way to get the serial number for the other 50%. I sent emails to some of the people who wrote the articles about PJL I was following, and they advised I try using printer spooler functions (from my brief google search it would appear these are windows API's that facilitate communication with a printer).
Does anyone have any experience with working with the Printer Spooler functions or know a PJL command I might have overlooked that will help me get any of the info I'm looking for?here is my program right now. Ignore GetSerialNumber2 and GetSerialNumber3... they don't work (well actually GetSerialNumber2 works on 5 printers... but yea). GetSerialNumber() is the one that gets the serial number successfully for about half of the printers. (edit: I took out those functions in the version I posted, along with some other stuff that wasn't needed for this, to fit the post size limit)
How would I find the letter for the hard disk? e.g C:
Because I know some computers have different letters insetad of C.
Also, on a slightly different topic (I didnt think it was worth starting a new thread for it), I need a program to start during the start up of the computer it is on, am I right in saying I need to create a shortcut (which I think is a .lnk file?) and then put that in the startup folder. I'm doing this in code, but I was wondering what information I need in the shortcut file.
I work with VB 2008 I need to know a main part Serial number such hard disk or CPU in the local machine?
View 4 RepliesI try to get hard disk Manufacturer name but can't figure out I tried whit wim but what I get is Standard disk drives and not seagate or samsung etc. [code] is there a way to get the manufacturer name by another way?
View 12 RepliesI am using the following code to search files in the hard drive but when it reaches system folder or System Volume Information, it gives error. How can I avoid searching the system folder?
Search Files in hard disk
Imports System.IO
Public
Class Form1
Private Sub Button1_Click(ByVal sender
As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
[Code] .....
I am going to develop a antivirus software and i want to scan the files.. so i want to get the files one by one into a Label I Already use this code to get add the files to a listbox But It did not Help For me... Because it is adding Whole Files to a List Box at Ones..
[Code]...
once a class has been persisted on an hard disk with a strem is it neccessary to load the full class to deal with one part of it or is it possible to get just the part of the class i am interested in?
View 2 RepliesCan somebody tell me how to call Windows Hard Disk Defragmenter in VB.Net on Button Click.
View 4 Replieshow to call Windows Hard Disk Defragmenter in VB.Net on Button Click.
View 1 Replieshow to call Windows Hard Disk Defragmenter in VB.Net on Button Click
View 1 RepliesI need to know how can I make a program for specific hard disk? I have heard it that programmers use hard disk`s unique number to protect their program. So that user cant use this program there in another pc(hard disk).
View 1 RepliesI made a painting on a picturebox in Visual Basic 2010. Now I wish to save that picture on my harddisk. But
pictureBox1.Image.Save("C:MyImage.jpg")
does not work.
Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.Drawing.Imaging
Imports System.Text
Public
Class Form
[Code] .....
Is there a way to optimize the process of reading data from an harddisk to reduce the time required to get the data?
View 1 RepliesI'm developing a system info application. I've Searched all over internet and only found code for Free Hard Disk space, but not Total hard disk space.
The code should calculate the Total space of all the drives.
i would like to know how locate the hard disk in a computer. For exemple I have 2 hard disk : C: and E: I would like to locate them and list them in a textbox for exemple.
View 11 RepliesIam trying to copy file to floppy disk rather than to hard drive. I try to use the code that I used in VB6 but there are so many errors. I gave up. Are any simple code the would do it? New C# Programmer
View 2 RepliesVB.net seem to place my database file into/userprofile/local settings/apps/2.0/data/random/random/appname/data/ folder.Can I define easier location for my published app. I am also worried that when upgrading this database is ignored or something bad happens?
View 1 Replies1. i have the images of our specimen card, located in my hard disk.
2. i want the image of the speciment card to be display in a picturebox when i type in the name.
3. i already made this in Ms Access using load image via current form. can u help me do it in Visual basic 2008 express.
Is there a way to detect the motion sensor in the hard disk with visual basic .net?I know that hard discs has an acceleration sensor to turn the hard disk off when the computer falls from a height.I have seen one example of this in a game using this sensor.I want to detect the sensor so that my security program can alarm and email me if lets say someone nocks my computer to the floor while im gone.
View 1 RepliesI have a program for collecting data of people. Now i also have a picture of these people... what is the best thing to do? what is the fastest? the safest?
1. Converting a picture to a bytearray an then insert it into a sql -table (with al ready 5 columns).
2. making an new table on the sql database with just two columns (id-ref, picture-column)
3. or saving a file on to the hard drive? (if nescessary saving the url into the database?)