Change registry settings through forms10g at runtime (NLS_LANG)

Hello all,
Is there any way to change registry settings through forms10g at runtime.
my software is dual language suopportable. but i have to set NLS_LANG in registry either AMERICAN_AMERICA. or ARABIC_KUWAIT. to set direction from LEFT for english and RIGHT for arabic respectively.
when i run in english i change registry NLS_LANG to AMERICAN_AMERICA while when i run in arabic change registry NLS_LANG to ARABIC_KUWAIT and then run the application.
but now i want that when i select language ARABIC some proceadure will change the NLS_LANG to ARABIC_KUWAIT similarly when i select language ENGLISH the NLS_LANG to AMERICAN_AMERICA .
have any idea any one?
thnx
Najeeb

Hopefully someone can suggest something simpler, but my best guess (I have not yet tried this) would involve writing a JavaBean and a JNI DLL that interfaces between your JavaBean and the Windows API.
Since much of the Windows API uses Pascal calling conventions, linking against its DLLs can be a hassle. Most examples that I've found, for compiling such DLLs have called for Visual C++, but I believe it should also be possible under Cygwin (http://www.cygwin.com/), but not necessarily more straightforward.
Sorry to give just a hint, but that's where my experience ends!
HTH,
Eric Adamson
Lansing, Michigan

