How to call .exe

Hi
How can I call a .EXE file from forms. Think that When I pressed a button I want to execute notepad application.
Thanks
null

You can also use the D2KWUTIL32.pll and use the WIN_API_SHELL.WINEXEC function.
It will be like this :
WIN_API_SHELL.WINEXEC('NOTEPAD.EXE', WIN_API.SW_SHOWMAXIMIZED,TRUE);
Hope this helps you.

Similar Messages

  • How to call exe programs

    hi all,
    just wanted to know how to call exe (like system calculater etc)from my form.i am using forms6i.
    thanks
    shakeel

    You can look up HOST in the online help in the builder. For CLIENT_HOST, look at WebUtil, which you can find by going to the Forms page on OTN: http://www.oracle.com/technology/products/forms/index.html
    Regards,
    Robin Zimmermann.

  • How to call exe file as a link in oracle portal

    I have an executable file (.exe) that I would like to call as a link from portal. I've uploaded the file and can click it and the executable runs. However, I'd now like to be able to pass a URL as a parameter to the executable file and still have the executable run. Any ideas on how I can accomplish this?

    No.
    However I might try writing a PHP page and use shell_exec inside to pull it off.
    http://www.chipmunkninja.com/Program-Execution-in-PHP%3A-exec-m@
    You could link or redirect from the portal to the php page and even have the php send you back to the portal.

  • How to call exe files from APEX

    Hi all,
    How to invoke or call some exe files like word or yahoo messenger from oracle apex ?
    Apex 4.2.2
    DB 11g
    Thanks

    956320 wrote:
    How to invoke or call some exe files like word or yahoo messenger from oracle apex ?
    Apex 4.2.2
    DB 11g
    Apex is a set of PL/SQL suite of packages and procedures, with tables and so on. This code is called from a web server (e.g. Apache runing mod_plsql) via standard Oracle client-server. The code executes INSIDE the database. The codes creates a HTML buffer. This buffer is read by the web server component that made the call. And send to the web (browser) client.
    That is first and foremost fundamental to understand about Apex.
    Within this context - where is this executable file to be loaded, with which parameters, by whom, and where, to do what exactly?

  • How to call Exe from labview?

    Hello NI,
                        I want to call the exe from the labview.  presently i am using command.vi to open the exe. but it works only with source code. after creating the exe it doesnt work.
    I checked the path of exe.
    do you have any solution for this?  
    Regards,
    Balaji DP

    Working directory should be c:\windows\system32
    copy your winword.exe into that system32 folder and just try this
    Message Edited by mathan on 01-06-2009 03:24 AM
    Attachments:
    untitled.PNG ‏3 KB

  • How to call exe and get returned values ?

    I wanna call pc exe from abap, after calling can i get results from exe ?

    Hi,
    for dos DIR you can use:
      DATA: COUNT TYPE I.
      DATA: WA_TAB_FILE   TYPE          FILE_INFO,
            TAB_FILE      TYPE TABLE OF FILE_INFO.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_LIST_FILES
        EXPORTING
          DIRECTORY  = 'C:\'
          FILTER     = '*'
        CHANGING
          FILE_TABLE = TAB_FILE
          COUNT      = COUNT.
      write: / 'count of files:', count.
      LOOP AT TAB_FILE INTO WA_TAB_FILE.
        WRITE: / WA_TAB_FILE-FILENAME(40),
                 WA_TAB_FILE-FILELENGTH,
                 WA_TAB_FILE-CREATEDATE,
                 WA_TAB_FILE-ISDIR.
      ENDLOOP.
    in CL_GUI_FRONTEND_SERVICES=>DIRECTORY_LIST_FILES there are more posibilities.
    If you have another EXE on PC. Put the output of EXE in an FILE and read thie file via CL_GUI_FRONTEND_SERVICES.
    Regards, Dieter

  • How to call a exe or bat file from java program

    hi,
    i actually want to know that how to call a exe or bat file from program so that i can run them parallely.

    Try this :
    String strCmd = "myFile.bat";
    try
         Runtime rTime = Runtime.getRuntime();
         Process process = rTime.exec(strCmd);
         InputStream p_in = process.getInputStream();
         OutputStream p_out = process.getOutputStream();
         InputStream p_err = process.getErrorStream();
         p_in.close();
         p_out.close();
         p_err.close();
    catch(Exception e) {
         throw new Exception("Unable to start, "+strCmd);
    }

  • How to call an exe program from the JSP page?

    How to call and display the interface from a exe (residing on C: drive) on my JSP page. Our customers supplied us with an exe file and they want this to be incorporated on the JSP page that has other components also, like forms, etc. The interface of the program has to be displayed in specific co-ordinates on the JSP page. Any help is highly appreciated. Thanks in advance.

    Can't be done with JSP.
    JSP runs java on the SERVER only.
    All that gets to client is an HTML page. So all that
    you can do at the client is what an HTML page can do.
    Obviously that doesn't include running a file on the
    client machine.
    Take a look into Applets, or maybe ActiveX controls.Thanks for the reply.
    Any idea on how to use the ActiveX controls in this regard?

  • Please tell me how to call javascript(.js) in my vb exe for adobe illustrator cs.

    Could you please please give some sample codings "how to call javascript in my vb exe for adobe illustrator cs". I called through doscript in my vb program, but some time it throws an error. If i run the script directly in illustrator it does not throws error. So Please advice me how to solve this problem.
    Thanks in advance,
    Prabudass E

    I'm not sure if this helps but it's from the CS4 scripting examples:
    Set appRef = CreateObject("Illustrator.Application")
    Set fileSystemObject = CreateObject("Scripting.FileSystemObject")
    ' Creating a folder browser in VBScript can be a problem (relying on either Windows API calls
    ' or use of ActiveX controls which may not be present on a given system). Instead, use
    ' Illustrator's built-in JavaScript to display a file browser. DoJavaScript can return a value,
    ' in this example it's the platform specific full path to the chosen template file.
    doJavaScript = "var templateFile = File.openDialog(""Select CalendarTemplate.ai file:""); if (templateFile) filePath = templateFile.fsName;"
    myFilePath = appRef.DoJavaScript(doJavaScript)

  • How to Call a Crystal Report from Form 6i?

    Dear All,
    Can anybody tell me how to call a crystal report, designed using Crystal Report 9, in form 6i? I tried one solution by using the host command but it was not working properly. The code I was tried is like:
         f_name varchar2(240);
         f_name :='C:\Program Files\Crystal Decisions\Crystal Reports 9\crw32.exe D:\Form16\Form16_Rep\bin\Debug\Form_16_character_emp.rpt';
                   host(f_name);
    This open the crystal report in design view. So how we call a report which run automatically like in .Net. How to pass the connection info of the database schema?
    Thanks & Regards
    Sunil

    Hi
    First see the built in run_product function.
    You can create a parameter list, add the
    "MAXIMIZE" paramter in it and then call your
    report with run_product passing your parameter list in it.
    hence the called report will be maximized.
    null

  • How to call a VB application from Java

    Hi,
    does anybody know how to call a VB application from java.
    Would appreciate if you can provide me with an example.
    thanks

    try exec()ing the cad program with the name of the file as a command line parameter...
    Runtime.getRuntime().exec("CADProg.exe Test.prt");
    i have no clue if this will work but it seems like it's worth a try.

  • How to run .exe files with Virtual PC for Mac

    Hey Guys, I'm new around here and with mac technology as well. Anyway, I have an iMac OS X 10.5.1 Leopard and I've recently purchased the Virtual PC for Mac 7.0.2 software. So I'd like to know how to use this program properly, because I need to run some executable files in my computer. It is confusing for me because I don't know how to get started, and I only get to the part when it says "OS not found, Install an OS on this hard drive".
    Honestly I've no idea of what an OS is or where do I get that. So I'd really appreciate if one of you guys could tell me, step by step, what to do to use Virtual PC properly, and finally learn how to run .exe files on mac.
    Thanks in advance!
    Have a nice day!

    Always nice to see new faces
    Honestly I've no idea of what an OS is or where do I get that.
    This brings up the second part of your problem. The first part is setting up either a proper Virtual Machine program like Parallels or VMfusion, or setting up a Boot Camp partition on your drive.
    http://www.parallels.com/
    http://www.vmware.com/products/fusion/
    OS stands for Operating System. You are running Leopard 10.5.7 as an operating system on your Mac (MacOS X).
    The second part of your problem - You will need a copy of Windows XP or Vista if you want to run Windows on your Mac.
    There is at least one other solution for running Windows programs on a Mac. It's called "CrossOver" by a company named 'Codeweavers'. It's based on a project for "Wine" to be able to run PC programs on a Mac or Linux, without having to buy or install Windows. It works with a narrow subset of Windows programs so you would want to make sure the program you want to run is compatible with CrossOver before you buy it.
    http://www.codeweavers.com/products/cxmac/
    In addition to all the above information, you need to upgrade your Mac to the latest 10.5.7 from 10.5.1. "Software Update" is located under the black Apple icon in the Menu Bar at the top left corner of your monitor. After you are updated you will want to update your Profile here so that it shows the proper OS version.
    With your level of experience with MacOS X and the Windows OS's you should probably get some help from a local Apple store. They have an appointment system and do offer many types of help and training, and they can offer assistance with choosing the proper programs for you to purchase for your machine.
    You are also welcome to continue to ask questions here, of course. You will want to ask your questions with different issues that come up in different threads so that the answers stay focused on the title of the thread.
    Message was edited by: dechamp to try to be more accurate with a fairly complicated issue...

  • How to call Operating System commands / external programs from within APEX

    Hi,
    Can someone please suggest how to call Operating Systems commands / external programs from within APEX?
    E.g. say I need to run a SQL script on a particular database. SQL script, database name, userid & password everything is available in a table in Oracle. I want to build a utility in APEX where by when I click a button APEX should run the following
    c:\oracle\bin\sqlplusw.exe userud/password@database @script_name.sql
    Any pointers will be greatly appreciated.
    Thanks & Regards,

    Hi Guys,
    I have reviewed the option of using scheduler and javascript and they do satisfy my requirements PARTIALLY. Any calls to operating system commands through these features will be made on the server where APEX is installed.
    However, here what I am looking at is to call operating systems programs on client machine. For example in my APEX application I have constructed the following strings of commands that needs to be run to execute a change request.
    sqlplusw.exe user/password@database @script1.sql
    sqlplusw.exe user/password@database @script2.sql
    sqlplusw.exe user/password@database @script3.sql
    sqlplusw.exe user/password@database @script4.sql
    What I want is to have a button/link on the APEX screen along with these lines so that when I click that link/button this entire line of command gets executed in the same way it would get executed if I copy and paste this command in the command window of windows.
    Believe me, if I am able to achieve what I intend to do, it is going to save a lot of our DBAs time and effort.
    Any help will be greatly appreciated.
    Thanks & Regards,

  • How to get .exe or install file

    Hello! I don`t know English very well and I sorry about them!
    I create a app,how to get .exe/.windows8phonefile or install file? I don`t know how to create developer packages to them.
    I don`t want publish it to Windows Market. It`s my work to the friends.
    How to I get app well file?
    Здравствуйте,уважаемые пользователи!
    Я сделал приложения и хочу получить .exe файл или файл который может воспроизвести Windwos Phone и Windows 8. Я согласен даже на установочный файл. Но у меня скачивается какой-то пакет разработчика и я не могу запустить приложение.
    Я не хочу публиковать приложения в маркет или куда-то ещё. Это моя работа для друзей и узкого круга лиц.
    Как мне получить готовый файл?

    You could simply generate an executable file which is called as a xap
    file. You could either run your application in Debug or
    Release mode.  After you do so, go to your project destination folder for example : YourProject > Bin > Debug or Release > YourProject.xap
    How to create a Windows Phone 8 app package?
    Happy Coding!

  • How to call GUI/Dialog in Acrobat sdk Plugin

    How to call GUI/Dialog in Acrobat sdk Plugin using VC++ here is my code
    ACCB1 void ACCB2 MyPluginCommand(void *clientData)
      HMODULE hAppInst = GetModuleHandle(NULL);
      DialogBox(hAppInst, MAKEINTRESOURCE(IDD_DIALOG1), NULL, NULL);
      HWND hWnd = ::CreateDialog(hAppInst, MAKEINTRESOURCE(IDD_DIALOG1), NULL, DlgProc);
      ::ShowWindow(hWnd, SW_SHOW);

    You can, with care, use Windows API calls in a plug-in. But you have to understand the process of loading resources. In particular, the calls you use try to load resources that belong to the main executable, which is Acrobat.exe. Plug-ins have their own instance handle, which is conveniently stored in gHINSTANCE. 
    In certain cases, especially modeless dialogs, there may be extra calls to make things work properly.
    You do need to know how to use the Windows API, and your sample lines seem confused, unless you intended to first display a modal dialog then open the same dialog as modeless. That's something for another forum,

