Reading Hard Disk Serial No.

How can I read hard disk serial# from oracle forms?..I need it to implement security on login system...so that system could'nt be run on any other system.

Kashif,
If you had searched the forum then the first searched result would have solved your worries
i made a sample form and posted it on OTN last month
please follow this link and download the smaple form
Hard Disk Serial No. Retrieval Example!!
If you have problems using the sample form then follow these steps to make your own
follow these steps...
Make a new form, new block, new canvas...
go to layout editor of the canvas
Now:
- Create an ActiveX Control Item (OCX) on your canvas.
- Right click it and select 'Insert Object...'.
- A list will come
- Press 'H' on keyboard
- It will come to a selection "HardwareInfo Control'
- select it and then press ok!.
- In the main Form biulder menu 'Program', choose 'Import OLE Library Interfaces'
- again Press 'H' on keyboard
- and see to find out a selection in the list: "HardwareInfo.HardWareInfo.ctrl1'
- select it and then u will see something each in Method Package(s) and the Event Package(s) lists.
- Select both the Method Package(s) and the Event Package(s). Make sure they're highlighted.
i.e "_dhardwareinfo and _dHardwareinfoEvents"
- Now press OK
- Verify the existance of 5 new programme units in your Foms Program units section in object navigator:
i.e.
HARDWAREINFOLib_CONSTANTS
HARDWAREINFO_HardWareIn_EVENTS
- Now go to layout editor again and make a new single display_item (non-db)
- make a push button..
copy the following code in ur wehn-buton-pres tigger, dont forget ot change the
'your_block.your_activex_item_name' p[ortion in the following code with correct block and OCX item name
DECLARE
VAR oleobj;
BEGIN
VAR := :ITEM('your_block.your_activex_item_name').interface;
:ur_display_item_name := HARDWAREINFO_DHardWareInfo.HardDisk1SerialNumber(VAR);
END;
now run the form and see what serial no it shows..
also how maany hard disk u have on ur pc the .dll files can show upto four hard disk serial nos
look closely this 'HardDisk1SerialNumber' of the above:
:ur_display_item_name := HARDWAREINFO_DHardWareInfo.HardDisk1SerialNumber(VAR);
u can see the '1' in the 'HardDisk1SerialNumber' is the no of system hard disk..u may try it by changing to HardDisk2SerialNumber, HardDisk3SerialNumber, HardDisk4SerialNumber
regards
Asim.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Find Hard Disk Serial Number

    Hi,
    How do i get the Hard Disk Serial Number or Hard Disk volume Serial number or complete
    system information using java programme?
    Balan V

    http://forum.java.sun.com/thread.jsp?forum=31&thread=52
    927which he could have found in maybe a minute using the search function...

  • How to find Hard Disk Serial

    Hi, I have a program written using AIR for a client, and I dont want him to make millions of copies of my software, I would like to know exactly how many copies of my software he is using, so I figure, thats easy I will bound the software to the hardware, the hard disk serial.  Than one problem surfaced, how the heck do I find the hard disk serial using AS3?
    Or is there a easier way for me to keep track of the software? the clients will install the software on machines that do not have internet access.  And the amount of software is not a big number, maybe 50 copies/machines per month.
    Thanks in advance.

    Is it installed on an other system? If so you can see the serial number in the About Aperture window.
    If not ant you wiped your disk and Aperture is no longer installed there is no way to find the serial number apart from the hard copy you had when you bought it. 
    See Pro Application Replacement Serial Numbers and give Apple a call. They are pretty good at working with you to try and recover the serial number.

  • Read Hard Drive Serial No

    Hi All!
    I want to read hard drive serial no using Forms 6i.
    Thanks in advance
    Waqas,

    you mean how can I read it without forms?
    Yes I know Steps:
    Open Command Prompt
    Type Dir Press Enter
    Information will be shown like this
    C:\Documents and Settings\Administrator>dir
    Volume in drive C has no label.
    Volume Serial Number is "D41C-94E3"
    Waqas,

  • How to read the hard disk serial number using java this is urgent

    Please do let me know any knows how to read the hard disk unique number provided by manufactruer using java library

    I don't know; I think the fate of the free worldrests upon the answer.
    Well, as long as the non-free world stays unharmed,
    it can't be so bad ...I think the "Axis of Evil" constitutes a group of countries that are just "misunderstood".

  • Accessing of Hard DIsk Serial Number

    Dear Readers,
    I develop Client Server Applications. I would like to know how we can access the hard disk from an application so that I get the Serial Number of the Hard Disk, the Floppy Disk number, CD Rom Drive Number and Network Card Number.
    Please suggest.
    Yours Truly,
    Sarwottam

    Hi!
    There is now way to use 100% Java to access such things as Network Card Number etc. If you are willing to make sacrifice the platform independance, just Java Native Interface (JNI). This way you could use some C or C++ library that has access to the hardware. Note that it?s only the server that could access the hardware. . You could connect from the client to a server using a socket for sending and receiving data.
    Tip: Get "Essential JNI" by Rob Gordon if you want a book on JNI. It's a little hard to read, but I believe that's the best book on the subject.
    Regards
    Johan

  • IPod 5G seems to pause while reading Hard Disk

    Would anyone know if the iPod video should play without interuption to the sound? When mine plays it pauses for 1 second, you hear the disk spin up, then the sound starts again. Surely it can load data in the background without pauses?? Can anyone confirm this, or is it a settings prob?
    Husky

    I'm betting you have the 60GB video iPod, right? (It doesn't affect the 30GB video iPod.)
    There is a problem brought on by the 1.1 firmware update that causes some videos to drop the audio shortly after the beginning of the video. Supposedly Apple is aware of it and working on a fix. A solution I found was to hold down the fast-forward arrow, and then come back to the point just before the audio drop.
    Bucky

  • G4 cannot read hard disk

    Running OS9.2  I get a startup chime, then a question mark icon that toggles with a folder icon. When I boot from an install CD it says there is no volume to install on?

    it was unplugged from the mainboard inside! sorry.

  • Hard disk details

    Hi friends,
    How to find out the hard disk number the real one through java.
    tell me .........
    thanks in advance
    selvin

    Hi,
    Hard disk serial number the Unique one. Is there way in java or C++ even.I want to find out that.
    thanks in advance
    selvin

  • Reading manufacturer's serial number of a  hard drive

    hi all, i know that there's no java way to read the MANUFACTURER serial number of a hard disk, so i wonder if someone knows a way to read it using another language(c,c++ maybe???), and then implement it in a java app using the jni. It would be great if the solution can be used in both linux and windows(perhaps not the same solution, but one solution working for windows and another for linux)...any help would be greatly appreciated! thanks

    Well first of there is no direct solution for as it has to do with accessing OS/BIOS native information therefore you might have to take help of native libraries and then get the info.
    WINDOWS: http://www.codeproject.com/useritems/DriveInfoEx.asp
    LINUX: http://www.velocityreviews.com/forums/t287984-scsi-hard-disk-number.html
    and take help of google to findout information for other OS's.
    Now comes part where how is that we can export that feature to Java.
    There is a concept called Native Functions in Java.All you have to do is to build dynamic runtime libraries for each of the OS specific by following the JNI Specs and then load that specific library such that you get that info from OS/BIOS via those native runtime libaries which we create.
    It would be a great idea if you can go through the below links and there is a dedicate thread supported by sun in this very own forums which can help you in doing that.
    http://java.sun.com/docs/books/jni/html/design.html
    http://www.acm.org/crossroads/xrds4-2/jni.html
    Hope that might help :)
    REGARDS,
    RaHuL

  • Getting the Serial ID of a hard disk using Java

    Hello,
    Can anybody help me in getting the volume serial ID and label of the hard disk using java programing. How to write a program in Java which can read the Volume Serial ID or label of the hard disk ?
    I will be thankful if you can paste a sample code or email it to [email protected]
    Waiting for quick responses.
    Thanks in advance.
    VVPATRO

    Hello,
    Can anybody help me in getting the volume serial
    ial ID and label of the hard disk using java
    programing. How to write a program in Java which can
    read the Volume Serial ID or label of the hard disk ?
    I will be thankful if you can paste a sample code
    de or email it to [email protected]
    Waiting for quick responses.
    Thanks in advance.
    VVPATROString[] cmd = new String[3];
    cmd[0]="cmd.exe";
    cmd[1]="/c";
    cmd[2]="vol"
    Process proc = Runtime.getRuntime().exec(cmd,ambiente);
    InputStreamReader isr = new InputStreamReader(proc.getInputStream());
    BufferedReader br = new BufferedReader(isr);
    String text=null;
    String line=null;
    while ( (line = br.readLine()) != null)
    text=text+line+"*";
    //Then you do the necessary parsing to the text;
    String Label = text.substring(text.indexOf("is ")+3,text.indexOf("*"));
    text = text.substring(text.indexOf("*")+1,text.length());
    String Volume = text.substring(text.indexOf("is ")+3,text.indexOf("*"));
    Something like this may work :)
    You're welcome...
    Pinho

  • Serial issue when install adobe again when old hard disk damage.

    Hi, I have installed adobe creative suite 5.5 design premium in my computer. But recently, my hard disk damaged and I switch to new computer. However, when I reinstall the adobe, the serial Number doesn't work anymore. Can anyone suggest how to activate the software as my old hard disk cannot use anymore.

    For serial number issues, you'll need to contact Adobe Customer Support in your region. We can't answer serial number issues here, unfortunately.

  • Get Serial Number of Hard disk

    Is there a way in java that would get the serial number of hard disk?
    Thanks In Advance :-)

    Not in pure Java. You would have to use JNI.

  • Format my hard disk.Unfortunately I have lost Aperture cover and bill from Apple.How to find serial no. of Aperture ?

    fI have Aperture cd from Apple Store.Due to some reason I have toformat my hard disk.Unfortunately I have lost Aperture cover and bill from Apple.How to find serial no. of Aperture ?

    Is it installed on an other system? If so you can see the serial number in the About Aperture window.
    If not ant you wiped your disk and Aperture is no longer installed there is no way to find the serial number apart from the hard copy you had when you bought it. 
    See Pro Application Replacement Serial Numbers and give Apple a call. They are pretty good at working with you to try and recover the serial number.

  • HARD DISK PROBS / TIME MACHINE not behaving with TC ? READ THIS!!!!

    I had many probs with the hard disk and now have a happy healthy TC working great with time machine, so I though I'd share my experiences with others hoping it will save you my huge pain !
    i,
    I've spent hours and hours trying to get the harddisk to work properly. Set-up was easy-peasy and the Airport works great for the internet. However, when trying to use time-machine and the hard disk it was a nightmare !!! Each attempt at the back-up failed after about 4 gig with a 'unable to mount volume' error. If I re-tried, it failed. Following some of the tips on the forums, I deleted the back-up file created by time machine on the hard drive and the initial back-up started successfully but failed after about 4 gig again (I had 96 gig to back-up). There are various fixes flying around -
    *_ensure you have a name for your computer - should be short and no spaces or funny characters. Same goes for your name of the timecapsule. Some people are saying you should use an ethernet cable for your first back-up but that should not matter at all.*_ I took mine back to the apple store in the end - a mac genius downloaded all the latest patches (only came out 19th march) for the time-capsule firmware, time machine software and airport express. Still didn't work, so conclusion was the time-capsule was knackered !!! SO MY RECOMMENDATION IS TO GET APPLE TO REPLACE IT BUT MAKE SURE YOU TRY THE ABOVE FIRST.
    New time-capsule was attached to my imac, started up great first time. My initial back-up ran through perfectly first time through wireless - it took 15 hours but I did have 96 gig to back-up. time machine sees this no problem so it looks like everything is fine. _*I ALSO NOTICED THAT THE TC WAS MUCH MORE QUIET AND LESS HOT.*_
    Good luck !!

    Hi,
    Well, The external drive you have problem with is from a third party vendor :-)
    I just looked up your model and we need to start over.

    How do you connect it to your computer?
    Is it plugged in to the router via ethernet and you access it over WiFi.
    The drive needs to be setup as per supplied instructions.
    The manufacturer says it is Time Machine compatible but from my experience I know this is not switched on by default.
    The main reason why you cannot access it is you basically have to set it up for your use and most likely authenticate to it.
    At this stage I'm quite sure there is no much wrong with that drive. It just need setting up.
    Let me know if you have any instructions from Seagate which you can follow.

Maybe you are looking for

  • How to register custom workflow in oracle apps ?

    Hello I am new to workflow. I have customized an oracle standard workflow and now i want to register this custom one. Please help how to register the custom workflow. What steps need to achieve this. Thanks

  • Cannot paste in a cmd window

    I recently lost the ability to paste inside a CMD window.  I have always had this capability and can still do it from other machines.  Quick Edit and Insert modes are on.  I can copy and paste anwhere else in the UI.  I can copy and paste within the

  • Register a DB in OiD 2.0.6

    In one NTServer it was installed OiD 2.0.6. In other NT there was the LdapDB (rdbms8.1.7). Two configSets (with and without SSL) were created using "oidctl", and got linked to the LdapDB. A second db TEST was created. Then using "netca" the ldap.ora

  • How disable mac album art screen saver

    I would like to disable the use of album art as a screen saver and rely instead on the photos included with Lion.  How can I do this?  Thanks.  Jim Robbins

  • How do i transfer albums to new hardrive from ipod

    Will i have any problem transfering music from my ipod to a new hardrive on my imac?