Obtain an program address in the system register

Hi,
how can i obtain an program adress, in the Windows system regestry, in Forms 4.5.
I want call from Forms 4.5 an program (.exe) but the path isn't always the same.
Thanks
Patrico Rojas

This isn't really a Forms question...
Forms has the ability to call out to the operating system in several ways, one of them being the HOST command. What you actually do is up to you. So if you implemented something to do the task you want, in this case finding a file, then do so, and call it from Forms. You could use a batch file or a create an executable to do it. Then use the HOST built-in to you call your program.
Regards,
Robin Zimmermann
Forms Product Management

Similar Messages

  • Cannot connect to server with ttisqlcs, Failed to retrieve IP address of the system

    Please help me, I installed timesten server and client on different machines in LAN, but with the same user and group - ttadmin:ttgroup
    When I tried to connect to server with ttisqlcs -connStr "DSN=sampleCS"
    The output gave me error messages as below
    connect "DSN=sampleCS";
    S1000: Failed to retrieve IP address of the system. System error: -2
    The command failed.
    Done.
    The related part in sys.ttconnect.ini is set as below
    [192.168.0.206]
    Description=TimesTen Server
    Network_Address=192.168.0.206
    TCP_PORT=53397
    And the sys.odbc.ini
    [ODBC Data Sources]
    sampleCS=TimesTen 11.2.2 Client Driver
    [sampleCS]
    TTC_SERVER=192.168.0.206
    TTC_SERVER_DSN=nredb_ds
    What does it mean by "retrieve IP" ?
    Does it try to resolve IP by the hostname even when I already gave it the ip address?
    By the way I can ping 192.168.0.206 and telnet at port 53397 with no problem.
    Please help me, thanks~

    Try changing your entries as follows and see if it fixes it:
    sys.ttconnect.ini
    [myserver]
    Description=TimesTen Server
    Network_Address=192.168.0.206
    TCP_PORT=53397
    sys.odbc.ini
    [ODBC Data Sources]
    sampleCS=TimesTen 11.2.2 Client Driver
    [sampleCS]
    TTC_SERVER=myserver
    TTC_SERVER_DSN=nredb_ds
    Chris

  • The Program Cannot restore the system partition not enough space

    Hi..,
    When i try to restore my pc using OKR Button, I am getting This Notice from OKR Application.
    "The Program Cannot restore the system partition because there is not enough available space on the hardrive"
    Please help Me ...
    Thanks in Adavance.

    Hi Jaulpellissery,
    Welcome to Lenovo Community Forums
    I’m sorry to hear that the OKR (One Key Recovery) is not working as expected and displaying error message, this issue will occur if any changes are made in HDD (Hard Disc Drive) partition. Please let me know if you have made any changes in the partition space.
    Hope to hear back soon
    Best Regards
    Shiva Kumar
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • The install has detected that the primary IP address of the system is DHCP

    While trying to install Oracle 10g R2 on RHEL 5.4, I got following error during "Checking Network Configuration requirements"
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The install has detected that the primary IP address of the system is DHCP-assigned.
    Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses. However, the primary network interface on the system should be configured with a static IP address in order for the Oracle Software to function properly. See the Installation Guide for more details on installing the software on systems configured with DHCP.
    Can any one please help me resolving it. Thanks in Advance

    Nimish Garg wrote:
    during the installation configure the host to be localhost; 127.0.0.1please explain how and what is the effect ??
    also i wanted to know if I ignore this DHCP related warning, what will be the impact after installation on Oracle Software & DatabaseThe impact will be as in the warning that it gave you ... oracle will not function properly.
    It really doesn't matter if the server is "production" or not. A server needs a fixed IP adddress. The IP address is how other computers (and in some cases, processes on the same computer) locate the server. If the addess is DHCP, then you can never know what the address is because it can change. It would be like you changing your telephone number or email address every day, and still expecting people to be able to contact you.
    127.0.0.1 (aka 'localhost) is a fixed address, but it is also non-routable, which means no other machine will be able to contact this one by using that address. Every computer on the planet has that address. It means "me, myself, and I". A request to that address never leaves the machine from which the request originated.
    You stated earlier that "DHCP can't be changed to Static IP", but why not? Why can't your network guys allocate you a fixed IP address?

  • Process a credit card without having the address in the system

    In R11i we were able to do a transaction on a credit card by passing in the address via the p_pmtinstr_rec parameter without that address being in the system. Now in R12 Payment that record type has changed so it no longer has address as part of that record type. So we were wondering what the solution would be to process a credit card in R12 without having complete TCA data setup for the customers.
    Thanks,
    Tom

    I saw that I wasn't the first person with this problem.

  • How to call a method by specific IP address(if the system has 2 IP address)

    Hi All,
    In my project I have two N220 systems, which has two IP addresses each. Server has the following IP addresses
    172.31.128.93 This IP address connected thorugh HUB
    3.3.3.1 This IP address connected through Crossover cable
    Client has the following IP addresses
    172.31.128.94 This IP address connected thorugh HUB
    3.3.3.2 This IP address connected through Crossover cable
    In server system I bind the RMI registry in the following way
    Naming.rebind ("rmi://3.3.3.1/HeartBeat", this);
    And in Client system I lookup in the following way
    Naming.lookup("rmi://3.3.3.1:1099/HeartBeat");
    Now the problem is, the method in RMI server is not called through Crossover link it is happening through TCP/IP link. Is there any way to call the method by only using Crossover link?
    Please help me with this issue...
    Thanks in advance.

    Hi all,
    In solaris 220 machine i am facing the following problem While executing lookup method.
    If the crossover cable is properly connected lookup method is working fine.
    If the crossover cable is unplugged, lookup method is waiting indefinitely until the cable is plugged in. (Lookup method is not throwing any exception )
    Is there any way to avoid this ?
    Please help me with this issue..
    Thanks in advance...
    Message was edited by:
    rmi_rajkumar

  • How do I change which programs start when the system boots up?

    I want to delete a program from the start up sequence so that the program does not start up automatically.  Suggestions!

    System Preferences - Users and Groups - Login Items - highlight the one you don't want to start up and hit the minus sign.

  • Program exits with the System.exit(3) exit code, help?

    When I ran my program(a simulation for a wind powered vehicle), it suddenly ends with no apparent reason, and returns System.exit(3) exit code.
    I have no Idea what this exit code means, and thus am stuck in the debugging...
    Help is greatly appreciated

    No error messages?
    If not, then you need to search for all instances of
    catch (WhateverException var) {}and replace them with
    catch (WhateverException var) {
      var.printStackTrace();
    }

  • How to write program to list the system directory(content of pc)

    how to write a program that will display all the folder n directory of the pc like:
    +My Computer
    +c:
    +d:                                                                                                                                                                                                                                       

    Copy this line and save it in a file named "dirlist.bat":
    for %%* in (%1) do dir /b %2 %1To use it, change to the directory it's in and at the command prompt type
    dirlist directory [/s] directory is the name of the directory that you want listed.
    /s is optional and will list the contents of all subdirectories also.
    (You didn't say it had to be Java - use the right tool for the job)

  • WdsClient: An error occurred while obtaining an IP address from the DHCP server

    Trying to create and deploy a Windows 7 pro image for Dell optiplex 390s. Getting the dreaded error above when trying to connect to the DHCP. After a couple days of research I've tried injecting drivers, different version of drivers, injecting drivers into
    a different boot image, changing the name and/or deleting the setup.exe file from the image, verified that spanning-tree portfast was enabled on the switch, and edited \windows\system32\startnet.cmd. Everything i've tried results in the error still showing. 
    When running ipconfig it looks like the NIC is not even initializing which leads me to believe it's a driver issue still. I'm out of ideas on this one. Anyone else have any?

    Hi,
    Does the issue occur on other computers? Try to enable the spanning-tree portfast on the Cisco switch.
    Please check out this post:
    http://social.technet.microsoft.com/Forums/en-US/itprovistadeployment/thread/d70a8258-9dd3-4868-9e06-d25de427f3cc
    Tracy Cai
    TechNet Community Support

  • How  can i get the system ip address through d2k/oracle

    hi
    how can i get the I.P. address of the System, whether any builtin function is available oracle/d2k.
    please do needful help

    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:510222107880

  • Hi i wrote a java program for scanning a system for java.exe 's

    hi ,
    i wrote a program which scans the system for java.exe 's and then it captures them in a linked list and then i
    iterate through it for "\\Java\\jdk1.5.0_08\\bin\\java.exe and my aim is to return true in case the linked list contains the string "\\Java\\jdk1.5.0_08\\bin\\java.exe" and stop scanning the system.
    If the linked list does not contain "Java\\jdk1.5.0_08\\bin\\java.exe" it should return false.
    But my problem is the program is continuing to scan the system even if the linked list has "\\Java\\jdk1.5.0_08\\bin\\java.exe"
    Any sort of help is appreciated.
    The code is as follows:
    package com.installanywhere.exper;
    import com.zerog.ia.api.pub.CustomCodeRule;
    import com.installanywhere.exper.SearchTool;
    * @author
    public class eFileTool extends CustomCodeRule {
         /* (non-Javadoc)
         * @see com.zerog.ia.api.pub.CustomCodeRule#evaluateRule()
         @Override
         public boolean evaluateRule() {
              // TODO Auto-generated method stub
              SearchTool searchtool=new SearchTool();
              boolean valueTocheckfor=false;
              valueTocheckfor=searchtool.find();
              String someothervalue=Boolean.toString(valueTocheckfor);
              if(someothervalue.equalsIgnoreCase("true")){
                   return true;
                   //System.exit()
              else if(someothervalue.equalsIgnoreCase("false")){
                   try {
                        Thread.sleep(5000);
                   } catch (InterruptedException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
              System.out.println(valueTocheckfor+"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
              return valueTocheckfor;
    The code of search tool is
    package com.installanywhere.exper;
    import java.io.*;
    import java.util.*;
    public class SearchTool
         * @param args
    static     boolean valuesToReturn=false;
    static     boolean anothervalueToRefer=false;
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              SearchTool           t = new SearchTool();
              System.out.println("xxxxxxxxxxxxxxxxxxxx");
              boolean someArgument=t.find();
              System.out.println(someArgument+"iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii"+"");
                   public boolean find()
                        System.out.println("2222222222222222222");
                   boolean someThing=searchcomp("java.exe");
                   System.out.println(someThing+"inside the othere one");
                   return someThing;
              public boolean searchcomp(String file)
                   System.out.println("3333333333333333333333");
                   File[] drives=File.listRoots();
                   boolean valueIdentified=false;
                   for (int ctr=0;ctr<(drives.length-1);ctr++)
                        valueIdentified=search(drives[ctr],file);
                        System.out.println("4444444444444444444");
                   System.out.println(valueIdentified+"something i need to accomplish");
                   return valueIdentified;
                   public boolean search(File dir,String file)
                   File[] directories=dir.listFiles();
              System.out.println("55555555555555555555555");
                   if (directories == null)
                        System.out.println("666666666666666666666666");
                   return false;
                   for(int ctr=0;ctr<directories.length;ctr++)
                        if(directories[ctr].isDirectory())
                             System.out.println("77777777777777777777777777");
                             valuesToReturn=search(directories[ctr],file);
                             System.out.println(valuesToReturn+"india is great");
                        else
                             if(directories[ctr].getName().equals(file))
                                  String path = directories[ctr].getAbsolutePath().toString();
                                  System.out.println(path);
                                  List someList=new LinkedList();
                                  anothervalueToRefer=allPaths(path);     
                                  System.out.println(anothervalueToRefer+"god damn it");
                                       //System.out.println(anothervalueToRefer+"let me seeeeeeeeeeeeeeeeeee");                                        
                                  return anothervalueToRefer;
                   return valuesToReturn;
                   public boolean allPaths(String allPath)
                        List l=new LinkedList();
                        String somepath=allPath;
                        l.add(somepath);
                        //return l;
    /*if(l.contains("C:\\Program Files\\Java\\jdk1.5.0_08\\bin\\java.exe")){
                             System.out.println("yepeeeeeeeeeeeeee");
                             //System.exit(0);
    else{
         System.out.println(" the face");
                        ListIterator li = l.listIterator();
                        System.out.println("inside the method of all paths");
                        if(li.hasNext())
                             if(li.next().toString().contains("\\Java\\jdk1.5.0_08\\bin\\java.exe"))
                             System.err.println(somepath+"this is the path i wanted to resolve correctly");                         
                             return true;
                             else{
                                  System.out.println("trueeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee");
                                       return false;
                        else {
                                  return false;
         }

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • Not able to open Enterprise dba console in 10g after changing the system ip

    Hi Guys,
    I have installed 10g database on windows 2003 server.
    I was able to open the Enterprise manager DB console(EM) after installation. But I changed the IP address of the system and now I m not able to open the Enterprise manager.
    Any help will be much appriciated in this regard.
    With Regards
    Ansh
    Message was edited by:
    AnshTyagi
    Message was edited by:
    AnshTyagi

    Configure EM manually
    emca -repos drop
    emca -repos create
    emca -config dbcontrol db
    emctl start dbconsole
    emctl status dbconsole
    - Virag Sharma
    http://virag.sharma.googlepages.com
    http://viragsharma.blogspot.com/

  • When I update the email address in the Address book the old email address remains an option when I send email to the contact. How do I delete all th old email addressees

    When I update an email address in my address book the old email addresses always remain an option when I sen an email to the contact. How do I delete the oll email addresses from the system?

    Ah, since you posted in the iMac forum I assumed....
    Here's the link to the iPhone forum, those guys will know the answer.
    https://discussions.apple.com/community/iphone/using_iphone

  • Changing the System Time

    I am using a SunBlade 1000 and C++ with Workshop 6.1. I would like to change the system time via a program written in C++ without having to log in as super-user. Is that possible ? I was thinking about using the settimeofday function, but according to the man information I only can use it as super-user.

    You are correct. Only root can set the system time. You should
    probably consult your local system admin or discuss the implications
    of trying to do this in the Solaris forum. There are possible security
    holes opened up by trying to do root's job programatically.
    In general, a C program can use the system() call to run a command
    that would be typed in at the shell. A program can also have the
    Set UID bit and run as root, but you should be well aware of the
    risks associated with that before you try to use it.

Maybe you are looking for

  • Monitoring BI PROCESS CHAIN with Solution Manager BPMON

    Hello, I'm trying to setup the monitoring of BI process chain using the BPMON I setup the process chain monitoring using  BPmon application monitoring "BI Process Chain Monitoring" (BOBIPCMO) but than I'm not able to read the process chain names,step

  • Disable rows of a table control

    Hi Experts,   I want to disable a row in table control, whenever SAVE is pressed.   Scenario: A Table control having 5 rows. User entered data in the first row and pressed SAVE, then                 that particular row should become greyed out or dis

  • Express Server 6.3.4 error 40

    Hi, I downloaded Personal Experss 6.3.4 to my computer and installed it on Win 2000 Server but everytime that the service try to start, it terminates with error 40. In the Server is installed also Oracle Database 9.2.0.1. Thank you for any help or in

  • Grey Background InDesign

    How do I change the grey background in InDesign to white

  • Ipad 2 apple symbol on screen and won't turn on and shut down wheel is on and charging beep makes sounds

    My daughter was on the Ipad 2 last night , don't know what she was playing, and she said it was shutting down.. it had a good amount of charge in it.. Now it has the apple icon and the shut down wheel on. The wheel starts out dim then gets bright and