How to check whether database is in use or not

hi,
i have written a program for taking backup of database file(ACCESS).
i can able to zip it successfully, but i have to check before zipping that
whether it is opened or closed(using by any other).
How can i do it.I am not getting idea. please do help
Thanking you in advance
regards
shashi

I don't know if this is possible. Since you have access to the file system and know the Access MDB location, look to see if the Access lock file exists. It's usually in the same location as the MDB and has the same name with an LDB extension

Similar Messages

  • How to check whether calendar is being used in any of the sap application

    Hello All,
    We are having few factory calendars. However some of the calendar having valid to year 2010. Can you please let me know how to check whether these calendar is being used in any of the sap application/module
    kindly reply as early as possible
    Regards
    Girish

    Hi RKS
    yesterday BLOG by our SUMMER WANG helps every SRM consultant to debug the PO error
    /people/summer.wang/blog/2010/05/11/trouble-shooting-of-srm-po-transfer-error
    Good work Summer wang !!
    Muthu

  • How to check whether ESBAgentListener listener is started or not for ESBSys

    Hi,
    I am working on Oracle ESB 10g, I want to know how to check whether the ESBAgentListener listener is started or not for particular ESB system. I know we can verify the logs but I want to know is it possible from database or any other sources.
    Thanks in advance.
    Ramesh

    Hi Jogdand ,
    You can get the PO total value change form the PO business Object BUS2201 attribute  POTotalValueIncreased .
    Below code sample decribes how to get the BO attribute values
    1. INCLUDE <swfcntn01>.
    2. Create an instance of the BO by calling the macro and passing the three parameter.
        swf_create_object     <po bor object>     <BUS2201>     <po_guid>
    3. Get the PO attribute by calling macro
      swf_get_property   <po BOR object>   < 'POTotalValueIncreased' >    < lv_pototalvalueincreased>
    OR
    You can query the table BBP_PDHGP and get the original Value of the PO and call the FM BBP_PD_PO_GETDETAIL to get the new Value of the PO. Check the difference and if there is any difference then the PO value is changed.
    I hope this will be very useful.
    Regards,
    Surender

  • How to check whether Output ES is working or not.

    I am able to see Output ES in the services list of the admin console of my server. Please let me know how to check whether this is working or not.
    Regards,
    Shabeer

    LiveCycle ES2 (and LiveCycle ES) ship with three undersold and unadvertised web applications that are VERY useful. Each is referred to as an Installation Verification Sample (or IVS) but they are great testing tools you can use during development and QA. There is
    1) Assembler IVS,
    2) Forms IVS, and
    3) Output IVS
    Output IVS looks like this...
    The pattern for deploying and using all three IVSs is very similar as what I am about to describe for Output IVS. The following directions apply to the JBoss turnkey on Windows.
    1) go to C:\Adobe\Adobe LiveCycle ES2\deploy and locate adobe-output-ivs-jboss.ear
    2) copy adobe-output-ivs-jboss.ear to C:\Adobe\Adobe LiveCycle ES2\jboss\server\lc_turnkey\deploy
    3) if necessary, start LiveCycle
    4) open a browser and go to http://localhost:8080/OutputIVS/
    5) click Check/Change your preferences
    6) add Admin Credentials
    7) click Save
    8) click Test your form designs
    9) Select an .xdp from Form designs
    10) Click Use EJB (or Use Web Service if you feel so inclined) to invoke LiveCycle Output ES2
    Steve

  • How to check whether a patch is applied or not when we apply a patch using patch.sh in oracle apps 11i

    Hi,
    If we apply patch using adpatch,we can know whether the patch is applied or not by checking ad_bugs,even with opatch we can check by using opatch lsinventory...
    But when we apply patch with patch.sh then how can we find out whether a patch is applied or not.
    I have to apply patch 14615390 and  16414360...but how can i know whether those patches are already applied or not. We have jre upgrade so we need to find out whether these patches or already applied or not.
    Thanks in advance,

    These are patches for Forms aren't they?
    I think this has been addressed before
    How to know if a patch has been applied to Forms?
    As the mighty Hussein points out in that post, refer to How to verify if a patch has been installed (Doc ID 105158.1)
    DA

  • How to check whether User is alreadylogged in or not

    Hi..I want to check whether Particular User is already logged in or not ?? I had userid,password and status in my database.
    If anybody shows me how to implement it ??
    Reggards
    Chintan

    If you want to prevent multiple logins happening, use a profile on the database server that limits a login to a set number of simultaneous connections.
    If you just ant to check which users are logged in, the v$session table will have that information.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to check whether 620 routine is configured or not?

    Hi,
    I hv VOFM>Formulas>Conditional value--> 620 routine, its used to determine the SHIPMENT COST DOCUMENT creation and its talks about consolidating all the shipemts together belongs to same customer and there by creating only one shipment (cartons/volume/weight) cost document. (Its developed and done activated)
    So, pls let me know that, How to check that whether this VOFM routine 620 is in place (configured) or not in the system?
    I tried from SPRO/IMG, but, no use!!
    Thank you

    This should be in SPRO. See the link at the bottom of this [sap library topic|http://help.sap.com/saphelp_erp60/helpdata/en/93/7440d3546011d1a7020000e829fd11/frameset.htm]

  • How to check whether the Resultset is empty or not ??

    I wanna check whether my Result set is empty or not ( I don't want the no of rows it contains..) i'm using this function...
    boolean result=myResultSet.isAfterLast() | myResultSet.isBeforeFirst() ;
    if (result == true)
    {//Result Set is populated
    else
    {//ResultSet Blank
    Is it ok to do like this ?? Or is there any other functanality to do this, since in big appl..i'm using it more than 10-15 times & it's working fine evrywhere except for one jsp where it is returing TRUE everytime ...
    Help Appreciated !!

    try,
    rs = pstmt.executeQuery();
    boolean b = false;
    if( b = rs.next() ) {
    while( b ) {
    //... rs.getXXX( YYY );
    b = rs.next();
    else {
    //...empty rs processing
    or,
    ResultSet rs = ps.executeQuery();
    if(rs.next()) {
    do {
    System.out.println(rs.getString(1));
    } while(rs.next());
    } else {
    System.out.println('empty result set');
    but I usually avoid using do...while although this may be an exception.

  • How to check whether a vriable is declared or not?

    Hi,
    Problem:
    A glogal variable named :GLOBAL.ENV is used in one of my form.
    But its value is coming from another form which is developed by another programmer.
    I need to check like this:
    IF :GLOBAL.ENV='SOMETHING' THEN
    END IF;
    But, if the other developer doesn't assign a value for the global variable, i am getting an error like this:
    FRM-40815: Variable GLOBAL.ENV does not exists
    So, i need to know whether the GLOBAL.ENV already exists before using it in my form.
    That is, i need to do like this:
    IF (code to check whether GLOBAL.ENV exists ) then
    use GLOBAL.ENV
    ELSE
    Assign a default value to GLOBAL.ENV
    END IF;
    Thanks for your time...

    Thank you very much...
    I used DEFAULT_VALUE('def val','GLOBAL.ENV');
    Now the problem is solved.

  • How to check whether internet connection is avaliable or not from Swing

    Hii Javaties
    I am developing a application in Swing .
    I need to call a servlet from Swing.
    So how can i check tht internet connection is avaliable or not. ?

    i am also fatching this type of problem. my applet is playing a audio file from server. during the playing time if network connection failed then NoRouteToHostException occurs from some PCs. but there are some PCs it doesn't occur though the playing is stoped.
    all PCs OS windows XP and jre jdk1.5.0_06
    i can't find out the problem. can any one help me for this?
    code:
    URL testURL = null;
                                try {
                                    testURL = new URL(sourcePath);
                                    //inputStream = testURL.openStream();
                                    URLConnection connection = testURL.openConnection();
                                    connection.connect();
                                } catch(NoRouteToHostException e) {                
                                    System.out.println("NoRouteToHostException block: " + e.getMessage());
                                }thanks
    bashar

  • How to check whether Java 3d is using hardware acceleration?

    Hi
    I just started looking into Java3d api. I am going through the tutorial examples. When I run it on Windows with JDK1.4.2, the app runs, but taskmanager shows cpu usage is around 55% of my 3GHz Intel processor.
    I am sending the following VM parameters
    -Djava.library.path=C:\progra~1\Java\Java3D\bin -Dj3d.rend=ogl -Dj3d.debug=true
    I tried Direct3D as well by passing -Dj3d.rend=d3d. I don't see much difference in cpu usage. The sample I am playing is the one where you create a ColorCube and rotate it on a timeline. Pretty straight forward code taken from the tutorial.
    I am wondering
    a) Why is my cpu at 55% if it is using h/w acceleration?
    b) Is there any way to find out whether Java is using software renderer vs h/w renderer.
    I used sys internals processexp tool to look at the stack of java thread that is spinning the cube. I don't see any references to opengl or j3d dlls in the call stack.
    I appreciate ur help.
    Thanks

    check this link, it queries the properties of your system:
    http://download.java.net/media/java3d/webstart/test/QueryProperties.jnlp

  • How to check whether database console has been installed on Windows or not?

    I selected the following choices when I ran Oracle Database 11g Release 2 Installer on Windows 2008 R2:
    Create and configure a database
    Server Class
    Single instance database installation
    Typical install
    I got the Database Configuration Assistant: Warning
    Enterprise manager configuration failed due to the following error - Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again.
    I have started the listener and register database service now. I have tried to run the command:
    emca -config dbcontrol db -repos create
    I got the error sysman already exists.
    Does it mean that even though I got the Warning message, the Enterprise Manager repository has already been created?
    What should I do to bring up the database console?
    Thanks.

    I did not see any EM DB Console service.
    I believe SYSMAN is the default schema for the EM repository. So, I think I just need to configure EM not to create EM repository.

  • How to check whether a link is clicked or not in jsp????

    hi
    please help me in checking out whether a link in a html page is clicked or not....
    actually iam having a jsp page which has 3 links
    link1
    link2
    link3
    if i click the link1...the sublinks(for example link 1.1 link 1,2) of link1 should appear...can anyone of u please tell me how to do this in jsp........

    try to use java script

  • [req] how to check whether given oracle table exist or not + C#

    Hi,
    All.
    Actually i m creating a program using C# which connects to the database (oracle) and checks for the given table "OPC_GROUP". if the table doesnt exists then it creates the table else it updates all field with provided values
    code
    cmd.CommandText = "SELECT tname from tab where tname = 'OPC_GROUP'";
    cmd.CommandType = CommandType.Text;
    int length = cmd.ExecuteNonQuery();
    if (cmd.ExecuteNonQuery() >0)
    MessageBox.Show("Table does exist");
    else
    MessageBox.Show("Table doesnt exist");
    But this code return "TABLE DOESNT EXIST" though table is already created
    What i m doing wrong???
    Please help..........
    Thnx in advance

    Try this..
    cmd.CommandText = "SELECT count(*) from tab where tname = 'OPC_GROUP'";
    cmd.CommandType = CommandType.Text;
    string strnum = cmd.ExecuteScalar().ToString();
    if (strnum!="0")
    MessageBox.Show("Table does exist");
    else
    MessageBox.Show("Table doesnt exist");
    Hope it helps,
    Greg

  • How to Check whether a table is indexed or not?

    Hi all,
    I am writing a c++ program where i have to create an Index if Index not exists.
    Oracle 10.2 is the oracle version and i am using oracle text for indexing.
    table -- create table xmltable (versionnumber number,instance xmltype);
    index -- create index configindex on xmltable (instance) indextype is ctxsys.context;
    drop -- drop index configindex force;
    My algorithm should something like,
    if(configindex is exists)---------->What i have to write here to check if index is present.
    { drop index  configindex force; }
    create index configindex on xmltable (instance) indextype is ctxsys.context;
    Thanks......

    Hi,
    You could check the system view ALL_INDEXES .
    HTH,
    Chris

Maybe you are looking for

  • Adjust/move picture on connected television

    I have connected my television to my Mac Pro with an S-Video cable. It works (800x600 resolution), but somehow the picture is not centered and there are black areas on the top and the bottom. Now I would like to adjust the picture so it fits the TV s

  • Improve Portal performance with BI-Java by adding additional server node.

    Hi SAP Expert I wonder anyone might have attempted this before, In an environment with BI-Java and Portal Java stack installed on the same server, is it possible to improve the system performance by adding additional portal server node? or is there a

  • Critical Error in ESS Configuration ?

    HI All, When i am working on ESS custom Career and Job I got the following error, when i  open my Quick links . Critical Error A critical error has occured. Processing of the service was terminated. Unsaved data has been lost. Contact your system adm

  • Getting IFS Error 40014 Unable to receive message over channel

    When we try to start our 9.0.3 IFS Node from the Oracle Enterprise Manager we get IFS-40014 errors. This keeps all of our Servers (Agents) from running. Can someone tell me what is causing this and what we need to do to fix it? Thanks, Joe

  • Same application and deploy diferents versions

    Sirs; What i'm trying to do , i'm quite sure most of you have passed some hours on it; We have here an application what we want to separate it in 2 versions, lets say enterprise and standard; As expected all components (uix files , bc4j modules views