Similar Messages

  • My CD/DVD drives quit working and I had to change Registry settings to get them to work again. Now Itunes gives me a message at startup that I need to reload iTunes.

    Both of the CD/DVD drives on my desktop computer quit working. I had to change registry settings to get them to work again and after that iTunes gives me a message on startup that I need to reload iTunes because of the change in registry settings. I'm concerned that if I reload iTunes that my drives will quit working again though I don't know why they quit working in the first place. Is there a known problem or incompatability with some drives and iTunes. What is it about the registry settings that iTunes requires my CD/DVD drives settings to work or not to work? I haven't updated my iTunes software since changing the registry setting to fix my drives.

    I've read some of the support articles about reinstalling the iTunes upper filters in the registry but I don't like the idea that iTunes seems to be saying that they are the ones that will be in control of what CD burning software that I am allowed to use on my computer. If I put the iTunes upper filters back on the computer will I not be able to use other CD burning software again? If I reload iTunes will it interfere with the use of the other software, or, if I use the other software again will I have to go back and reload iTunes or reset my registry every time. This seems to me to be a problem that iTunes should fix so that they don't interfere with other computer operations.

  • Hi, i had recently bought a toshiba 3.0, 1.5tb hdd and i had to change the settings through Disk Utility on my mac to be able to transfer files from my mac to my HDD. The problem i am having now is, it wont connect to my TV or PS3? Can someone please help

    Hi, i had recently bought a toshiba 3.0, 1.5tb hdd and i had to change the settings through Disk Utility on my mac to be able to transfer files from my mac to my HDD. The problem i am having now is, it wont connect to my TV or PS3? Can someone please help

    "....and i had to change the settings through Disk Utility on my mac to be able to transfer files from my mac to my HDD"
    What do you mean by that? Did you format?

  • Change Color Settings through Scripting

    We're having an issue at my work where Photoshiop is frequently losing its Color Settings.  Is there a way to modify these settings through scripting, so I can have it run automatically?  The settings are:
    Working Spaces
    RGB:  sRGB IEC61966-2.1
    Color Management Policies
    RGB: Covert to Working RGB
    Turn off “Ask when opening” for profile mismatches and missing profiles
    Conversion options
    Intent: Perceptual
    Thank you for your help.

    May be one of these will help…? Add to the event manager… You should really be looking at why this happens thou… Change to suit your settings name…
    app.load( File( Folder.appData + 'Adobe/Color/Profiles/Recommended/CoatedFOGRA39.icc' ) );
    app.colorSettings = 'CoatedFOGRA39.icc';

  • I click on Firefox Icon, window appears asking if OK to change Registry. This happens every time.

    Every time I click on Firefox Icon, a window appears requesting if it is OK for Firefox to change Registry settings. If I click "yes" it then proceeds normally. If I click "no" it also proceeds normally. I have uninstalled and reinstalled and find the same. I have the latest version 4-0-1.

    Check that you do not run Firefox as Administrator.<br />
    Right-click the Firefox desktop shortcut and choose "Properties".<br />
    Make sure that all items are deselected in the "Compatibility" tab of the Properties window.<br />
    * Privilege Level: "Run this program as Administrator" should not be selected<br />
    * "Run this program in compatibility mode for:" should not be selected<br />
    Also check the Properties of the firefox.exe program in the Firefox program directory.
    If you can't make the changes then you need to start Windows Explorer as Administrator.

  • Since I installed Nero 2104 I get an error message when I try to start iTunes: registry settings changed probably due to other cd/dvd burning program please reinstall iTunes, which I've done using repair option but the problem persists...?

    Since I installed Nero 2014 I get an error message when I start iTunes that registry settings for importing and burning cds/dvds have changed probably due to other burning software installed please reinstall iTunes, which I've done using 'repair' option, but the problem persists. I have been able to import cds to iTunes since I installed Nero, but it won't anymore. Does anyone recognize this problem and have a solution? Thanks for any help. Using Windows 7.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes
    If you're still getting the error message (especially when you plug in the Touch), I'd check for a device filter confusion on the PC. (They can affect the connection of USB devices to a PC, as well as burning and importing CDs.) For that one, see:
    iTunes for Windows: Troubleshooting CD issues caused by device filters

  • What do I need to do with the warning of "The registry settings used by the iTunes drivers for importing and burning CDs and DVDs is missing."? I have already uninstalled and reinstalled itunes but there has been no change. I have PowertoGo on my HP.

    What do I need to do to correct the problem. Unistalling and reinstalling iTunes has not helped. I have PowerToGo on my HP. I can burn through this program but want to do so by iTunes. Any Suggestions that would help? Diagnostics for iTunes states that "No driver found" E:hp DVD A DH16ACSH.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • While playing music on my iphone 5, i am now unable to play, pause, or skip songs while my phone is locked. I can still change the volume and slide the scrub through songs.  This has always worked for me until now. I have not changed any settings

    While playing music on my iphone 5, i am now unable to play, pause, or skip songs while my phone is locked. I can still change the volume and scrub through songs.  This has always worked for me until now. As far as i know, i have not changed any settings.  This is whle my phone is locked both on the slide up toolbar/menu interface and on the normal screen before i slide to unlock.

    I skimmed through this very long post but from what I read, this sounds much more like a coverage issue with your network than a device issue.  I have not seen or heard of this issue before and I do not have this issue personnally and & I use the music app quite frequently while working in the yard.
    The DND feature should not be a factor at all if you're sure it's turned off.  I always recommend restarting your phone by holding down the home button + the lock button for 10-12 seconds until the Apple logo appears.  Once the phone reboots, do a test to see if this has helped to resolve the issue.
    If not, go to Settings > General > Reset > Reset Network Settings.  Then, test it out again.  Post back if neither of these solutions solve your issue.

  • Hello, I have been exporting my photos with a watermark. Without changing any settings, half way through my day things changed, and now about 1 out of 7 photos have the watermark after export. Change you helpe me change this back please?

    Hello, I have been exporting my photos with a watermark. Without changing any settings, half way through my day things changed, and now about 1 out of 7 photos have the watermark after export. Change you help me change this back please? Has anyone had this issue before?

        I'm sorry to learn that you have endured the audio issues outlined in your post for almost 2 years SusanLM1! This is certainly not normal! Let's get to the bottom of this issue, first please confirm your phone model; your mention that you have the iPhone 5 but your post is on the iPhone 5S forum. Also, share the iOS version currently installed on your phone. What is your ZIP code? Does this happen mainly while you make/receive calls from a particular location (home, office, etc)?
    AntonioC_VZW Follow us on Twitter at www.twitter.com/VZWSupport

  • ICloud is changing regional settings in C++ Runtime

    Hello,
    I'm developing an app in C++ that is using SQL sentences for storing data in a database and I've a weird problem. When I launch a MFC (Windows) file selection window, iCloud is launched and it's changing the regional settings (locale settings) in the C++ Runtime to English in non-English Windows systems.
    After closing the window, iCloud is not restoring the locale settings to the machine original ones, so the execution of the programs that are using the C++ Runtime gets messed (in my case, all the points in SQL sentences are changed to colons, so you can imagine the mess)...
    Will Apple launch a fixed iCloud soon?
    Thanks!

    Hi Cre8tiveNess,
    You need to set the same preferences in Control Panel > Adobe PDF Printer > Printing preferences.

  • PS App Deployment registry settings fail through SCCM

    I've created an application installation with PowerShell and I'm running into a problem.  I've set it up so it installs an application, copies a file to the user profile, and adds 5 registry settings.  I've got it all setup and working great
    when I run it manually.  However, when running it through SCCM, the application does install, but the registry settings don't get added.
    Tried it as an application and a package in SCCM, set to run as admin, allow user to interact, and only when a
    user is logged in.  The ExecutionPolicy is set to Bypass on test PCs. 
    I've also setup the same install as a script and everything works fine, manual and SCCM install.  Really want to get it working with PowerShell as it has more functionality and more reliable than scripting.  It only has a problem when its ran with
    PowerShell through SCCM.  Has anyone ran into this before? 

    Here is the actual script I'm using to add the registry keys
    Copy-File-Path"$dirSupportFiles\BOESystems.xml"-Destination"$envAppData\SAP
    AG\SAP BusinessObjects Advanced Analysis\Settings\BOESettings\BOESystems.xml"
    Set-RegistryKey-Key"HKEY_CURRENT_USER\Software\SAP\AdvancedAnalysis\Settings\Utilities"-Name"Profiling"-Type"String"-Value"True"
    Set-RegistryKey-Key"HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\Addins\SBOP.AdvancedAnalysis.Addin.1"-Name"LoadBehavior"-Type"Dword"-Value"3"
    Set-RegistryKey-Key"HKEY_CURRENT_USER\Software\SAP\AdvancedAnalysis\Settings\DataSource"-Name"PreferredPlatform"-Type"String"-Value"3"
    Set-RegistryKey-Key"HKEY_CURRENT_USER\Software\SAP\AdvancedAnalysis\Settings\DataSource"-Name"RfcBundling"-Type"String"-Value"True"
    regedit/s$dirSupportFiles\Popup.reg
    The Popup.reg is a Reg_None entry that adds this:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\AttachmentExecute\{0002DF01-0000-0000-C000-000000000046}]
    "SAP.AO.Xl.Launch"=hex(0):

  • Itunes missing registry settings

    Somebody please help! I've got a new ipod nano and installed itunes from the disk but got this message: "The registry settings used by the itunes drivers for importing and burning cds and dvds are missing. This can happen as a result of installing other cd burning software. Please reinstall itunes." I notice the CR-RW Drive (D:)which is called a removable storage device on My Computer is missing. Only showing HDD (C:).
    I didn't have quicktime but downloaded it yesterday as I understand itunes requires it. The pre-installed CD playing / burning software I have are: RealOne Player; Sonic RecordNow; PowerCinema and Windows MediaPlayer.
    Any ideas anyone? My laptop is a Packard Bell with XP Home edition and Norton internet security 2006.
    Mike

    FOr some reason, this is being seen in pretty much only Packard Bell's which leads me to believe its a Packard Bell issue. Ok I am going to copy and paste what I wrote to someone else about the same issue so I dont have to retype it again.
    For the most part, what's occurring is one of two things. Either...
    A) an application (such as iTunes, etc.) is installing a driver file (as a .SYS) or replacing a working driver file that is referenced within your registry. For some folks, the replaced driver is still referenced by either an UpperFilterCheck or a LowerFilterCheck, and the device manager is actually seeking out that file that, well... no longer exists. Or, when you try and uninstall the application (iTunes is the frequent transgressor) everything is removed, including the related driver files, but the registry isn't altered... so the device manager continues to try and locate that driver file... which no longer exists.
    or
    B) a virus (or trojan) burrows its way into your file structure, and creates an element of itself disguised as a .SYS file. We've seen this happen before with viral elements disguising themselves as audio or video card driver files, in the efforts of masking themselves from lower-class anti-virus programs (or un-updated ones). In this case, they take on the name of a driver file that the optical drives are "familiar" with, and so, with the intention of being "fast, friendly, and efficient", the optical drives are tapped to utilize this new "driver" file... and it gets referenced in the registry as such.
    However, when your anti-virus actually snaps to it, and removes the virus / trojan, and you go off on a virus-killing mission, galavanting through the registry and cleaning the little buggers out in Safe Mode and everything... you might remove the viral elements... but... the reference to them might still remain. The device manager is still looking for that "driver file", and will cause the optical drives to lock up in a Code 39 or Code 41 because of it.
    Either way, he thing to do to reclaim your optical drives is located in your registry here:
    HKEYLOCALMACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE1 0318}
    You'll want to have that open, and a mini-window of the following:
    START -> CONTROL PANEL -> SYSTEM -> Hardware (tab) -> DEVICE MANAGER -> Offending Drive (with yellow tag by it) Right-Mouse-Click and PROPERTIES -> Driver (tab) -> DRIVER DETAILS
    Notice that list. It references all the drivers that that particular drive is utilizing. There should be a single .DLL (dynamic link library) file and multiple .SYS files. It's the .SYS files we're focusing on, and they should be located in your C:\WINDOWS\System32\drivers\ folder stem. If you want to open a new window explorer, and go verify that each of those driver files still exists in that folder stem, you may.
    At this point, compare the Driver File Detail list with the Registry Tree Location you're sitting in, and look at the UpperFilterCheck and LowerFilterCheck key values. Your offending key value will NOT be on your Driver File Detail list!!! It might be as small as "PFC" or something else, but that value is referencing to a driver file that no longer exists. Delete that offending key value. Close the registry.
    Close the Driver File Details and Drive Properties windows. At this point, to finish this up, you need to Soft Uninstall (Right-mouse-click on the drive, and hit "Uninstall" ) the drive(s), let the Device Manager refresh... then hit ACTION -> Scan For Hardware Changes ...
    This should start a new Found New Hardware cycle, and.... poof!... your drives should be back to normal.
    Here is a microsoft article, its regarding easy cd creater, but its pretty much a similiar thing
    http://support.microsoft.com/kb/314060/EN-US/

  • I can not longer send email from my .me email. in outlook 2010 on my PC. I can still recieve emails fine. I have not changed my settings at all. I have however tried all the settings i can find on the support pages. PLEASE HELP

    I can still receive icloud ( ME email address) emails fine. I have not changed my settings at all. I have however tried all the settings I can find on the support pages. PLEASE HELP. Nothing has changed. This suddenly just started happening around a month ago. To frustrate me apple does not seem to have a support email or any method to contact them with this issue to do with their email product. I have spent ages going through the apple support sites and I keep getting asked for an apple product to mark it against. I have no apple product as I am using a PC but I am accessing and using their email product. Is there even a phone number I can call? Surely there is a support area for their Email server issues. Can anyone help? It is driving me mad and causing me major issues. My outlook is Outlook 2010 on a windows 8 PC. As I have said it worked fine then one day decided to stop sending emails.
    Thanks for your help.

    Hi - this problem is discussed here:
    https://discussions.apple.com/thread/5375046?start=0&tstart=0

  • Do I need to change any settings to connect my mac book pro to my tv?

    Do I need to change any settings on my mac book pro to connect to my tv

    Almost certainly, yes. Did you want to know which settings?
    Exactly what settings you would need to change, where, and to what would depend on many factors, including at least the following:
    * what model MBP you have (which will tell us the connector available),
    * what version of Mac OS X it runs (which will tell us the settings available),
    * what sort of TV you have (resolution, what connectors it offers, how they are switched, etc.),
    * what connecting facilities you have (like wires or an AppleTV),
    * how you want to use the TV (primary screen, secondary screen, mirror screen, sole screen),
    * whether you want to play audio through the TV,
    and even
    * where the TV is located with respect to the MBP.
    Simple case: New enough MBP to have HDMI output, running a recent OS X, TV new enough to have an available HDMI input, an HDMI cable on hand, using the TV as a secondary screen, and you don't care about how the screen positions relate or where the audio plays. You might be able to get away with default settings on the computer, but you'll still probably have to switch the TV to the HDMI input, and you'll have to drag windows onto the new screen.

  • The new firefox changed my settings, i can only find my administrative account on my laptop, but i'm not logged in as the administrator.

    I am trying to attach files from my user account on my laptop, but when I try to attach them inside a Firefox browser, it only allows me to look at the administrator account and the documents on there. I am not logged into my administrator account, because I obviously only use that for the administrative things on my computer. I'm not sure what to do to change this, I've looked through all of the settings in my new version of Firefox (3.6.11) and I can't find anywhere to change those settings. HELP ME, PLEASE!?

    Check that you do not run Firefox as Administrator.<br />
    Right-click the Firefox desktop shortcut and choose "Properties".<br />
    In the Compatibility tab, make sure that Privilege Level: "Run this program as Administrator" is not selected.

