Get HDD Real Serial Numbers - Using Win32_PhysicalMedia, Does Not Work Reliably?

Jun 24, 2010

Searched High & Low to find a reliable way to get HDD real serial numbers in VB.NET. WMI method using Win32_PhysicalMedia, does not work reliably (I am administrator & using XP Pro & SATA drives)

View 4 Replies


ADVERTISEMENT

How To Get Real Serial Number Of A Cpu

Sep 16, 2011

what i want is to get the serial number of my cpu.i have used the code you give at your website,that refers at the function GetProcessorId, at 3 different pc's,where all these pc's were using cpu's of the company INTEL.so my problem is that i took the same ID from the 3 pc's i used. is there any way that will make me able to get a real serial number from a cpu,that this serial number is unique?i am using visual studio 2008.do you have something to suggest?

View 3 Replies

.NET And Displaying Real-time Received Serial Data On GUI?

May 24, 2010

I'm having a bit of an issue receiving a stream of serial data and displaying the data real-time in my GUI. I am fairly new to VB.Here's what I'm trying to achieve: I have an I2C device (bank of LED's) connected to my Arduino. Using the VB.NET (2010) GUI I request which LED I want on (via buttons) and the I2C device then sends a reply confirming which LED actually turned on (basic feedback). Ok, sounds great right? Here's where I get issues. Well when I try to read the serial data sent to VB and display the real-time stream on the GUI, a) I get a bit of a mess as an output (values are ok, just spewn across GUI) and b) when I select a new LED to turn on, the GUI data does not refresh to this change. The stream being sent from the Arduino is ok, I looked at the data in a serial monitor.

[Code]...

View 2 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

VS 2010 Displaying Real-time Serial Data In GUI?

May 24, 2010

connected to my Arduino. Using the VB.NET (2010) GUI I request which LED I want on (via buttons) and the I2C device then sends a reply confirming which LED actually turned on (basic feedback). Ok, sounds great right? Here's where I get issues. Well when I try to read the serial data sent to VB and display the real-time stream on the GUI, a) I get a bit of a mess as an output (values are ok, just spewn across GUI) and b) when I select a new LED to turn on, the GUI data does not refresh to this change. The stream being sent from the Arduino is ok, I looked at the data in a serial monitor.

Public Class Form1
Dim ticktock As Integer
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles

[code].....

View 4 Replies

Generate Real Random Numbers?

Jun 30, 2009

I need to generate 'real' random numbers from 0 to 500 (e.g. 247.214, 477.125, 1.247, 54.078, 147.001 ......etc). I am using this method:

Dim Myrand As New Random
Dim Res As Double
For i = 1 To 10
Res = Math.Round(Myrand.NextDouble, 3)
Next

This method gives numbers between 0 and 1. if I use: Res = Myrand.Next(0,500), then this gives Integer numbers.

The questions is: Is this possible with (Dim Myrand As New Random) or I have to try another way (e.g. Rnd() ) for doing this?

View 4 Replies

Displaying 8-bit Numbers From A Microcontroller In Real Time If Possible?

Apr 26, 2010

I've already wrote a simple program for connecting to a serial port that can send data to the microcontroller, do some basic arithmatic and transmit it back to my Form. This was just to see if I could set up the conection.I have a PIC Microcontroller giving an 8-bit number thats is taken from an external sensor device.What I want to do now is to present this data from the microcontroller in a textbox as a number either in real time (as the sensor output changes) or if not possible, on request (using a button).

View 15 Replies

Multiplying The String Representation Of REAL Numbers?

Jan 12, 2012

<edit> Now showing the difference as a DECIMAL. Result looks like zero every time. </edit>Disclaimer: This code is provided "as-is" and should be treated as Freeware.( However any donations would be welcome as I have a "so-so" part-time job ).Please note all real numbers to be used should be in this format
"0.000000000000"Do not use numbers in string format in scientific notation like "1.2345E -06"I was feeling bored and decided to add to the code from JohnWein in this thread where I have used a routine that will multiply the contents of two long strings together.>>[url]I have now added a bit of code so you can multiply two really long numbers with or without a decimal point as a full-stop ( period or dot, call it what you like ).

[code]...

View 5 Replies

RegEx 20 Real Numbers Separated With Commas?

Mar 11, 2010

