Working with Host built in in forms

Hi everybody,
I am working on form in which i created menu. That menu has submenu called 'Service desk. when user click on 'service desk' it take the user to weblink which is opened in mozilla firefox.. I used host built in to launch mozilla firefox. It works fine.
The next functionality i want that is when firefox is not installed on system then it will populate message to user "Please install firefox". How can i check with oracle forms whether firefox is installed in system or not. Is there any way to do it?
I am using solaris 9 and forms 6i.
Please help me on this.

Can you be more specific about your environment? You are using 6i and the host command, so I assume you are using 6i in client/server mode. Is that on Windows? What are you running on Solaris?
If the client runs on Windows, you can check the registry for the default browser with Win_Api_Environment.Read_Registry. You will have to Google a bit to find out which key is used to specify the default browser.
You can also check where Firefox is installed with registry path HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox\3.5.5 (en-US)\Main and registry key PathToExe.
It should be something like this:
declare
  v_firefox   varchar2(100);
begin
     v_firefox := Win_Api_Environment.Read_Registry
       ('HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox\3.5.5 (en-US)\Main'
       ,'PathToExe'
       ,true);
  message('Firefox is installed on: '||v_firefox);      
exception
     when no_data_found then
       message('Firefox is not installed');
end;

Similar Messages

  • Which IM programs work with my built in camera?

    Basically just looking for which im programs will work with the built in cam on my macbook, i know of course that apples ichat works but i dont have a .mac account and dont intend on one at the moment.
    Also if anyone knows, my wife and I share the macbook at home, we have separate user accounts, how would we be able to share our photos across users, ie, we want iphoto to include the photos ether of us add as accessable by the other using iphotos and have them in the iphoto library, infact would would simply like to just have one photos and one videos and one music folder from which we both access and add to.

    Greetings,
    A dedicated shared folder setup under the main "Users" folder that holds all user accounts with access permissions assigned for both of you will work very well. There is a small little app called "iPhoto Buddy" that is a great little tool that's made for managing multiple iPhoto libraries.
    SightSpeed is a very good IM video program for video chat/conferencing - I have used it since it came out and it is cross platform. You can use about any email address as a user name, and the quality is very good - it has many functions, but is very simple to use.
    Good Stuff - Cheers.

  • Using HOST built-in in Forms under an AIX O/S

    Hello,
    I need to use the HOST built-in inside a form under an AIX O/S, but it doesn't work. I have tried some different options:
    a) HOST('cp /xx/xx/xx/file1.txt xx/xx/xx/file2.txt');
    b) HOST('sh cp /xx/xx/xx/file1.txt xx/xx/xx/file2.txt');
    c) HOST('ksh /xx/xx/xx/file1.txt xx/xx/xx/file2.txt');
    d) HOST('/usr/bin/cp /xx/xx/xx/file1.txt xx/xx/xx/file2.txt');
    (NOTE: The files are referenced with the absolute path).
    Why it doesn't work?
    It seems that the cp command is not found when i execute it. When I put this instruction in a Windows O/S it works perfectly puting 'cmd' at the beginning of the literal, because of 'cmd' is the command.com for windows.
    Maybe I don't know what is the command.com for AIX?
    Could you help me?
    Thanks.

    Hello
    What Gerd was getting at is where you had:
    cl := '"C:\Program Files\Internet Explorer\iexplore.exe" http://springfield01:7777/forms/frmservlet?form=sas2.fmx&userid='||user||'/'||get_application_property(password)||'@fc';
    host(cl,no_screen);
    replace the code with:
    cl:='http://springfield01:7777/forms/frmservlet?form=sas2.fmx&userid='||user||'/'||get_application_property(password)||'@fc';
    web.show_document (cl,'_blank');
    This will open a new IE window with the url you requested.
    You could alternatively if you already have webutil installed just replace
    host(cl,no_screen);
    with
    client_host(cl,no_screen);
    Though logically the having to have "C:\Program Files\Internet Explorer\iexplore.exe" in your code defeats the idea of a web application. I would go for the first option because you don't care where IE is on the machine.
    cheers
    Q

  • Can't get Target Disk Mode to work with host computer

    Here's the problem. My Powerbook G4 went down a week ago (it's 7 years old) and I suspect the problem is either the hard drive or the portion of the logic board controlling the drive. I also have a Power Mac G4 400 that's running OS 10.4 Tiger. I've been trying to extract some files (that I failed to back up) from the Powerbook via Target Disk Mode using the older Power Mac as the host, however the target disk doesn't show up on the host screen. When I boot up the Powerbook holding the T key, it chimes and the FireWire symbol shows up like it's suppose to, but that's as far as goes. I plan on upgrading to a newer Mac, which would probably work better as a host, but money is a bit tight right now. Any suggestions would be appreciated.

    If the trouble with the Powerbook is either a failed hard drive or a failed hard drive controller, FireWire Target Disk Mode isn't likely to work with any host computer. What you may want to try is installing data recovery software on the desktop G4 and seeing whether it can see the Powerbook's drive (connected in FWTDM) even though it won't mount. Data recovery software is often able to salvage data from drives that won't mount normally; it may be able to do the same thing via FWTDM.
    These three DR utilities are all available in free downloadable demo versions that will show you what the full version would be able to recover before you have to pay for anything:
    Data Rescue
    FileSalvage
    VirtualLab
    Good luck.

  • ShowDocument not working with Host name in IE

    I have the following applet code:
    try
         URL NodeURL = selectedNode.getNodeURL();
         if (NodeURL != null)
    String pageName = selectedNode.getNodeURLTarget();
    getAppletContext().showDocument(NodeURL,pageName);
         } catch (Exception e)
    System.out.println("6.mousePressed Execept = ");
              e.printStackTrace(); // fps '04 uncommented
    Html page.
    <html>
    <head>
    <title>Module Home Page</title>
    </head>
    <frameset cols="33%,*">
    <frame src="http://11.2.2.125/java/WebViewTree.html" name="treedisplay" marginwidth=0 marginheight=0>
    <frame src="GenInfo.html" name="pagedisplay" marginwidth=5 marginheight=5>
    </frameset>
    </html>
    When I bring up my webpage via IP(http://11.2.2.125) everything is ok. If I use the host name (http://davehost) the page does not get displayed in the frame named 'pagedisplay'.
    Now this only happes with IE (6.0 sp2) it works with Netscape.
    I notice the following:
    If I change the code to use getAppletContext().showDocument(NodeURL,'_blank'); it actually pops up a new window and works ok.
    I noticed that the browser never sends the 'GET' when executing the showDocument.
    Any one notice this or notice someting I am doing wrong.
    Thanks,
    Frank

    Hard coding the ip is not a good practice more over try using the relative path
    such a ..\ for directory..
    and i believe that the ip need not be specified when you are deploying it on web server.

  • IM not working with hosted domains

    My IM working with default domain within portal and from jnlp site but with my hosted domains is not signing in. I have IMS 7.1 (patched) Sun JES 2005Q4
    It dont even generate any log for hosted domains.
    IM log set at DEBUG level.
    Does IM 7 support hosted / virtual domains in only one IM instance (single install)

    I dont know much about it because there is no log fot failure logins. It simply working with default domain but not for any hosted domain. I also followed following.
    * cd /opt/SUNWiim/html/en/
    #vi im.jnlp
    Add the following in the im.jnlp just above the </resource> tag
    <property name="com.iplanet.im.client.allowarobase" value="true" />
    * Redeploy im resources into the web-container with recent changes
    * Now launch the client from http://<hostname>:<webport>/im/en/im.jnlp
    and then login as [email protected]
    How do i Redeploy im resources into the web-container with recent changes

  • Does the Ipod nano 5th gen. work with the built in microphone on Skullcandy  headphones?

    I want to buy a pair of Skullcandys with a microphone in them, but it wouldnt make sense to pay the extra money for a microphone if my iPod wont work with it. Has anyone ever tried it or know if the headphones would be compatible with the iPod

    I would check with Skullcandy's support site. They should be able to provide the most accurate answer.
    B-rock

  • Reader 9.3.1 not working with FormCalc in LiveCycle 8 forms

    My agency has recently upgraded to Adobe Reader 9.3.1. I have a fillable form I created using Livecycle Designer 8 in Acrobat Professional 8 and distributed to agency staff using the "distribute" function in Acrobat Professional 8. The form includes formcalc scripts that use the DocReady and other events to create a unique identifier comprised of data from the form, and to calculate totals. The formcalc scripts work as long as the form is opened in Acrobat Professional 8 or Adobe Reader versions prior to 9.3.1, but don't seem to fire at all with Reader 9.3.1.
    I've been told by my agency IT staff that I need to upgrade, but before I go to that expense, I'd like to know whether this is necessary or guaranteed to fix the problem. I've also seen other posts that suggest that that Acrobat 9 handles exporting the data differently (no longer exporting to a .csv file) and that also concerns me, as I've set up automated processes using the .csv output. Upgrading may introduce new problems, for all I know.
    It seems unlikely that Adobe would intentionally make Reader 9.3.1 not backwards-compatible with forms created using older versions of LiveCycle, as that would cause hugh headaches for their customers, so I'm wondering if this is a bug that will be soon fixed?
    Thanks, Alice

    Hi Alice,
    I really don't think the problem is using LC Designer 8. We have several forms that were developed in LC Designer 8 (with FormCalc and Javascript), that still function in Acrobat/Reader 9.3.1.
    There are two potential issues. The first is the most likely.
    In the new installation of Reader 9.3.1, JavaScript is turned off. See this blog and sample: http://blogs.adobe.com/livecycle/2009/02/adobe_reader_disabled_javascri.html
    If you send the sample to the agency, a warning will appear if they open it and Javascript is turned off. When they turn javascript back on in the preferences, then your form should work again.
    The second issue can be a little more trouble. Adobe have introduced a new Javascript Blacklist Framework in Acrobat/Reader 9.3.1, which can disable FormCalc and JavaScript if it contravenes the framework. See these links:
    http://kb2.adobe.com/cps/504/cpsid_50431.html
    Managing JavaScript Execution in the Acrobat Family of Products
    As I say, unless your FormCalc is trying to access external resources, I suspect that Javascript is turned off in Reader. I don't think you have to upgrade Acrobat/LC Designer.
    Hope that helps,
    Niall

  • Working with JTable in intelliJ  in forms

    hi,
    iam trying to create a JTable using forms,can anyone pls tell me how to add rows and columns to it ?

    Hi Alice,
    I really don't think the problem is using LC Designer 8. We have several forms that were developed in LC Designer 8 (with FormCalc and Javascript), that still function in Acrobat/Reader 9.3.1.
    There are two potential issues. The first is the most likely.
    In the new installation of Reader 9.3.1, JavaScript is turned off. See this blog and sample: http://blogs.adobe.com/livecycle/2009/02/adobe_reader_disabled_javascri.html
    If you send the sample to the agency, a warning will appear if they open it and Javascript is turned off. When they turn javascript back on in the preferences, then your form should work again.
    The second issue can be a little more trouble. Adobe have introduced a new Javascript Blacklist Framework in Acrobat/Reader 9.3.1, which can disable FormCalc and JavaScript if it contravenes the framework. See these links:
    http://kb2.adobe.com/cps/504/cpsid_50431.html
    Managing JavaScript Execution in the Acrobat Family of Products
    As I say, unless your FormCalc is trying to access external resources, I suspect that Javascript is turned off in Reader. I don't think you have to upgrade Acrobat/LC Designer.
    Hope that helps,
    Niall

  • How to work with two blocks in one form

    i need help,i moved the control from block(abc) to another block(xyz) using go_block('xyz') and then i insert record to block(abc) but the record is not inserted to the table .
    i used previous_block but it is not working
    how to use it.

    Hi,
    You have written the code in when-window-activated? If yes then as soon as the window of xyz is activated the code starts running and populating the data (i.e. department code and its name) from table to the block, one by one. It seems that the block 'xyz' is like detail block. Am I right? U want the record row by row, isn't it?
    In this case, have you been able to populate your xyz block more than 1 records by the help of the code you have written ? If yes then use commit_form in the when-button-pressed trigger associated with the proposed button.
    I just can't understand how your code populates xyz block when you are writing :
    fetch DEPARTMENT into :DEPARTMENTS.DEP_CODE,:DEPARTMENTS.DEP_NAME;
    instead of fetch DEPARTMENT into :xyz.DEP_CODE,:xyz.DEP_NAME;
    Pls tell me the detail result you r getting.
    Regards,
    Pragati.

  • Skype not working with my built in camera

    Hello, I recently purchased a new computer with Window's 8.1 on it. Neither my desktop or installed version of skype are allowing me to selected the built in camera as an option. Thanks.

    Okay
    Attachments:
    DxDiag.zip ‏15 KB

  • XIM does not work with mozilla built firefox binary.

    I am using tinycorelinux 5.0.2, which only contains firefox 21. I downloaded firefox esr (24.1.1). It ran well.
    Now I am trying to use SCIM (1.4.14) with it. The SCIM works fine with firefox 21 and xterm.
    But in this mozilla prebuilt version, I cannot even call out SCIM by hotkey Ctrl + Space. And no error message in commandline output.
    What should I do?
    BTW: I cannot execute this version in Ubuntu Precise 64bit at all. So I cannot verify if it was other parts fault.

    Quote:
    <blockquote>
    * You mention XIM in the title what is that ?
    * and SCIM ?
    </blockquote>
    *http://en.wikipedia.org/wiki/Smart_Common_Input_Method

  • Working with radio groups in tabular forms

    Since this isn't documented properly in the help, I figured I'd drop the question here. I have a field in my table that I want populated based on a radio button. I can set up the radio button, but I cannot get it to display based on the value. this is the decode statement I am trying to use
    decode(da.isdefault,
    NULL,htmldb_item.RADIOGROUP(1,da.isdefault,'NULL','Open') ||
    htmldb_item.RADIOGROUP(2,da.isdefault,'0','Preferred') ||
    htmldb_item.RADIOGROUP(3,da.isdefault,'1','Default'),
    1,htmldb_item.RADIOGROUP(1,da.isdefault,'NULL','Open') ||
    htmldb_item.RADIOGROUP(2,da.isdefault,'0','Preferred') ||
    htmldb_item.RADIOGROUP(3,da.isdefault,'1','Default'),
    0,htmldb_item.RADIOGROUP(1,da.isdefault,'NULL','Open') ||
    htmldb_item.RADIOGROUP(2,da.isdefault,'0','Preferred') ||
    htmldb_item.RADIOGROUP(3,da.isdefault,'1','Default')) "Status"
    If NULL, I want "Open" selected, if 1 I want "Default" selected, and if 0 I want "Preferred" selected. Any suggestions on how to get this working properly?
    Thanks,
    Scott

    Anyone have a suggestion for this? My boss wants this set up ASAP. I set all the indexes to the same. My values are all coming up as NULL. Any help would be greatly appreciated.
    Thanks,
    Scott

  • Work with dynamically built list of commandLinks

    Hi
    I'm using JDeveloper 12.1.2.2.0
    Description:
    I have a simple page:
    <af:form id="f1">
      <af:panelGroupLayout id="pgl1" layout="vertical">
        <af:forEach items="#{Bean.panel}" var="item">
          <af:commandLink text="#{item.caption}" id="cl1" actionListener="#{Bean.handlePanelAction}"/>
        </af:forEach>
      </af:panelGroupLayout>
    </af:form>and a request scoped managed bean:
    public class Bean {
        private List<Link> panel;
        public Bean() {
            super();
            panel = new ArrayList<Link>();
            Link link = new Link();
            link.setId(435);
            link.setCaption("Link 1");
            panel.add(link);
            link = new Link();
            link.setId(856);
            link.setCaption("Link 2");
            panel.add(link);
            link = new Link();
            link.setId(768);
            link.setCaption("Link 3");
            panel.add(link);
        public void handlePanelAction(ActionEvent actionEvent) {
            System.out.println("Hello");
        public void setPanel(List<Link> panel) {
            this.panel = panel;
        public List<Link> getPanel() {
            return panel;
    }Link is a class which has two fields: id and caption.
    So, the question is what is the best way to know the id of link clicked on the page? I can write id of links to the shortDest attribute of commandLink component (shortDesc="item.id"), but I think it's not a good idea.
    Evgeny Michuk

    Hi,
    if you want to identify which link has clicked by user in Backing Bean
    this is code
    <af:panelGroupLayout id="pgl1" layout="vertical">
    <af:forEach items="#{Bean.panel}" var="item">
    <af:commandLink text="#{item.caption}" id="cl1" actionListener="#{Bean.handlePanelAction}">
    *<f:setPropertyActionListener target="#{pageFlowScope.selectedLink}"*
    *value="#{item.caption}"/>*
    </af:commandLink>
    </af:forEach>
    </af:panelGroupLayout>
    in the below line , i am just copying the caption value to pageFlowScope variable.
    in the backing if you see this variable value and we can say which link user has clicked.
    *<f:setPropertyActionListener target="#{pageFlowScope.selectedLink}"*
    *value="#{item.caption}"/>*
    BackingBean Code should be :
    Object selectedLink = ADFUtils.getAdfFacesContext().getPageFlowScope().get("selectedLink");
    Thanks,
    Annapareddy S.

  • Does Microsoft Wireless Entertainment Desktop work with built-in BT?

    Hi guys,
    I was wondering if the Microsoft Wireless Entertainment Desktop 7000 (keyboard and mouse bluetooth combo) is working with the built-in bluetooth module (Satellite A300-1QM). Any experience anyone? I'd like to know if I have to use the bluetooth dongle (usb) that comes with the wireless desktop or if I can use the built-in Toshiba bluetooth.
    Thanks in advance,
    bedhead.

    Hi guys,
    thank you for your replies. I can now confirm that it works with the built-in bluetooth!
    Happy Happy Joy Joy!!
    Cheers,
    bedhead.

Maybe you are looking for

  • Line Items

    Hi All, I would like to know why the Doc. number ( or order number) is considered as a Line item dimension whereas others are not? I know this is being a high cardinality but, what exactly it does to increase the size of the dimension table? If someo

  • How to modify the cursor palette size in a waveform graph programmaticaly in LabVIEW8

    In previous version of LabVIEW it vas possible to create reference to cursor panel (array) so it was possible to resize, change number of rows, in it. It will be useful for me to have reference to TreeControl contained in cursor legend. How to create

  • Help!!  Since installing win 7, A notice comes up that says" cannot find network adapter".

    I already started over and partitioned twice with same result.  Before I needed more space and had to allocate more gb it worked fine for over a year. Now I cant even get online wirelessly!!

  • Should I use Sub-Equipment Hierarchy for sub-systems (first post)?

    I am 2 months into the maintenance manager role for a fleet of Locomotives and it has been decided to use SAP PM by senior management based on a separate business arm requirements. I believe for this to be successful the first step is to get the stru

  • SAP HANA Bulk Repo activation

    Hi I am facing an issue when trying to activate multiple objects in a package. For example, if a master package has about 100 HANA repository objects split across many sub-packages. When we import this package into our HANA studio from a Delivery uni