HOST + VBSCRIPT in forms 9i

Hi,
In forms6i, i use the host command in order to execute a vbscript with a dialog box.
host('msg.vbs');
It works correctly.
But with forms9i, i can't execute my script with the same command line.
Could you help me?
Thanks,
Lionel.

In Oracle9i Forms the host command executes on the server side. If you want to use host on the client have a look at WebUtil - there is a link to it from the Oracle Forms home page at http://otn.oracle.com/product/forms

Similar Messages

  • Host command in forms 10g

    hi all
    i am using host command in forms 10g. but it is not executing .
    is there any distinct syntax or pre-requirement for executing this command
    kindly help
    thanks

    i am using the following code create a text file in root directory.
    the textfile should contain the list of folders,files present in the root directory.
    XCMD:=NULL;
    XCMD:='CD\' ;
         CLIENT_HOST('CMD /C' || XCMD);
    XCMD:='dir >C:foldnm.txt' ;
         CLIENT_HOST('CMD /C '|| XCMD);
    but the file is creating in the specific users directory. ie.
    \ documents and settings\username\desktop
    kindly help

  • Showing Host string at form

    I would like to show host string at form (login Screen), Please suggest. (forms 6i)
    Thanks
    Ahon
    Edited by: [email protected] on Oct 13, 2009 6:32 AM
    Edited by: [email protected] on Oct 13, 2009 6:37 AM

    Hi,
    You can do something like this.
    DECLARE
    v_connect_string varchar2(40) := GET_APPLICATION_PROPERTY(CONNECT_STRING);
    BEGIN
    IF v_connect_string = '<YOUR_TEST_DATABASE_INSTANCE_NAME>' THEN
      :<YOUR_BLOCK>.<YOUR_ITEM> := 'You are connected to test instance';
    ELSE
      :<YOUR_BLOCK>.<YOUR_ITEM> := 'You are connected to production instance';
    END IF;
    END;You can put this code in your WHEN-NEW-FORM-INSTANCE trigger. Change the instance name and block.item name according to your need.
    -Arun

  • Is there anything like HOST command in Forms in Reports ??

    Hello everybody
    Is there any command in reports like a HOST command in Forms through which I can call a system command.
    My goal is I want to invoke a shell script from my report that will run in the background, do few things and come back to the report once a button is pressed.
    Thanks in advance :-)

    You can4t use the host command, but there is a solution available if you are running 8i with java see http://technet.oracle.com:89/ubb/Forum3/HTML/003262.html
    or
    http://asktom.oracle.com/pls/ask/f?p=4950:8:102326::NO::F4950_P8_DISPLAYID,F4950_P8_B:150612348067,Y
    Hope that will help you

  • Host a custom form on E-Business Suite Forms Servlet

    Hi.
    Is it possible to host my own form using the Forms engine integrated with E-Business Suite?. is this a good idea? or do i have to setup another forms servlet?
    I'm trying it with one form with a menu. I just Copied the mmx files and fmx files where all the fmx files of EBS suite reside. or do i need to recompile it inside linux forms compiler (adadmin) using .pll plx, fmb files?
    I manually type the url "domainname.com:8000/dev60cgi/f60cgi?formname.mmx?user=username?password=password"
    where user, password = database user (not apps user)
    when i did this, it still launched the applet but still goes to the main form of EBS? and the custom form doesn't get called..
    regards,
    anton

    I think you can do it.
    Should look in appsweb.cfg configuration file. usaually in $COMMON_TOP/html/bin
    ; 1) Runform Arguments
    ; The module argument defines the first form to be started.
    ; It is composed from parameters %prodTop%/forms/%lang%/%formName%
    ; The default looks like $APPL_TOP/fnd/<version>/forms/US/FNDSCSGN
    ; Following parameters and prodTop are used for composing module.
    ; Note: Personal Home Page modifies the lang setting automatically.
    formName=FNDSCSGN
    lang=US
    Forms servlet is just a mechanism to start the f60webmx processes on the application server (which also has the Forms listener servlet). So you will not need a seperate servlet in your case.
    HTH
    Bansi

  • How many hosted web response forms allowed per month or per year with monthly and yearly plans?

    I am trying to pick out the right membership plan for us and the monthly plan and yearly plan allow a ceretain number of forms, however the membership materials do not clearly state how many hosted web response forms are allowed in each plan whether it is monthly or yearly? I need the answer before we decide

    With the Basic plan you can have up to 5 online forms at any given time. There is no quota per month or per year. If you need to create a another form after your reached the quota then just delete one of the other form first. There is no quota for the Plus plan.
    Same is true for the maximum responses. You can always export and delete responses to receive more if you have reached the maximum number of responses the plan allows.
    Not that the Plus plan comes cheaper per month than the Basic plan but this is because you get a discount for commiting for the whole year.
    Gen

  • Host command in forms/reports

    Is there a host command in reports 6i? I used this in forms 6i. When I tried to use in Reports 6i, I received a compile error.
    basically all I need to do is to get directory information. This can be easily done in forms using the host command. Is there any built in package or function to achieve this in reports?
    thanks

    there is no "host" command in reports 6i (or earlier versions). you might want to consider using forms+reports combination (calling the report from within a form, in which you can execute the host command and do whatever you want to do, then pass the related parameters to the report). I am using this approach to handle some complex end user reporting requirements.
    hope this proves useful
    regards

  • HOST command and Forms 4.5

    We were using HOST command(to start SQL Plus) in one of the form of our application (forms version 4.5) and this application was running fine on Win NT. Now this application is moved onto Windows 2000. Now we noticed that once the HOST command statement is executed, the application goes into hang and has to terminated. We fixed this problem temporarily by putting a message() and pause statement before and after HOST command statement and the application is running fine. I would like a better solution to this problem. If anyone has encountered this kind of problem or any idea, please reply.

    Hi, there,
    I have the same problem with my program. Have you figured it out the solution? and if not, could you show me the code of your temporary fix? my email is: [email protected]
    Thanks
    We were using HOST command(to start SQL Plus) in one of the form of our application (forms version 4.5) and this application was running fine on Win NT. Now this application is moved onto Windows 2000. Now we noticed that once the HOST command statement is executed, the application goes into hang and has to terminated. We fixed this problem temporarily by putting a message() and pause statement before and after HOST command statement and the application is running fine. I would like a better solution to this problem. If anyone has encountered this kind of problem or any idea, please reply.

  • Help with the HOST and START, forms 6i

    Hi i like open to image with de Host and Start in Forms 6i.
    For example Host('start '||:path||'', NO_SCREEN ); -> is correct if the path is c:\ ... but if the path is more longer with space in white for example C:\Documents and settings ... i put the quotes "C:\Documents and settings ..." but Doesn't open the image, another window (MSDOS) open... :S

    Hello,
    Try this:
    Host('cmd /c START "" "' || :path || '" ');Francois

  • Host for Web Forms

    Can anyone tell me how to provide a "HOST" type function that will run on local client, rather than on the server when using web forms?

    You can achieve this with a signed Javabean in your Form that can call programs on your client (there is a metalink note on this).
    We are currently working on such a bean that we will offer on OTN in the next couple of weeks probably.

  • Host Header Flash Forms Problems

    Hello,
    I'm running CFMX 7.01 on IIS 6, Windows 2003 Server....
    I've created an intranet application that uses several flash
    forms. The site is located in the folder of
    C:\Inetpub\wwwroot\CorpComWeb. This can be referenced from the
    Default website by
    http://sandy/corpcomweb/ OR
    http://CorpComm (after adding an
    internal DNS host header and then referencing it in Website -
    Advanced - Host header value). This works great for every page
    EXCEPT the two pages that contain CF Flash Forms. When I try to
    access these pages using
    http://CorpComm/flashformpage.cfm it spins into infinity (no
    error just never loads). If I access the page by
    http://sandy/corpcomweb/ the
    page loads fine.
    Any ideas as to why this would be?
    Thanks in advance!

    Ok, stupid mistake on my part.
    When creating the new site in IIS, I forgot to add a virtual
    directory pointing to CFIDE...

  • Hosting an Oracle Forms Website

    Hi. I'm looking for a hosting service that might allow me to provide internet access to about 1,000 folks around the U.S. I'd want these folks to be able to run a few of my Oracle web forms and store data in a small Oracle database. Then daily I would export the data and load it to our larger intranet Oracle database. Does anyone know of a business that could provide me such a service?

    Actually, the red tape in openning a server to the internet is simply overwhelming at our workplace. So I'm looking for a third-party provided that could host. Do you know of any?

  • Getting Host Name From Forms 6i (deployed in 10g AS)

    Hi,
    I need to get the host name of client while launching my application. I am using forms6i. So I cannot use webutils.pll for the same. But in the below thread I have read that Webutil.pll has been modified to use with FORMS 6i also. Can anybody send me webutils.pll which can be used with Forms 6i
    Re: Converting to Webutil? 6i and 9i equivalents.
    Its an urgent requirement
    Any help is appreciated.
    Thanks

    Hi,
    I have tried sys_context and java class option already ..but in vain :(..
    Let me explain my problem in detail.
    My database server(Oracle 10g) is in HOSTA
    My appserver (Oracle 10g AS)resides in HOSTB
    And user launches the application from HOSTC
    My requirement is to get the host name of the user while he launches the application. ie HOSTC in this case.
    If I am trying with java.net.InetAddress.getLocalHost().getHostName(); I am getting the value HOSTA(Host name of Data base server)
    If I am trying with SYS_CONTEXT I am getting HOSTB(Host name of appserver)
    And my requirement is to get HOSTC !!!
    I have read that if Webutil_clientinfo.get_host_name is used I can get the host name of client machine. But since I am working with forms 6i , I can't use Webutil.
    please help me if you know any way to achieve the same in forms 6i

  • Calling sqlldr using host in a form using 10gAS

    Hello.
    I am trying to run sqlldr from a form using the host procedure.
    The problem is that the sqlldr never runs...
    If I try to run the command manually everything works ok.
    Code from the form:
    V_NAME := 'FACTURACAO.CMD';
    V_HANDLE_C := UTL_FILE.FOPEN ( V_PATH, V_NAME, 'w' );
    UTL_FILE.PUT_LINE ( V_HANDLE_C, 'SET PATH=%PATH%;c:\oracle\ora817\bin' );
    UTL_FILE.PUT_LINE ( V_HANDLE_C, 'SET ORACLE_HOME=d:\oracle\ora817 ' );
    UTL_FILE.PUT_LINE ( V_HANDLE_C,
    'sqlldr userid=user/pwd@database control='
    || V_PATH
    || '\FACTURACAO.CTL log='
    || V_CAMINHO
    || '\LOG\log_'
    || V_FICH
    || '.LOG ' );
    UTL_FILE.FCLOSE ( V_HANDLE_C );
    /* Launch SQLLoader to import the file */
    HOST ( V_PATH || '\FACTURACAO.CMD ');
    The batch file appears to be correct and if we try to run it in the command prompt everything is executed correctly.

    I have tried it.
    It appears that sqlldr is called but nothing happens.
    It works if I try to execute "cmd /c file.bat" from the command prompt.

  • Call HOST command FROM FORMS 4.5 AND 6.0

    I have a problem that I found out about yesterday, and have no idea how to fixe it.
    I created a form to run on form 4.5.9.7 In this form i call up the host command, but it does not work properly, because by using the host oracle stops there until i close the application that i called with the host, it hangs there. But now it doesn't do it, once the host is executed, it continues the rest of the code that i have, which should not.
    On the same computer i created another form on forms 6.0.5.2 and call the host command again, and finally it worked perfect! I mean until the program called by host command is running forms does not continue, it hangs there.
    Could someone explains me that please, is there some patch I need on forms 4.5?
    null

    We converted forms from 4.5 to 6.0. Basically all you have to do is recompile the forms. but, the very first thing you have to do is recompile all the libraries. The forms will not work if you don't recompile the libraries first. So, open and compile the libraries in 6.0, then open and compile the forms in 6.0. They should then work fine. If they do not, try deleting and reattaching the libraries and compile again.
    Good luck.

Maybe you are looking for

  • Designing the table grid in subscreen in a selection screen..

    Hi all, Actually my requirement is there is a check box in the selection screen,If its checked then we have to display a subscreen with the details "Emp type"      "Empname"        "Monthly"      "Yearly"    PM                Glen                 500

  • What is SE10 is used for ??

    Hello guru's    I have three clients through SE10 i can see all the transport request of all the clients from whichever client i log in. Is it correct?? or there is some setting problem?? Thanks and Regards, Rahul

  • Add 'export to excel' button !!

    Hi All, i need to export my query output from bex analyzer to excel....so i need to add an 'export to excel' button....so that user can easily export it to excel....this option i can do in WAD....but in analyzer how to do it ? Regards, Ashutosh

  • Still cannot change radio caption color by script

    Hello, I've been trying to follow advice seen in other threads when developers wanted to inactivate radio button choices by script, and also turn the caption grey. What I'm finding is I can deactivate the choice but I just cannot turn the caption gre

  • Alerts & Warnings in GP runtime work center

    Hi all, can any one explain me how to trigger the alerts and warning in GP runtime work center and what are the basic setting needed to be done to get alerts. what are the suitations that will lead the process to come under the Erroneous Processes an