Maybe you are looking for

  • AR Aging - FAGLL03 - BP Names not available in Layout Column Fields list

    Hi friends, For AR Aging we use FAGLL03 [G/L Account Line Items] for some listed AR GL Accounts with the Baseline Date as the basis to manually age in four periods at the end of Month closing. In the FAGLL03 extract, though BP Number under Vendor Col

  • QuickTime Registration Key doesn't work

    Hi guys, I've recently upgraded to QuickTime Pro and have been sent a registration key. I copy and paste this into the Registration Code box in System Preferences - QuickTime and it says "Invalid Registration". I've tried this a few times over the la

  • How to know the changes made to Quotations & Sales orders?

    Hi all I want to know how we can have the records of changes and alterations that are made in quotations and Sales orders. For example, once the quotation is created and saved, there must have been many alterations either on pricing or in terms & con

  • How to add new price break lines to existing PO quotations?

    Hi, I am using a custom interface (to insert quotations data into PO headers/lines interface tables) and PO documents open interface to create PO Quotations in Oracle. I need to modify this interface to: 1. Update existing price break lines for a quo

  • Time-lapse videos

    Is it possible to create time-lapse videos with iMovie? The images would be imported from iPhone 4 with time-lapse apps such as iMotion HD, Timelapse, Gorillacam or single images made with the normal photocamera. Thanks for support!!