Apex - javascript - how to run the exe file

I tried like this:


IN THE TEXT OF THE HEADER:

+ < script language = "JavaScript1.1" type = "text/javascript" > +.
function runFile()
+{+
Alert ("' the fucntion works!");
File = "cmd.exe";
WSH = new ActiveXObject ("WScript.Shell");
WSH.run (File);
+}+
+ < /script > +.


BUTTON, URL REDIRECTION:

Target URL: javascript:runFile();

Its market if I test it in a normal .html, but not in the apex (only warning message is displayed and the error on the page...).
Is there another way to run a client apex Palm application?

Thanks for any help.

Kind regards
Kristjan

Your solution works because you launch in your browser from a local file. As soon as you accelerate the same file from a web server, it must be rejected.

Some of the other posters explained, the best workaround is a signed Java applet. You can find an example here:

http://techinitiatives.blogspot.com/2007/01/signed-applet-to-launch-local.html

We have successfully adapted for ourselves.

Another option is to write a local listener that queries the database or your APEX web app. In Unix, Linux or Mac OS / X, it's easy, but in Windows, you cannot start applications leading to a service.

I just went through the whole circus, so if you have any specific questions, leave me an email.

See you soon,.

Thomas

Tags: Database

Similar Questions

  • When I run the exe file, it should load the niscope_32.dll why?

    Hello:

    I used scope in my program functions,

    and then I did it in the exe file and the installation file,

    but when I make them to another computer,

    To load the niscope_32.dll, what should I do?

    Hi ylongwu,

    You will need to install the driver OR-Scope on the deployment computer so that the code you can call the driver. You can download the driver from our Web site at drivers and updates the link below by searching our driver OR-Scope and choosing the appropriate version. I also recommend that you include the NOR-Scope driver as an extra Installer for your executable. In the setup of window construction there is a category called additional installers where you can choose the drivers and execution engines to install with your executable file. I've included a screenshot to show what it will look like for LabVIEW 8.x.

    Drivers and updates
    http://Joule.NI.com/nidu/CDs/fn/p/lang/en

  • Run the exe file without installing labview

    I created my labview in exe file. I need to run this exe file on another computer that have no application in labview. It is afficherapres when I try to run it. What should I do without installing labview application in another computer?


  • Windows 7 will not run the exe files correctly.

    I tried to open a file with Notepad as I thought Notepad was the right program to open it. I used the "open with" prompt and select Notepad. It did not open, but immediately after, all single exe files had a picture of Notepad open with notepad and say various gibberish.

    After that, I managed to get on chrome right on the PIN I had attached to the taskbar, and then selecting an of my favorites.

    I looked for solutions and tried two different solutions so far, regedit solution and the Fix It solution.

    Later, I thought that maybe adobe would be able to run exe files, he then began to show an image of the software adobe reader on exe files.

    Now, every time I try to open an exe it lands open adobe reader and sitting there without understanding.

    I have restart after trying all the solutions and am now at my wits end to know what to do.

    .exe, .lnk and other types should not be associated with any program. If you're wrong them associated with a program, it always opens that particular program with the file name as argument. You can reset the UserChoice registry key for this file type. Check:

    Restoration. Association of exe in Windows 7/Vista after incorrectly associating it with another program

    http://www.Winhelponline.com/blog/exe-file-association-Windows-7-Vista/

  • How to run the zipx files in Windows 8 without having Winzip

    Cannot run a zipx file in Windows 8.

    I found a Windows 8 Metro WinZip application.

    Thanks for responding.

  • Downloaded the file 1 and 2 to reinstall CS5.5 - two files are now in the same folder, but when I try to run the .exe file, it always tells me that ' the party archive file from Adobe CS5.5 Design Standard is missing. You need all parts in the same folder

    I tried moving them to a new folder by themselves, but that did not work or the other. Help would be so appreciated!

    Hi Barbaram37759064,

    Please read the "Instructions of Installation for perpetual products" in the following document: How to download, install and activate Adobe applications

    • Veuileez check also if the size of the file downloaded and shown on the Web site of file size is the same.
    • Disable any software & browser protection security tools installed on your machine with the firewall system.

    Click here to Download Adobe Creative Suite 5.5 products

    Let us know if that helps.

  • How to run the SWF file when I click on a button

    Dear friends!

    I did three and kept SWF files in a folder, how do I make a flash 8 project to execute when I click on a button. I'm going to make buttons for each SWF file

    Please help me

    use loadMovie to load in your main swf (with button).

  • How to run the .sql file

    Hello
    I want to execute .sql files in sql, as well as a fixed location, it may be the network location or to the system drive. so that I can use it on other computers when I'll work on another pc.

    so please tell me for the localization of network and disk solution. by default it look in the BIN directory

    I use oracle 10g.
    Thank you

    Apart from William Robertson's response:
    I'll make sure that I put it for everyone on a network share and map their in their connection to this directory, so it can be accessed as g: or letter that everything that you want. That would keep things manageable.

    For the question of privilege, please set up a separate thread.

    ----------
    Sybrand Bakker
    Senior Oracle DBA

  • Can not run the .exe (not all exe) file

    Hello

    Have a problem when running the .exe file in windows 7.

    When I tried to open a 32-bit in my 64 bit OS setup.exe file, nothing happens at all. But when I tried the first time, a pop-up message displays this "want to re install using recommended settings. But after that, nothing happens. (the problem with only this file). But it works well in the other 32-bit OS. What should I do?

    Hello

    You can check this link troubleshooting steps:

    https://support.Microsoft.com/kb/2688326?WA=wsignin1.0

    Registry warning

    To do: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/ )

    How to back up and restore the registry in Windows

    I hope this helps.

  • Running a .exe file that is created from the Captivate project

    Hello

    I am using Captivate 4. When I create a .exe of my captivate project file and run it to say slide 3, the next time I open the .exe - it connects the Traghetti where I left off (slide 3 in this case).

    Is there a way to make the project start from the beginning, whenever I run the .exe file?

    Thank you!

    Uncheck the box in the Publisher of skin for the self-paced learning

  • How to decompress the .7z file?

    Try to download CS5, but I just get a file that is a .7z. I have canĀ“t open it on my new computer. How should I do? I downloaded the so-called 7 - zip, but it still doesn't work.

    Desiree,

    If you are on windows, you must also download the .exe file.

    Download the two files: on Mac OS, there is a .dmg file. Under Windows, there is a .exe file and possibly a .7z file.

    Run the Exe file to start the installation

    Here are more detailed instructions:

    Start the installer after downloading

    Kind regards

    Guinot

  • Re: How to run the update to the BIOS of the DOS - Satellite A100 PSAA8A command prompt?

    I'm having some trouble with my GF Satellite A100 (PSAA8A). When installing a new HARD drive with a clean install of XP, I flashed by chance, one of the BIOS when installing drivers. Its kind of bricks now.

    Using a floppy disk CD boot, combined with the update of the V6.00 BIOS, I goes to a DOS command prompt, but not sure where to go now.

    Under * Tradional BIOS update *.
    See the link: [http://eu.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/faq.jsp?z=234&service=EU&from=faq_selection&CFID=B IOS & FID = TRO0000000b07]

    It is said:
    + 1. Extract the zip file containing the BIOS upgrade to a temporary folder. +
    + 2. Three subfolders will be generated in the temporary folder. "docs", "update - 3.5' disc', 'Update - CD - R or CD - RW +.
    + 3. Insert a 1.44 MB diskette formatted in the floppy disk drive. +
    + 4. Run the *.exe file in the folder "" Update - 3.5 disk ". Follow the instructions on the screen. A BIOS update diskette will be generated. +

    But there is no 3 folder. There is only a single called S10VWF that contains Winphlash etc. (see photo url). As far as I know, I can only run Winphlash Windows environment due to its GUI. Then what should I do? Help!

    http://img.Photobucket.com/albums/v259/tRUkbOY/S10SWF.jpg

    Hi Brett

    There is a little thing that you have forgotten or supervised.

    The BIOS you downloaded is a version of BIOS to WIN. It s not traditional BIOS update!

    The description published in your ad describes the update using the traditional BIOS.
    But the Toshiba driver page only provides updates of BIOS based VICTORY. The BIOS can be upgraded only from Windows operating system running.

    Please don't mix these two possibilities of updates!

  • [CS4:JS] How to run the file ".sh" via Javascript

    Dear all,

    How to run the file ".sh" through Adobe InDesign Javascript, I used the code below:

    //================== Code =============================//

    var myFile = File("xxx/xxx/xxx/Test.sh");

    var Exec = "sh" + "" + "\""+myFile+"\;"

    Leader (exec). Execute();

    //================== End =========================//

    codes above does not work, I checked before without the "sh" in addition, it does not work.

    Please can someone give me the solutions and the suggestion, and I'd appreciate it.

    Thanks and greetings

    SudhaN T.R.Harihara.,.

    Have your IDMLExportparse.sh file runs permission set?

    If you open Terminal.app and type

    /Applications/MacXinPro/IDMLExportparse.sh

    It work? Or do you need to run "sh"? If so, either adjust the

    permissions with

    chmod a + x /Applications/MacXinPro/IDMLExportparse.sh

    or modify the JavaScript code for:

    shell("sh "+myFile);
    
  • How to run and pass parameters to the exe file in the txt file.

    Hello

    I am facing problem with passing parameters in the .exe file, which is run by labview.firstly that I have script .txt with the settings that I have to go to the .exe file. This .exe file is also a software, and this script is written for her. And now I have to create program in labview which should satisfy the following points.

    1. I have to use a button named "Run script". If I pressed the button, it should open the browser where I can choose the script .txt file.

    2 .exe application is expected open(Path already chossen).

    3. After passing the .exe application settings should be closed.

    4 and labview should now update its parameter

    I just open using Exce.vi .exe file, but I didn't get any idea to do more than this.can someone please help me?

    Thanks norbert. CAN I love it? What should I change now? VI attached below...

  • I accidentally put to run the exe with adobe PDF viewr files and can't find how to cancel it

    I was running an exe file and accidentally did something and now he's trying all the files with the adobe PDF Viewer running and I can't undo. Help, please.

    See this tutorial.

    http://www.sevenforums.com/tutorials/19449-default-file-type-associations-restore.html?filter [2] = file Folder settings

Maybe you are looking for

  • Tip: Uninstall QuickTime for Windows

    iTunes has not invoked QuickTime for several versions and in most cases it is unlikely to have contained or visit the websites where it is needed. Ideally, you should uninstall QuickTime without delay. See Uninstall QuickTime 7 for Windows - Apple su

  • Start page does not update after you run the update

    Run the update, on shows 9.0.1 and up-to-date... but everytime I open the browser, it shows that I'm behind and that you need to update? I refreshed, etc... always won ' accepts that I'm updating

  • NB200-h-13 - no response from the DNS server and gateway

    Hello I have netbook NB200-h-13 with XP SP3. Its impossible to connect to wireless internet and the error messages areHE DIDN'T THERE WAS NO RESPONSE FROM THE DNS SERVERHE DIDN'T THERE WAS NO RESPONSE FROM THE DEFAULT GATEWAY The connection with the

  • recovery of wear of battery

    incredible, it works. my 500 Yoga wear 5% after only 2 months of Lenovo store. It's 45000mWh to 42840mWh within 2 months new. I do google all day. and voila, 1 click of the gauge of the energy system reset, extend the battery to 43970mWh. It takes ju

  • New email address

    How can I transfer my existing folders in the Inbox of the old email address? Im not very literate pc and don't understand all the jargon! for example 'export of the files' if someone can tell me in simple terms.