I worked around to modifying regular expression below but i could't get what I need. I google it, many things found but not for what i want. Dim valid AS Boolean = Regex.IsMatch(TextBox1.Text, "^(,?d+){0,20}$")Allow numbers exactly like 32,1,6,32,12,21,21,54,675,8,4,3,2,9,0,21,21,21,43,744 in TextBox1. Perfect.

View 4 Replies

Document Binary Files Containing Integer And Real Numbers?

Jan 4, 2010

I need to document binary files containing integer and real numbers. I use BinaryReader, and BinaryWriter classes, with functions like ReadInt16, ReadSingle, or ReadByte. The files should be readable by any other hardware architecture/OS besides x86/Windows.

I need to document the type of default binary encoding, and can't find the MS documentation.The best I found says that it uses UTF8, but as I understand, UTF8 is for text formats, not for binary numbers.

I suposse that the answer I are looking for, is something like "little endian" or "big endian" format.

View 2 Replies

Parse Numeric Values In String Form Into Real Numbers?

Sep 14, 2009

I have a string I want to parse. I could write the code to do so, but I figured that VS.NET has a parser that should do this for me.however, I can't find it. All the searches I do return info on how to parse numeric values in string form into real numbers. It would be nice if the MSDN search had some ways to allow users to enter more details than just search text and 3 ways to filter out irrelevant stuff. In any case, I also tried things like string.parse (nope - although I kinda figured this would be it.) I also looked at Enum.parse, but the code indicates that it works with arrasy of items, not strings.

View 5 Replies

C++ - Access CPUIDs (cpu Serial Numbers) Without Using WMI Using C#?

Feb 16, 2011

Possible Duplicate: x86/x64 CPUID in C# I need to retrieve CPU's serial numbers. When using WMI, it is called CPUID.My goal is to access that information WITHOUT using WMI. Unmanaged is code is fine?

View 2 Replies

Getting Unique ID From Hardware Serial Numbers (DLL)?

Jun 13, 2010

I just found this amazing DLL that can extract the hardware ID (computer RAM, hard drive unique serial number, partition serial number, CPU unique serial number, etc) of a computer.

However, there is no documentation for VB users and it is written in Pascal and assembly language. Ya, sad

connect to this DLL?The documentation says that the DLL exports the following functions:

[Code]...

View 9 Replies

Use Serial Numbers / 30 Day Trials And Updates?

Apr 29, 2011

I have recently built a personal project but I forgott to finish some menu items and the application is only half done, as you can imagine from a developers point of view this is quite disapointing.

I could have rectified this if I new how to build applications that could be updated whenever I make changes.

My question is this:- can anyone please give me a basic run down on how to make my applications able to accept updates when changes are made ALSO how do I build applications with a 30 day lisence FINALLY can I write my own serial numbers or does Visual Studio create them automatically.

View 7 Replies

Finding Computer Names And Serial Numbers

Feb 12, 2011

I wrote this sub routine that is running, but it only returns the local Computer name and Serial number. Any one know the why to grab the Computer name and serial by IP address? I am using VB 2010.

[Code]...

View 2 Replies

Generate Serial Numbers From 1 To 100 Using Static Variable?

Mar 12, 2011

I want to generate serial nos while i insert records in sql database like 1,2,3,4,5,6[code]...

View 5 Replies

Serial Port Sending Numbers As Bytes?

Mar 10, 2010

I'm using 2008 Express and I'm trying to send 1 byte of data on the serial port.

Serialport1.write(123) Sends 3 bytes with the ascii codes representing 1 2 and 3.

I want to send 1 byte that contains 123.

View 2 Replies

Write-read Data From Serial Port But It Don't Work?

Mar 11, 2010

i am trying to write-read data from serial port but it don't work my code look like this

[Code]...

View 2 Replies

Making Apps Is Generating Serial Numbers For Software Projects

Sep 12, 2009

Something ive wondered about as long as ive had an interest in making apps is generating serial numbers for software projects.Im wondering how is this done by the pro's so that someone can put a key into an app and without being connected to the net it knows the key is valid by using an algorythm.Id like to make something like that for the sake of learning how. I realise more and more programs now "call home" at the point of entering a key or to "activate" as with MS office and windows etc, but id like to start at the old school way of doing it.Generating the alpha numeric keys and also checking them.

View 10 Replies

Loop To Count And Accumulate Numbers Does Not Work?

Mar 23, 2011

My loop that needs to count and accumulate the numbers from a list box does not work. When I debug it reads the first line of the Do While loop then jumps to the code where it would average the numbers. Here is my code:

