Read or Write registry

hi,
anybody know apex how to read or write registry ?
thanks.

Hello,
>> Is this can used on IE ?
If you can access a specific Microsoft resource like the registry, using FF, it’s only make sense that you’ll be able to do it using IE. In any case, the XPCOM object, which deals with the registry manipulation, is a cross platform component object model, so it should work for IE also.
>> cause i not so familiar on JavaScript
It’s a good time to start. Regardless of your registry problem, if you are serious about using APEX, or any other web development for that matter, JavaScript is something you need to master.
Personally, I’m not keen on allowing my browser to poke around my machine registry. Can you give us some more details on what you are trying to achieve? Maybe someone will come with a better (and safer) way of doing what you need.
Regards,
Arie.

Similar Messages

  • Error: DVD drive won't read or write discs. TS-L633R CD-DVD drive. HP DV6-3120US notebook. Win 7.

    Product Name and Number: 
    HP Pavillion dv6-3120us
    OS
    Windows 7, Home Premium. 64-bit.
    Error Message
    "Insert a Disc; Please insert a disc into E: drive."
    Background
    Pre-installed Windows 7 system on computer recognized CD/DVD ROM drive for about 3 months. Malware corrupted the OS. I re-installed the OS from the recovery drive's partition. CD/DVD ROM drive failed to read or write, and I cannot restore old files or back-up current configuration via CD/DVD ROM drive. All updates for Windows 7 and hardware drivers seem to be installed and up-to-date as of 10/4/2011. 
    Troubleshooting Steps
    1. Tried to read audio CD. Same error message.
    2. Tried to read data CD-ROM. Same error message. 
    3. Tried to read data DVD-ROM. Same error message. 
    4. Writing to DVD ROM failed. Same error message.
    5. Re-loaded OS 2nd time. No change. Same error message.
    6. Checked with HP Support Assistant. DVD drive is recognized, but not media. No change. 
    7. Checked Device Manager. DVD drive is recognized as TS-L633R. 
    8. Driver is cdrom.sys version 6.1.7600.16385. Clicked Update Driver, no change. 
    9. Tried uninstalling and re-installing the driver. No change.
    10. Checked BIOS. AMD Turion II P540 Dual Core processor 2.4Ghz. BIOS appears to be up-to-date, version F.27. 
    11. BIOS lists CD/DVD ROM drive as bootable. Re-ordered drive to boot first and used Knoppix Linux boot disc, no change. Windows booted instead. 
    12. Reviewed registry for "upper filter" and "lower filter" entries.  Checked registry 4D36E965-E325-11CE-BFC1-08002BE10318. No upper filter or lower filter entries present. No change. 
    13. Ran "Hardware and Devices Troubleshooter"; it cannot detect the cd/dvd. No change. 
    The drive has power, spins, is recognized by Windows 7 and the BIOS. However, it will not read or write CD ROM or DVD ROM discs.
    I'm out of options.  What else can I do to make the cd/dvd rom drive read and write cds?
    Thanks for your help.  Matt
    This question was solved.
    View Solution.

    Update:
    I chatted online with Ben S. at HP tech support via the HP Support Assistant. Helpful guy. Thank you, Ben. He worked through it and his counterpart Alan is sending me a new DVD/CD drive. Ben S checked the following:
    1. Confirmed that I had tried multiple discs to check different formats: DVD-R, CD-RW, audio CD, video DVD, software data CD. None were recognized.
    2. CD/DVD icon appears in My Computer. Confirmed.
    3. Checked Device Manager for yellow exclamation marks. None present.
    4. Opened below Device Manager and checked for yellow exclamation marks. HP CDDVDW TS-L633R ATA device listed correctly. Redundant, but I understand; it's a good check.
    5. Confimed the Model and Serial Number. 
    6. Asked whether I had done a System Recovery.  I had. Twice. First time it didn't restore the drive, so I thought I'd try it again. Second time also did not restore the drive. 
    7. Ben S. concluded that the drive has a hardware malfunction, and offered drive replacement under warranty since I purchased in April. I should have it by Oct 17, and then I have 15 days to return the broken drive or I'm charged $80. 
    Alan offered an additional year of warranty service for about $100. Ben's guess on the root cause was a bad lens from stress on the DVD tray. I don't recall any stress events. I've had this laptop since April, 2011, and the drive failed at the end of September.  7 months. This surprised me considering I've got other notebook computers with drives that have lasted years and still haven't failed. 
    I'll check in when I get the replacement drive.

  • AccessViolationException: Attempted to read or write protected memory.

    Hello all.
    The application that I am working on has a Oracle DB 10g and we want to migrate the DB to 11g (11.2.0.2). The client OS is a Windows 7 x64 and the application (which is an x86 app) is a hybrid between .NET and C++(COM components). The .NET part is using ODP.NET components and the C++ part is using ODBC drivers (oraclient 11.2.0.1 - x86 version).
    The problem is that the application works without any problems with the 10g DB but when switching to 11g we get an exception. Basically, we have a try { call COM component } catch(Ex ex) {...} and the Exception ex is a AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. I debugged the C++ part and this strange thing happens: the component opens the connection (using a connection string like this : "driver={Oracle in OraClient}; uid=... pwd=.. "), executes some queries, and on one query (which is the same as the last ones - just some selects), when the data is processed (by data I mean a integer ID), the exception is thrown in .NET code. I was able to enter in afxdb.cpp and it looks like the exception is thrown when GetData method is called. I looked over the ID's from previous queries and the data passed to GetData method is about the same (I mean the fieldtype, index, len, SQL type).
    As solutions I tried:
    -set "Statement Cache Purge=true" => same effect
    - install a instantclient11_2 basic and ODBC drivers (for 11.2.0.2) but I could not connect to the DB (I could find the new drivers in registry WoW64Node/ODBC Drivers, put the location in PATH in front of the other OraClient and replace the OraClient with the name in registry in conn string) => Specified driver could not be loaded due to system error 127.
    - tried to see the Marshal.GetLastWin32Error() => returns 0.
    Any ideas? :D
    Edited by: 917334 on Feb 27, 2012 12:57 PM

    The select clause that causes the problem is actually a select over a view. I replaced the select * from MYView with the actual select clause (with inner join) and the issue disappeared.
    Any ideas? :)
    Solution:
    Looks like the view was written using INNER JOIN stuff. I replaced the code from the view with a simple select like this (inner join free):
    select table1.col1, table2.col2, table3.col2, from table1, table2, table3 where table1.col1 = table2.col1 and table1.col1 = table3.col1
    Some questions still remain (even if my issue is partially solved):
    - why was it working on 10g?
    - why this particular view crashed? (there are other views that use inner join and don't cause this)
    - why was it working when using the full select (with inner join) and not working when selecting over the view?
    Edited by: 917334 on 28.02.2012 08:33

  • Reading/Writing to Registry

    Hi,
    I want to write a program in Java that will Read/Write to Registry on Windows. I know there is a library named WFC, Windows Foundation Classes, by Microsoft that have classes related to Registry access.
    What I want to know is whether SUN has written any library regarding to Registry access.
    Thanks in advance,
    Jehanzeb

    Well Sun does have a Preferences API which allows you to save program information in the Registry. However this is more of a replacement for properties files than a tool to access the Registry. I beleive you are limited to a sub directory of the JRE entry within the Registry tree. I don't think you can read or write beyond that area of the Registry. But if your intention is to save your program data then this will be what you want. But if you need to read other parts of the Registry you will probably need to write to the code in C/C++ and call it using JNI. Here is a link to an article on using preferences, check it out:
    http://developer.java.sun.com/developer/technicalArticles/releases/preferences/

  • DVD/CD-RW Combo Drive Will Not Read Or Write To Any Media

    I  have an HP ZT1130, running XP SP3.  It has a Toshiba SD-R2102 DVD/CD-RW Combo Drive that will not read or write to any media.  I don't get any error messages.  The drive is present in MY Computer & Device Manager indicates it is working properly.  When I place any disk in the drive, I get a message to "insert a disk".  I have already uninstalled & reinstalled the device, removed the "high & low filters" in the registry, operating from a "clean boot state", run a registry cleaner.  I am currently using Microsoft Media Player 11.  I have run out of things to check, I hope someone has some answers.
    Thanks In Advance,
    nightster 

    I  have an HP ZT1130, running XP SP3.  It has a Toshiba SD-R2102 DVD/CD-RW Combo Drive that will not read or write to any media.  I don't get any error messages.  The drive is present in MY Computer & Device Manager indicates it is working properly.  When I place any disk in the drive, I get a message to "insert a disk".  I have already uninstalled & reinstalled the device, removed the "high & low filters" in the registry, operating from a "clean boot state", run a registry cleaner.  I am currently using Microsoft Media Player 11.  I have run out of things to check, I hope someone has some answers.
    Thanks In Advance,
    nightster 

  • In iCal and Notifications on a notebook, is it possible to expand the notes window to make it easier to read and write notes?

    In iCal and Notifications on a notebook, is it possible to expand the notes window to make it easier to read and write notes? In the past, I have used Outlook calendar and tasks and I was able to expand the windows which allowed me to put a great amount of details into either the notes section in events and tasks. It would be great to be able to do this in iCal and Notifications as well. I am using a Macbook Pro with OS X 10.8. Thank you very much for assistance with this.

    HI,
    Try Spaces for a virtual desktop.
    http://www.ehow.com/how2189851use-spaces-mac-os-x.html
    Carolyn

  • IPod Shuffle=Can't read or write to-Can't Sync-Can't Update-or Restore-Can'

    %*#.........."What the ???"..........#*% Tell ya wot.... I Aint Happy.... (òó) ( not impressed at all )
    Whats goin on here ??? I've never had a problem with my Shuffle or Itunes, everythin was fine untill I updated to 'Itunes 7' and now its dead as a door nail. Upgrading to Itunes 7 all went fine, no glitches at all. Plugged my Ipod in, all is good as I can see it there. Itunes rebuilt my music library ( all is still good ) I rebuilt my playlists ( yep, all is still good ) I set it to autofill from my playlist ( cool, nearly there ) next I chose to Sync my Ipod, and it says "Updating iPod. Do not disconnect" so ok, thats alright, I'm sittin here waiting for it to sync, & waiting, .....& waiting, ...... still waiting...... eventually, up pops an error message sayin "The iPod cannot be updated. The disk could not be read from or written to." So I press Ok and find that iTunes has frozen briefly, after a minute it comes good with another message, "The iPod cannot be updated. An unknown error occured {-50}."
    Ok, to cut a long story short.... I have updated the iPod software version, and it says "Your iPod is up to date"
    Now everytime it tries to sync it fails so I chose to hit the 'Restore' button. It seems to to be happening but that also ends up failing with same error message. I've tried everything,.. the 5 R's... I downloaded & ran the program 'iPod Restore Utility' (it failed also) same message... 'Cannot read or write to... ' Gettin frustrated now cause I've done everything I can think of at least 2 or 3 times including uninstalling & reinstalling iTunes and starting from scratch. (yes, 2 or 3 times) & yes, I can tell you, " I'M SICK OF IT !!! "
    Windows cant even see it anymore ( XP pro sp2 ). When I'm in iTunes I can see my iPod is there, but its not seen in Windows. But when I eject/disconnect it from iTunes the 'iPod Drive Icon' briefly appears in My Computer for only a second or 2 then vanishes. That happens wether "enable for disk usage" is ticked on or off. I'll just say 1 other thing & that is, I havent bumped or dropped my shuffle or wrongly plugged or unplugged it in any way at all. I have allways treated it with the utmost respect and it 'used to be' in perfect condition.
    So what do you all think ? Do you agree that itunes killed my lil Shuff ???
    %*# D~~m You iTUNES #*% and %*# D~~m You APPLE #*% for takin my lil Shuff from me. It was a gift from a special someone, and my very 1st and only MP3 player I've ever had.
    Well, there you go, now I've had my say can I ask just one thing ?
    " Can anyone offer any other suggestions that I could try ? ..............and plz, dont say " GET OVER IT " lol

    Here is the answer: go to http://support.apple.com In the search box at the top left type in the number 304996 and hit enter. This will bring you to a page with 4 solutions. Click on solution number 1 and follow the instructions. This should fix it.
    bigdogdan

  • Macbook can't "read or write to disk" of ipod

    Just bought a new 30GB 5th Gen. ipod and loaded half of my music/photos onto it. Now it gives an error message every time I try to sync new albums about not being able to read or write to the ipod. Any suggestions? The updater download didn't seem to change anything.

    See this article: http://docs.info.apple.com/article.html?artnum=301267.

  • Can't read or write some files, internet is failing, youtube won't load, software I tried to install was in Slovenian, not dutch or english like in my systempreferences settings, pictures and files won't preview with spacebar, etc. Malware?

    Specs:
    iMac 10.8.5
    3,4 GHz Intel Core i7
    32 GB 1600 MHz DDR3
    Can't read or write some files, internet is failing, youtube won't load, security software I tried to install was in Slovenian, not dutch or english like in my systempreferences settings, pictures and files won't preview with spacebar and are randomly corrupted, when I entered something in the Youtube searchbar (when it was still working) it send me to a site with sexadds.
    I tried restart my iMac and when I was logged back in, my dock preferences were reset.
    Also tried to download some security software to check my Mac for malware, but when I did, I tried several, I got a notification that said something like 'dumpfiles (don't know if this is the right translation...) damaged'.
    I'm taking screenshots from all the weird notifications I get and even three quarters off the screenshots I took in the last three hours are already unreadable.
    It started this morning when I tried opening a Premiere Pro file on which I worked the night before.
    When I tried opening it, it said the file was damaged and could not be openend.
    I tried opening it with AE or importing the file in a new project but nothing helped.
    When I tried looking for autosaves, this is the really weird part, there were none.
    Even though there are autosaves from my other projects, this one was completely gone.
    It looked like the day before never happened on my computer.
    Also when I openend Premiere all the recent projects had been wiped.
    So at first I thought it was a Premiere Pro failure.
    But than, later on the day, I tried loading some RAW files from my compact flash card.
    This is where I would get an error (error -36) which said some data cannot be read or written.
    I tried importing the files with a view different technics, from dragging to importing via Lightroom and I succeeded with Image Browser.
    But when I tried moving the files to an other folder the same error occurred.
    While dealing with this issue I wanted to put on some soothing music on youtube.
    This is when the next weird thing occurred: youtube wasn't completely loading in Chrome. I refreshed a view times, checked the internet connection and still no difference.
    When I tried in Safari it did work but when I clicked enter on the searchbar in Youtube, a page with sexadds appeared (I didn't install AdBlock in Safari...).
    I read about this 'phishing' where you are redirected to a site were a possible malware installment can take place...
    I don't know if it's connected to any of the problems I've been having but I just never experienced this on a mac, I have been a Mac user for 10 years now.
    On top of it all, internet started working worse and worse and now it's not even working at all. I had to fill in the password over and over, normally it remembers.
    Just like my system preferences, all the preferences I had with Chrome where also reset.
    Also somewhere in between I got this notification: Mac OS X must restore library to run programs. Type your password to allow.
    To me this is all very weird and suspicious. I have clearly no idea what's going on. Could this be another sort of trojan horse or malware?
    Some background info which could be helpful for solving this mystery:
    two months ago the one year old Fusion Drive in my iMac just broke out of nowhere.
    I got it replaced by a qualified apple repair store.
    When I got my computer back, all the files where gone.
    I got on the internet without AdBlock installed yet.
    A game or whatever it was, can't clearly remember, got installed by accident.
    I deleted it immediately.
    Only two weeks later, I couldn't log in to my account. It didn't recognize my password and username. 
    So I brought my mac back to the store.
    Here the repair guy said it was a minor thing and he just needed to reconnect my account. He also mentioned he found a downloaded game name Sparta and it probably had something to do with the error.
    I asked him; could it be a virus? He replied no way.
    I don't know why I couldn't be a virus, just because it's a mac doesn't mean it cannot be done.
    So today I tried installing anti virus software (such as avast- was in a weird language looked like slovenian, clamxav - was in slovenian) but I couldn't install them.
    PLEASE help me! I don't know what to do anymore, I work fulltime and I need my computer, I have no time to bring it in for repair, are there other perhaps easier ways?
    Could this be the work of a virus or a malware? Or is it a disk permissions issue?

    It sounds like you may have multiple problems, but none of them are likely to be caused by malware.
    First, the internet-related issues may be related to adware or a network compromise. I tend to lean more towards the latter, based on your description of the problem. See:
    http://www.adwaremedic.com/kb/baddns.php
    http://www.adwaremedic.com/kb/hackedrouter.php
    If investigation shows that this is not a network-specific issue, then it's probably adware. See my Adware Removal Guide for help finding and removing it. Note that you mention AdBlock as if it should have prevented this, but it's important to understand that ad blockers do not protect you against adware in any way. Neither would any kind of anti-virus software, which often doesn't detect adware.
    As for the other issues, it sounds like you've got some serious corruption. I would be inclined to say it sounds like a failing drive, except it sounds like you just got it replaced. How did you get all your files back after the new drive was installed?
    (Fair disclosure: I may receive compensation from links to my sites, TheSafeMac.com and AdwareMedic.com, in the form of buttons allowing for donations. Donations are not required to use my site or software.)

  • I have an external hard drive, from Iomega. However, I cannot copy or save any file to it. On my PC it says that is possible to read and write in it, but in my Mac, it says I can only read. can somebody help me?

    I have an external hard drive, from Iomega. that I can open and see my files. However, I cannot copy or save any file to it. On my PC I have it says that is possible to read and write in it, but in my Mac, it says I can only read. can somebody help me?
    Also, Im a photographer, so I like to name a lot of files at the same time (used to do in on PC and it was very usefull.) cannot find out how to do it on my Mac. Really appretiate if some one can give me a solution! Thanx

    Your drive is formatted with the NTFS file system.  OS X can read but not write to the NTFS file system.  There are third party drivers available that claim to add the ability to OS X to write to an NTFS partition.  I have not tried them and don't know if they work.
    The only file system that OS X and Windows can both write to natively is the FAT32 file system.

  • Mac desktop. 10.6.8. Text edit. Not locked. Read and write. Still, documents are locking when they are moved from desktop to another folder on the server. Techies can't figure it out here. What am I not doing?

    Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.

    Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.

  • Read and write excel sheet data from uploded file in sharepoint site programmatically 2013

    hi team,
    I am working on sharepoint 2013.I want to read and write data in excel sheet (micrsoft excel) from stored file in shrepoint docoumnt library .please suggest me
    vijay

    Hi
    Vijay,
    check those links
    http://www.sharepointwithattitude.com/archives/61
    https://social.technet.microsoft.com/Forums/en-US/e760051b-a92f-473c-9ec9-0f0c36c99e40/read-and-write-excel-sheet-data-from-uploded-file-in-sharepoint-site-programmatically-2013?forum=sharepointdevelopment
    Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation. Please remember to mark the reply as answer if it helps.

  • How can i store a value in a register, to be called up later in the program. I must be able to read and write to it.

    Im looking at a bearing reading and i only want it to do a case loop if the data has changed on the bearing, so i need a value of what it was a cycle ago to compare it with, how do i do this?

    Hi,
    I'm not sure I,ve understood you clearly but it looks like you need to use "shift registers" in the loop.
    Shift registers allow you to pass data from one iteration of the loop to another. For example in the situation when you need to know the value of some variable on previous iteration or on pre-previous etc.
    To create shift registers on the loop you have to right click on the border of the loop and select "Add shift register" from pop up menu. Two arrows will appear on the left and right sides of the loop. To write data to the shift register you have to wire them to the right arrow, and to read data you have to read it from the left arrow. When you read data from shift register you read the value from the previous iteration. When you write data - you wri
    te the curent value there. If you want to read preprevious data you have to click on the left side of shift register and select "Add Element". The new element (arrow) will appear which corresponds to preprevious value. And so on. To initialize shift registers before execution of the loop you have to wire the some data from the outside.
    Another solution of your problem is using of local variables. You can create them from pop up menu of each control or indicator on the diagram. You can set them as read or write local.
    Good luck.
    Read help.
    Oleg Chutko.
    Attachments:
    shift.vi ‏16 KB

  • Need help to read and write using UTF-16LE

    Hello,
    I am in need of yr help.
    In my application i am using UTF-16LE to export and import the data when i am doing immediate.
    And sometimes i need to do the import in an scheduled formate..i.e the export and imort will happend in the specified time.
    But in my application when i am doing scheduled import, they used the URL class to build the URL for that file and copy the data to one temp file to do the event later.
    The importing file is in UTF-16LE formate and i need to write the code for that encoding formate.
    The problem is when i am doing scheduled import i need to copy the data of the file into one temp place and they doing the import.
    When copying the data from one file to the temp i cant use the UTF-16LE encoding into the URL .And if i get the path from the URl and creating the reader and writer its giving the FileNotFound exception.
    Here is the excisting code,
    protected void copyFile(String rootURL, String fileName) {
    URL url = null;
    try {
    url = new URL(rootURL);
    } catch(java.net.MalformedURLException ex) {
    if(url != null) {
    BufferedWriter out = null;
    BufferedReader in = null;
    try {
    out = new BufferedWriter(new FileWriter(fileName));
    in = new BufferedReader(new InputStreamReader(url.openStream()));
    String line;
    do {
    line = in.readLine();
    if(line != null) {
    out.write(line, 0, line.length());
    out.newLine();
    } while(line != null);
    in.close();
    out.close();
    } catch(Exception ex) {
    Here String rootURL is the real file name from where i have to get the data and its UTF-16LE formate.And String fileName is the tem filename and it logical one.
    I think i tried to describe the problem.
    Plz anyone help me.
    Thanks in advance.

    Hello,
    thanks for yr reply...
    I did the as per yr words using StreamWriter but the problem is i need a temp file name to create writer to write into that.
    but its an logical one and its not in real so if i create Streamwriten in that its through FileNotFound exception.
    The only problem is the existing code build using URL and i can change all the lines and its very difficult because its vast amount of data.
    Is anyother way to solve this issue?
    Once again thanks..

  • How do I read and write at the same time using the NI-CAN channel API?

    Here's the situation.  I have one CAN bus, and I need to read and write channel data (using the channel API) at the same time both at an interval of 20 ms.  It's easy to do one or the other using the channel API, but you can't setup a channel task to do both.  It's either input or output, not both.  Is this even possible?

    Hi,
    yes , this is possible. But you have to create two tasks, one for input and one for output. see the attached example for LabVIEW.
    If you download and install NI-CAN 2.4 you will get this example and one for C and VB as well.
    DirkW
    Attachments:
    Single Sample Input Output same Port.vi ‏79 KB

Maybe you are looking for

  • Driver problem with 60GB fifth generation Video iPod

    I am trying to sync up my iPod for the first time. I already had itunes on my computer and used the install CD that came with. My computer recognizes that is an iPod that is connected through the USB port. In device manager it shows a yellow question

  • Flash CS5 Windows 7 64-bits problem

    Hello and thank you for reading my problem and trying to help. I actually have a Windows 7 Home Premium 64-bits. So I've downloaded, extracted and installed Flash correctly. When I try to open the software, on the loading screen, the loading slows do

  • Display only the result rows only by using condition or any other way

    Hello Everybody, I've a web report where I want to diplay ony the result rows and don't want to display the detail rows at all. I could hide the detail rows but these rows still appear without any value in the key figure fields. I tried to revove the

  • Different columns and arrangements in different Folders

    I arrange my mail into various folders. For various reasons, I need to have different columns visible and different arrangements of columns in different folders (Kind of like needing From: in InBox and To: in sent items.) I can't figure out how to se

  • Summing Some Rows

    How do I Sum some records? I have a report which shows data something like this: Customer  Job_No  Vendor  Vendor_Cost  Sale_Amt 12345678  123456  ABCDEF  10.50        123.45 12345678  123456  UVWXYZ  20.92        123.45 87654321  123456  LMNOPQ  12.