Wrting to the user's Windows Registry

Hi. In client-server we used the code below to write to the user's windows registry:
                    win_api_environment.write_registry('HKEY_CURRENT_USER\Control Panel',
'last_oralogin',:logon.username,TRUE);
                    win_api_environment.write_registry('HKEY_CURRENT_USER\Control Panel',
'keep_pswd',:logon.pswd_memory,TRUE);
Is there an equivelant command I can use with Web Forms?

Thank you.
As luck would have it I already have WebUtil configured in my form (I use it for 'client_host' commands). However, when I changed my code to this:
:logon.username := client_win_api_environment.read_registry('HKEY_CURRENT_USER\Control Panel','last_oralogin',FALSE);
I get the error:
FRM-40734: Internal Error: PL/SQL error occurred
Can anyone help me with this?

Similar Messages

  • How can I control the windows behavior when the user hits "Windows key +d"?

    Hi,
    I have an application with 2 top-level windows. Both windows may be open at the same time. One window is a win32 window, and the other is a wpf window. When both windows are open, the wpf window should always be before the win32 window. When the user hits
    "Windows key +d" twice (show desktop and restore all windows), the windows are occasionally restored in a different order.
    How can I force the wpf window to always be before the win32 window?
    Which Windows messages/events are sent when the desktop is restored?
    Yoel

    Hi,
    I tried set the Topmost property on the Wpf window. It didn't help - for some reason, the win32 window still get in front of the Wpf window.
    I was able to get some win32 messages that change the win32 window position. I tried then to bring the Wpf window to the front (using SetActiveWindow, SetForegroundWindow, SetWindowPos) but i does not work as expected.
    Yoel
    Hi Yoelp,
    >> tried set the Topmost property on the Wpf window. It didn't help - for some reason, the win32 window still get in front of the Wpf window.
    It worked well on my side, could you please tell us more details about these two window? What have you done on the WIn32 Window? We need to know the reason
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to find logged in user from Windows Registry?

    Hi,
    am developing a windows store 8.1 app using C# and xaml.
    In my app i want to find logged in user name from Windows Registry. 
    How can i get that from C# code?
    Anybody please help me.
    Regards,
    Santhosh

    from aa store app you don't have access to the windows registry.
    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

  • How to set up multiple NLS_LANG or update the NLS_LANG in windows registry

    Hi!
    In our server machine, we have installed the Oracle Net Manager Version 10.2.0.0.0, which is used to connect to different oracle databases in different NLS_LANG settings (i.e., JA16SJIS, KO16KSC5601, WE8ISO8859P1). Currently, our NLS_LANG is set to "AMERICAN_AMERICA.UTF8". In order not to convert the character set to UTF-8 format, could anyone tell me:
    1. how to set multiple NLS_LANG for different databases in registry
    2. how to switch the NLS_LANG setting in registry programmatically in order to retrieve/view the data in the corresponding character set (same as the setting in Oracle DB) for the dedicated oracle database
    Please advise. Thanks a lot
    Best Regards
    Pinga

    1. how to set multiple NLS_LANG for different databases in registryBy default NLS_LANG registry settings is linked to the Oracle home and not to the database. I don't think that you can set a NLS_LANG setting for each database (unless you are using a command line tool and in this case you can set the NLS_LANG environment variable).
    See also OTN NLS_LANG FAQ.

  • When i start firefox double clicking the short cut icon, it runs in the processes but the user interface window does not comes up in the screen,please help.

    in my laptop,i generally use windows xp, due to some problems i repaired the window, after some days without any notice the above problem starts. but internet explorer 8 shows up with a perfect window, but a bit slow in every respect compared to firefox. above all if i start the window in safe mode firefox runs perfectly.please help, i ve tried every possible way(installing different anti-viruses, acessing through set program and defaults).

    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
    See:
    * [[Server not found]]
    * [[Firewalls]]
    * http://kb.mozillazine.org/Browser_will_not_start_up

  • TS5292 What do I do if my original user account is not showing up in the Users & Groups window?

    I can't find any of my mom's information that was on her computer before I convinced to do the upgrade. HELP!!!!!
    I did the upgrade on my iMac with no problems.

    First, back up that folder. I don't think anything will happen to it, but I wouldn't take a chance.
    Next, go to Users & Groups and create a new account.
    Set the short user name to the exact same as that folder.
    When you create the account, it should warn that a home folder already exists and allow you to use it. Select that option.
    You should then be able to log into that account and everything will be as it was.
    Make sure you use the same password so that keychain will unlock normally.

  • Restore "Favorites" in the user list window?

    I "X"d out the "Favorites" option and I would like to get it back, but alas, none of your menus offer the option to enable / disable.  Please add this to your menu options and if possible, please provide instructions on restoring it.
    Thanks
    Solved!
    Go to Solution.

    Right click on the name of the contact you want to add to Favorites and select Add to Favorites. This will re-establish the Favorites list.
    When you will want to disable the Favorites box again, then you will need to remove all contacts from this list.

  • How can I get the language of the user logged on using only DI API?

    Hello,
    how can I get the language of the user logged on using only DI API,
    without invoking the UI?
    Can I read the value from some table using sql?
    I could write to file the first user's connection to the language code in SAP and then use it from external program, but I do not like this solution ...
    I know only this possibility:
            '_SboCy ==> SAPbobsCOM.Company
            '_SboCys ==> SAPbobsCOM.CompanyService
            '_SboApp ==> SAPbouiCOM.Application
            CodLng Dim As String = ""
            Dim lng As SAPbobsCOM.UserLanguages _SboCy.GetBusinessObject = (BoObjectTypes.oUserLanguages)
            If lng.GetByKey (_SboApp.Language) Then
                codLng = lng.LanguageShortName
                'Etc. ..
            End If
            lng = Nothing
    Thanks

    Hi Enrico,
    The language settings are held on the user's Windows profile and not in the database. In SBO 2007A onwards there is an XML file that is created by the SBO client (previous versions stored the information in the registry). The file is called b1-current-user.xml and you'll find it in the temporary application data under the user's profile (by default this will be C:\Documents and Settings\<profile>\Local Settings\Application Data\SAP\SAP Business One for Windows XP). This XML file contains a node that looks like the following:
    <leaf kind="single" name="Language" type="String">
         <value>8</value>
    </leaf>
    where the value is the language id that should correspond to the same setting in the DI API. If your application will always run on a workstation where the SBO client is installed then you could read this XML file. Of course, this file may not exist for a particular Windows user if they have never opened the SBO client so you'd need to have a default setting.
    If you application will be installed on a workstation which doesn't have an SBO client installed on it then there is no way to tell what default language to use and you'll need to build this logic in to your own application (eg have a screen where the user can choose their preferred langauge and then store this as a config file in a similar way to how the SBO client works).
    Kind Regards,
    Owen

  • Authenticating a user through Windows NT Domain.

    Hi there,
    Could anybody please help me out with this issue.
    Can a user, who logs into the web application, be authenticated from the Windows NT Domain. I'am only using JSP's and Servlets in my web application on a web server.
    Basically all my user's UID and Passwords are present on a Windows NT Server. The requirement in the project is such the I cannot create a seperate table in the data base to hold the UID and Password information. So I have to authenticate the user from Windows NT domain. Is any one out there aware of a way to achieve this.
    Any kind of information in this regard would be greatly appriciated.

    See if you can use the Windows NT based authentication module that comes with Java Authentication and Authorization Service (JAAS)
    http://java.sun.com/products/jaas/index-10.html

  • User Manager Window problem

    Hi,
    I'm logged ti TestStand as administrator but the "User Manager" window is dilled i can't acess.
    Can you help me please
    TestStand 13.0
    Solved!
    Go to Solution.

    Do you have another system installed with TS which works as expected?
    If so, copy the users.ini file from the working system over to the non-working. The users.ini is in the TS config directory (by default in ProgramData).
    Norbert
    EDIT: "dilled" is no english word. That's why i asked... replying "Yes, it is dilled" doesn't really answer my assumption....
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Disabling "User Details window" when adding modifiedby  to LAyout

    I am very new to the KM layout tools, So I appreciate any basic information you can share.
    I have copied the SimpleExplorer Layout set and I am in the process of Layout customization.
    I want only the DocumentName, Modified Date and Modified By to appear. I have taken out most actions: settings, goto... etc.
    I have been able to get this done,
    The problem is:
    When I include the "ModifiedBy" to the Displayed Properties of the  Collection List Renderer Settings the ModifiedBy field appears but allows a user to Click on it,
    when Clicked a new window opens  with "Users Details".
    The Users Details Window has the following options and we do not need/want this functionality.
    Send E-mail... Create Appointment...
    Show Availability Send Instant Message...
    How do I include the ModifiedBy field for display and sorting but deactivate the Link to the new window "Users Details"
    Thanks for any help,
    Sarah

    Hi BP,
    I just came accross the solution below given by you in another thread.Is this the one I need to do?
    And one more question.I see the "Send Instant message","Create Appointment" and "Show Availability" in the "UserDetailsGroup"
    So is it enough if I remove these 3 command properties from the "UserDetailsGroup"?
    I am using the DiscussionGroupsContributor layoutset.
    BP's SOLUTION:
    Business Card Pop Up Customization (Removing the standard collaboration options)
    Changing the default options available in the Business card Popup, We need to go to
    System Administration->System Configuration->Collaboration->Properties->Command Groups.
    Now edit the three groups which are:
    1. clpGroup
    2. UserDetailsGroup
    3. UserGroup
    Note:
    The above actions require the server to be restarted to make the changes to be effected
    Edited by: Sudha A on Apr 1, 2008 6:28 PM
    Edited by: Sudha A on Apr 1, 2008 6:37 PM
    Edited by: Sudha A on Apr 1, 2008 6:38 PM

  • Copy express and user defined windows

    Hi All,
    I´m using CopyExpress to copy a company A to B with a certain selection criteria.
    The content of the user defined windows are in the target company (B) and when adding an entry into the Journal Entry certain fields are populated automatically when saving the entry.
    That´s how we expect the system to behave.
    But for a certain document serie these same fields are not populated automatically.
    Someone has encountered some issues regarging the Journal Entry and Copy Express?
    Thanks for your help

    The data copied by Copy Express may not be identical.  For example, the account code will be different if you use segregated accounts.  Some of other internal codes may not be the same either.
    Thanks,
    Gordon

  • Detection of windows registry problem

    I'm using illustrator 5.1 on PC (win 8.1). Currently the software has prompted with the message issuing the detection of windows registry problem. I can still use it if I choose allowing it to get fixed immediately. But it still prompted every time I open it. What can I do to fix it as I lost the installation disc?

    I was finally able to solve this by:
    1. copying a Sun/swdp directory from a different computer to this one.
    2. tried to uninstall, this failed.
    3. reinstalled swdp over this directory, specifying server integration. This failed.
    4. reinstalled swdp over this directory, specifying no server integration. This succeeded.
    5. uninstall. Delete swdp directory.
    6. reinstall fresh.

  • How can I retrieve the IP address of the default printer from the windows registry

    I am using LabVIEW 7 on windows NT4 computers.
    I have a SubVI that I use to ping the network printer to make sure that the printer is on line prior to sending a print at the end of testing a unit.
    If LabVIEW does not get a reply to its ping data is saved locally and the user informed.
    I would like to modify the VI that pings the printer to ping the default printer of the computer on which the VI is running.
    I would be grateful if anyone can show me how to retrieve the default printers IP address.

    Hi Stuart,
    The registry entries for User's Default Printer are:
    Win 9x:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr​entVersion\Windows]
    NT/XP:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows]
    "Device"="Printer Name"
    The device is the name used to represent the printer in the registry. The name can be found in the [HKEY_CURRENT_USER\Printers\Settings] key.
    Machine name is part of the "Printer Name," which you can use to ping directly (i.e., w/out having to look-up its IP address).
    Hope this helps.
    Regards,
    Khalid

  • Print directly to the printer option in the Windows registry

    I need to find the location for the option to "Print directly to the printer" in the Windows registry.  I am trying to create a GPO to enable this option at login and I can't find the location for it.  Is this possible to do?  If not, is there another way to enable this at startup for all users?  We are running Adobe Acrobat X on Windows 7 Enterprise 32-bit.
    Thanks

    I guess that those of use responding don't know enough about the process you are trying to implement to be of help. Printing to network drives has been an issue for folks for a long time and a lot seems to depend on the network. That is probably of zero help and all I can suggest is just to hang on for someone who hopefully has an idea. If we can get a better handle on what you are trying to do, we might be able to make suggestions. However, I think our answers are not going to be there for the registry issue.

Maybe you are looking for