'calculate average
'get first item in list box
lstListBox.SelectedIndex = 0

[Code].....

View 3 Replies

Reliably Check If A User Is Connected Via The LAN?

Mar 6, 2009

I have a requirement that users be connected via the LAN for a small service I am writing. Simply check My.Computer.Network.IsAvailable isn't enough because that will detect any network (e.g. wifi). I need to check whether or the user is LAN connected (and can therefore connect to an Oracle DB)

View 1 Replies

Reliably Know When Large File Is Done Copying?

May 1, 2009

Is there anyway to reliably know when a large file has completely finished copying to a particular folder? For example, Computer1 copies a large file to Server1Share1. On Server1Share1, I want to do something AFTER the file is done copying, without Computer1 intervention.

View 2 Replies

Reliably Finding The Path To A Process ... Win XP - Vista And 7

Mar 7, 2011

I have researched the Internet and found more than a few potential solutions, but I keep getting errors on a Windows 7 machine. Here's the scoop. I have an application written in VB.NET that launches a console application. The console application will run independently of my VB.NET app, so the user can close and restart the VB.NET app and potentially start a second session of the console app from the same installation.

[Code]...

View 2 Replies

VS 2010 Reliably Know When Large File Is Done Copying?

Jul 5, 2011

Is there anyway to reliably know when a large file has completely finished copying to a particular folder? For example, Computer1 copies a large file to Server1Share1. On Server1Share1, I want to do something AFTER the file is done copying, without Computer1 intervention.

[Code]...

View 9 Replies

VS2008 Crashes Reliably At The End Of A Solution Rebuild?

Mar 30, 2009

VS2008 SP1, Winforms solution, VB.NET, compiling for x86 and .NET v2 I have about a dozen projects in the solution, with a couple of Windows forms projects and some class libraries. If I rebuild the solution, it clears out and recompiles all the projects, as you'd expect... and then disappears without trace or error message. Since I'm reconnecting to VSS 2005 over HTTP across the internet, it takes all month to start back up with everything loaded, so it's incredibly irritating. The compiled application itself works fine, and normal build and run after changes also works fine.

EDIT: Just to clarify, No add-ins except Refactor! (I know, I guess I ought to try uninstalling it to see if it's that, but it's just too useful! - I will see if there's an update though). And no custom build steps. It's just a vanilla Winforms app, with references between the projects (and some references to COM dlls for interop).

[Code]....

View 5 Replies

.net - Reliably Split A URL String And Extract Required Part?

Mar 24, 2012

I am working on server side application of FB login.Having converted the example here:[URL]..To VB, and using System.Net.WebRequest.Create to retrieve the responses I am now able to get a text string including the access_token and the expiry time in the following format: access_token=ACCESS&expires=2577

Obviously I can split this into an array and split the parts to get the access_token But, on the FB Developers example above, they do it with PHP like so: $params['access_token'];Is there a VB.net way of doing this? This seems more reliable to me than teh aforementioned splitting idea, ie, if FB change the output format.

View 1 Replies

Cannot Consistently And Reliably Write To A Custom Event Log From DotNet

Oct 13, 2010

Cannot Consistently and Reliably Write to a Custom Event Log from DotNet

View 4 Replies

Ways To Reliably Split A URL String And Extract Required Part?

Mar 5, 2011

vb.net - Ways to reliably split a URL string and extract required part

View 15 Replies

VS 2008 Application To Reject Serial And Count How Many Times Entered In A Wrong Serial

May 16, 2009

I made my program and now I just need to add in the serial and trial part of the application. I know the application must connect to the host and go to a txtfile. How would i do the trial and serial. Also If the serial is already activated I want the application to reject that Serial and Count how many times they entered in a wrong serial.

View 2 Replies

Unable To Close Serial Port After USB / Serial Converter Disconnected

Mar 28, 2006

I have a stand alone VB.Net 2005 application that uses a serial port that generally stays open while the application runs on a Windows XP system. In trying to bullet-proof the UI, I ran into a problem when the USB to Serial Converter normally used to provide the serial port is disconnected while the serial port is open. In trying to handle the resulting error when accessing the port, I find I cannot close the port.

When trying to do so, the error message says something like "unable to close the port. You may not have sufficient permissions." Reconnecting the USB/Serial Converter does not reactivate the port.

[Code]...

View 8 Replies







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