Win_Api_Session functions and processes running on a machine

Hi all,
We all know that it is allowed to launch only one synchronous reports from forms on a machine. And instead of displaying the default reports alert message error , I want to display a formal alert because our customers do not like to see the standard alert message. One workaround I found is to use the Win_Api_Session package supplied in the d2kwutil library. We use Forms release 6i with patch 17 and reports release 6i with patch 17. But I do not know exactly what are the values to give for each parameters of the function one_session which returns true if a process is already running on a machine. The documentation of the arguments are the MDI window title, the name of the process, the active boolean flag, the window class, and the raise no_data_found boolean flag.
So if I want to test if reports release 6i , RWRUN60.EXE , is already running , and the title of the reports window previewer is for example "COM_B_R: Previewer" , what should I put for each arguments ?
Thank you very much indeed.

Still no response.
Is there another way to detect processes already running on a machine ?

Similar Messages

  • Why Mac crashes when I run the clean speech ring of osx and then run the RestoreTime Machine?

    Why Mac crashes when I run the clean speech ring of osx and then run the RestoreTime Machine? Could it be that I run restore the setup from a usb drive. I've done thisbefore and when it has not been a problem.
    Does anyone have a good answer on this so I'm happy.

    kjell-einar wrote:
    Why Mac crashes when I run the clean speech ring of osx
    What is that?
    run the RestoreTime Machine?
    What are you restoring? 
    Do you mean a full system restore?  Or something else?
    When does your Mac crash -- during the restore, when you try to start up afterwards, or ?

  • RMIRegistry and rmiserver running  on different machines

    hi,
    Is it possible that RMIRegistry and rmiserver run on different machines?

    Its possible, but you cannot bind objects into the registry from a remote machine, due to security restrictions in force in Sun's RMI implementation.

  • Web server and apex running on same machine - port 8080 possible conflict

    Hi Guys,
    I have installed Apache Tomcat and currently in the process of installing Oracle 11G in the same machine.
    The tomcat is using port 8080 and I understand from other installs, that APEX uses 8080 as well.
    Is there way after installing Oracle 11G XE database, to shut down APEX so it doesn't conflict with Tomcat's use of 8080? I have no use for APEX at this point want to shut it down if its possible.
    Alternatively, can it be configured to use another port?
    Many thanks.

    You can do either, shut it down or change the port. So sad that you said you "have no use for Apex...". :(
    What gateway are you using for Apex? Is it the EPG, OHS or the Apex Listener? If you're using the EPG then there is a whole command structure/API for that. Here are a couple that you can run from a SQLPlus session:
    SELECT DBMS_XDB.GETHTTPPORT FROM DUAL;
    EXEC DBMS_XDB.SETHTTPPORT(port);
    For example:
    EXEC DBMS_XDB.SETHTTPPORT(8080);
    OR
    EXEC DBMS_XDB.SETHTTPPORT(8181);If you're using OHS then you go to your OHS/Apache directory and find the OPM path and issue your shutdown startup commands from there. If it's the Apex Listener with Glassfish then you go to the Glassfish admin console and shutdown your Apex deployment from there. Specifics I'll leave to you.
    Earl

  • UDP server and client running on same machine

    Hi all,
    I can't get the QuoteServer example to work. I am trying to run both server and client on same machine since I only have one machin available at the moment.
    I am using win xp behind a firewall. Anything that might interfere?
    With some System outs I can see that the server is waiting for request but never getting any...

    Restarted computer and now it works. Are ports locked up if I get an exception in the 'wrong' place?

  • Can FCP 7 and 10 run on same machine?

    Need FCP for past projects, but for new ones is FCP10 a good thing? Can I install them both and run separately for different projects?

    You must install FCP7 first, run all its updates and then install FCPX.

  • Using MS IIS and Adobe FMS on same machine

    Hi Everyone,
    I downloaded FMS installed it and tried it and it ran well but I have one problem. After I installing the FMS, my designs with Dreamweaver CS4 will not work when I try my design with IIS. Does any know how to make the IIS and FMS run on one machine? I have used MS IIS server to do my web design and tested them out as well with the same MS IIS sever. If any one knows how to get it right please let me know.
    Thanks.
    Joplateau

    Hi,
    Thanks for your help, the idea you gave me worked. I am now able to run Dreamweaver and FMS 3.5 together on same machine.
    Thanks a lot.

  • Function module to read the directory list and also run in background

    Hi All,
    I need to read few files from a folder in the server and upload the data in the file using a BDC. This process has to happen in the background as I am going to schedule the program. I had used the function module "EPS_GET_DIRECTORY_LISTING" to list the file names, it is working properly but when I schedule the program this function module does not work, the jobs gets finished in 0 secs. I am suspecting that it is not running in back ground. Can any one suggest me the function module which runs in background to read the files or an alternate method.
    Ajeetha

    Thanks for the reply.
    Sorry, this function module is working properly, why I assumed it is not working is that the background job got completed in 0 secs which made me feel that the function module is not working. Also I am subsequently copying the file to another folder and deleting it from the source folder, actually thiese two functionalities are not working in background. which added to my conclusion that all the function modules are not working in background. I am using two methods to copy and delete files, they are
    CL_GUI_FRONTEND_SERVICES=>FILE_COPY,
    CL_GUI_FRONTEND_SERVICES=>FILE_DELETE.
    as these are not working in background, now I need to replace them with a method or function module which will run in background.
    As I have mentioned earlier, my main objective is to upload the data in the file using a bdc. If I am not able to delete the file in the source folder,  then duplicate upload will happen which I have to avoid. So, if someone could help me to find a way to delete the file will be of great help to me.
    Ajeetha

  • Run a virtual machine under both 7 and Vista?

    I have a windows 7 pro computer that is set up as a dual-boot with the OEM copy of Vista home premium.
    How do I use XP mode in Windows 7 professional,
    and also share another virtual machine running an image of an old Windows 98 system with the Vista OS without duplicating the 40gb virtual hard drive?
    I'd like to be able to use that virtual machine in both operating systems without having to convert it back and forth, or mess with  the "virtual machine editions" every time.
    Is this possible? I get a message that Virtual PC 2007 is incompatible with Windows 7, but it is all I have to run in Vista. Both host operating systems are 64 bit.

    So, you want Windows 7 run XP mode and run this Windows Virtual PC 2007 at your Vista? so you can run old Windows 98 on your Vista
    for me, this is complicated process, what I suggest here, you upgrade your Windows 7 version (if need to be upgraded), installed latest version Windows Virtual PC version, and make Windows Vista and other OS as guest
    http://www.microsoft.com/en-us/download/details.aspx?id=3702
    https://support.microsoft.com/kb/958559?wa=wsignin1.0
    but I don't think Windows 98 will run using this software, but some people report can, even though operating systems that are not officially supported
    http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/05/27/installing-windows-98-on-windows-virtual-pc.aspx
    note:
    I also bit confused regarding this, "Virtual applications are not supported on Windows Vista Business or on Windows 7 Professional or on Windows 7 Professional(SP1). All other features of Windows Virtual PC are supported on these two guest systems."
    You also have another option like install 3rd party Virtual application software, like Virtual box or VMware
    but everything worth to try, good luck

  • Function will not run (and shows with red cross in SQL Developer)

    I have created the function below by typing into the "Enter SQL Statement" box in the SQL Developer tool and running. I see the message "create or REPLACE FUNCTION Statement Processed". I see the Function in the tree view, but it has a red cross icon next to it, so I guess somethings wrong with it. When I try to run it I get the message "The selected program is in an invalid state for running. Recompile the program and try again." If I right-click the function and compile then I get no errors but the red cross remains and I still can't run it.
    What am I doing wrong?
    Also, I am planning on supplying a SQL script to customers that will have this function at the top of the script, and then I will use the function throughout the rest of the script to decide whether or not to drop a table before re-creating it. Will that be ok? i.e. will the function be available to the rest of the script, or would the function creation need to be followed by a commit/grant/other?
    CREATE OR REPLACE FUNCTION CHECK_TABLE_EXISTS(tableName VARCHAR2)
    RETURN BOOLEAN IS
        tableExists NUMBER(1,0);
    BEGIN
          SELECT COUNT(*) INTO tableExists FROM user_tables WHERE table_name=tableName;
          IF tableExists = 1 THEN
            RETURN TRUE;
          ELSE
            RETURN FALSE;
          END IF;
    END CHECK_TABLE_EXISTS;Thanks,
    Paul

    Hello Try the same at sqlplus and see how it goes. It should not throw any error messages as I tried the same as a normal user Scott with only (connect, resource) priveleges. You dont have to grant any specific previleges for user_tables.
    -Sri
    SRI>conn scott/tiger@sri
    Connected.
    SRI>CREATE OR REPLACE FUNCTION CHECK_TABLE_EXISTS(tableName VARCHAR2)
      2  RETURN BOOLEAN IS
      3      tableExists NUMBER(1,0);
      4  BEGIN
      5        SELECT COUNT(*) INTO tableExists FROM user_tables WHERE table_name=tableName;
      6        IF tableExists = 1 THEN
      7          RETURN TRUE;
      8        ELSE
      9          RETURN FALSE;
    10        END IF;
    11  END CHECK_TABLE_EXISTS;
    12  /
    Function created.
    SRI>set serverout on
    SRI>begin
      2  if check_table_exists('EMP') = TRUE
      3  THEN
      4  dbms_output.put_line('Found');
      5  else
      6  dbms_output.put_line('Not Found');
      7  end if;
      8  end;
      9  /
    Found
    PL/SQL procedure successfully completed.

  • I have a windows 7 64x SP1 and every time I install iTunes 12 I get this message when I try to ponen it:"This copy of Itunes is damaged and it has not been correctly installe. Please, install iTunes again.(-42404)". The instalation process runs smoot

    I have a windows 7 64x SP1.
    Every time I install iTunes 12 I get this message when I try to open it:"This copy of iTunes is damaged and it has not been correctly installed. Please, install iTunes again.(-42404)".
    The instalation process runs smoothly without any error message and iTunes has been installed in my computer before. The problem started with the update no. 12. Any idea what's going on? Thank you

    if itunes will not run, you probably have mangled windows badly
    one feature of windows 8 is the refresh that saves libraries,
    because you are using windows 7, you will need to backup all files to another storage device

  • The monitor on my macbook is turned off while I was working, I could not in any way to do it again, I could see through the screen off the open pages I was working on, I had to turn off the machine and restart it. and it runs. O.O?

    The monitor on my macbook is turned off while I was working, I could not in any way to do it again, I could see through the screen off the open pages I was working on, I had to turn off the machine and restart it. and it runs. WHAT 'success? The report says the console like this: (at approximately 12.30)
    No receipt for 'com.apple.pkg.JamPackWorldMusicInstruments' found at '/'.
    03/05/11 12:08:30 [0x0-0x1e01e]. Com.apple.garageband [239] No receipt for 'com.apple.pkg.JamPackWorldMusicInstruments' found at '/'.
    03/05/11 12:08:30 [0x0-0x1e01e]. Com.apple.garageband [239] No receipt for 'com.apple.pkg.JamPackOneInstruments' found at '/'.
    03/05/11 12:08:30 [0x0-0x1e01e]. Com.apple.garageband [239] No receipt for 'com.apple.pkg.JamPackOrchestralInstruments' found at '/'.
    03/05/11 12:08:30 [0x0-0x1e01e]. Com.apple.garageband [239] No receipt for 'com.apple.pkg.JamPackRhythmSectionInstruments' found at '/'.
    03/05/11 12:08:30 [0x0-0x1e01e]. Com.apple.garageband [239] No receipt for 'com.apple.pkg.JamPackRemixToolsInstruments' found at '/'.
    03/05/11 12:08:32 MIDIServer [255] MIDIServer [255] starting; arch = i386
    03/05/11 12:34:35 com.apple.launchd [1] *** launchd [1] has started up. ***
    03/05/11 12:35:06 com.apple.launchd.peruser.501 [86] (com.apple.ReportCrash) Falling back to default Mach exception handlers. Could not find: com.apple.ReportCrash.Self
    03/05/11 12:35:09 com.apple.launchd.peruser.501 [86] (com.apple.Kerberos.renew.plist [110]) Exited with exit code: 1
    03/05/11 12:35:25 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:25 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:26 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:26 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:32 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:33 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:33 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:36:06 com.apple.WindowServer [64] Tue May 3 12:36:06 MacBook-Pro-17-of-Admin.local WindowServer [64] <error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint () to catch errors logged as They Are.
    03/05/11 12:43:39 helpd [160] Response failed Because Listener can not find a port for this QueryID.
    03/05/11 12:43:43 helpd [160] Response failed Because Listener can not find a port for this QueryID.
    03/05/11 12:43:43 helpd [160] Response failed Because Listener can not find a port for this QueryID.

    Do you have backups of all the data on the startup drive? If not, do nothing else until you've backed up that data, if you still can.

  • Can I partition a 1tb hard drive and also run time machine on that hard drive

    I have a 1TB external hard drive which s currently running for Time machine only.
    I was hoping to be able to partition the EHD so that 500GB would be for the Time Machine side and the other 500GB would be used as an ecternal storage [ a friend of mine has just lent me a 250gb hard drive with a load of tv series which i want to be able to copy].
    Can anyone tell me if this is possible and if so how do i do it.
    I know that Time Machine is running now but I don't mind starting all over again.

    Yes it is possible, but it is generally not a good idea. That being said, if you decide to use the EHD for another purpose, partitioning it is the best solution. How big is your internal HD? It is recommended for a TM partition to be 2X as large as your internal drive, and it must be at least the size of your internal HD in order to be used.
    In order to partition:
    1) Connect the EHD
    2) Open Disk Utility and select the drive
    3) Click the "partition" tab and drag the original partition to its desired size.
    4) Click "Apply" to create the secondary partition.
    Resizing the TM partition will not erase it.

  • I would like to put Dreamweaver 8 on a new computer.  There is no "deactivate" function and the technical support person I chatted with recommended I come here.  Can I just use the serial number again?  How can I deactive?  Has anyone else run into this?

      There is no "deactivate" function and the technical support person I chatted with recommended I come here.  Can I just use the serial number again?  How can I deactive?  Has anyone else run into this?  How can I get Dreamweaver 8, which is no longer being activated by Adobe, on a new computer?  Is it even worth doing or do I need to get a new version.  What are the killer features I'm missing?

    If you manage to get it installed on your current OS, don't forget to install the 8.02 update.
    Adobe - Dreamweaver Support Center : Updaters
    Nancy O.

  • I own a MAC Pro 3,1 (early 2008) and am running Mavericks 10.9.3 with no problems. I would like to add an I/O card to add USB 3 functionality or ESATA functionality but am unable to find a compatible card. As such my question...can I do this and if so wha

    I own a MAC Pro 3,1 (early 2008) and am running Mavericks 10.9.3 with no problems. I would like to add an I/O card to add USB 3 functionality or ESATA functionality but am unable to find a compatible card. As such my question...can I do this and if so what is the best card?
    Thank you

    Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"?
    Also see:
    https://discussions.apple.com/thread/6282459?tstart=0

Maybe you are looking for

  • Printing FILE NAME and DATE PRINTED?

    when i was on a mac i used to be able to have a default in the printer dialog so that every page printed showed the file name and the data printed. i would like to do this in the mac but i am guessing that this has to be done in either the specialize

  • Why can't I "scan and e-mail" documents with my b110?

    I'd like to use the estorage app from google but strangely it's not available in this model. The set of apps available to this printer (B110) is ridiculous! Disney, sudoku and some other kids stuff. I bought this printer to do real work at home and n

  • Last upgrade on G4 MDD ?

    Hi all i have FCP 4.5 on G4 MDD and OSX 10.5.8: wich is the last upgrade that can run on my old gear? Roberto

  • Digital sound output is often silent.

    Short sounds (email notifications, system sounds, etc) usually don't make it through the digital output (mini-toslink optical cable) that connects my new MacBook Pro to my stereo. Here's why: It seems that the digital-out goes into a sort of "sleep"

  • Purchase Order Good Receipt and Invoicing

    Is there a easy way to see all the Purchase Orders that have been received in the system but not invoiced? I have tried to use SE16N amd ME2K bu these transactions do not seem to help. Im trying to see what Purchase Orders have been placed that we ha