Maybe you are looking for

  • Acrobat Crashes when signing a document

    I have Acrobat 8.1.7 professional and all of a sudden I am unable to digitally sign documents. When I attempt to sign a document, the "sign document" dialog box opens, freezes and the acrobat closes down. Can someone assist me with this issue? Window

  • SSH getting failed freqently in ASA 5510

    Hi , I been able to access the firewall via ssh, but suddenly ssh got failed but able to telnet port 22 to the firewall. But it is not prompting username and password from the ASA device. So i have taken console reset all ssh configuration , then SSH

  • Push button true and release

    HI, I need to create a push button which command (true)a case structure : In this case structure I have an "Analog 2D DBL NSamp NChannel" which is doing an acquisition according to Nb of samples : What I what is that after this acquisition is complet

  • Missing set name or handle name -- FormHandlers

    Hi All, I'm trying to implement FormHandler for learning purpose. I've a form(regform.jsp) with four fields and corresponding FormHandler component(Registration.java). In regform.jsp, I've submit button in the following way, *<dsp:input type="submit"

  • FIX:::  NSURLErrorDomain error -1012  [for Avast users]

    If you've been unable to receive updates from the Mac App Store, and getting this particular error (NSURLErrorDomain error -1012), then you can do the following in order to enable your Web Shield again. 1.  Open Avast Preferences 2.  If Preferences i