Retrieving Hard Disk Serial Number With VB2010?

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


ADVERTISEMENT

Hard Disk Serial Number Without WMI?

Feb 11, 2011

How do I get the hard disk physical serial number like in that example: http:[url]...

View 5 Replies

Hard Disk Serial Number?

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

Extract A Serial Number Of A Hard Disk In C Or C++?

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

Hard Disk Serial Key Required

Mar 3, 2007

I 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?

View 6 Replies

Get Hard Drive Serial Number?

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

VS 2008 Get The Hard Drive Serial Number?

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

VS 2008 - Hard Drive Real Serial Number

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

Get Serial Number Hard Drive And Mother Bord In Program?

Aug 25, 2011

How do to get serial number hard drive and mother bord in vb.net?

View 17 Replies

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

VS 2008 Printer Spooler - Retrieving Page Count And Serial Number?

Mar 4, 2010

I'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)

View 2 Replies

Get Hard Disk Name?

Jul 21, 2010

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.

View 12 Replies

Get The Hard Disk Or CPU SN?

Apr 3, 2010

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 Replies

Hard Disk Manufacturer Name

May 24, 2012

I 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 Replies

Searching Files In Hard Disk

Sep 15, 2010

I 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] .....

View 6 Replies

Searching Hard Disk For Files

May 5, 2011

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]...

View 1 Replies

Accessing A Class Persisted On A Hard Disk

May 30, 2009

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 Replies

Calling Windows Hard Disk Defragmenter

Jan 30, 2009

Can somebody tell me how to call Windows Hard Disk Defragmenter in VB.Net on Button Click.

View 4 Replies

Calling Windows Hard Disk Defragmenter In .Net?

Jan 30, 2009

how to call Windows Hard Disk Defragmenter in VB.Net on Button Click.

View 1 Replies

Calling Windows Hard Disk Defragmenter?

Jan 30, 2009

how to call Windows Hard Disk Defragmenter in VB.Net on Button Click

View 1 Replies

Make A Program For Specific Hard Disk?

Jun 22, 2010

I 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 Replies

PictureBox - How To Save Painting On Hard Disk

Mar 19, 2011

I 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] .....

View 8 Replies

Speading Up Process Of Getting Data From Hard Disk

Dec 12, 2010

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 Replies

Total Hard Disk Drive Space?

Feb 16, 2011

I'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.

View 7 Replies

VS 2008 Locate The Hard Disk In A Computer?

Oct 3, 2010

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 Replies

Copy Files To Floppy Disk Instead Of Hard Drive

Aug 27, 2010

Iam 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 Replies

Define Where MDB Database Is Stored In Local Hard Disk

Jun 10, 2009

VB.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 Replies

Images Of Our Specimen Card, Located In Hard Disk?

Jun 22, 2010

1. 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.

View 3 Replies

Visual Basic Hard Disk Acceleration Sensor?

Oct 21, 2011

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 Replies

VS 2010 Save Picture In Sql-database Or On Hard Disk?

Jan 31, 2011

I 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?)

View 10 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved