How I can check on the existence of a client ActiveX, so that if there is no download begins?

       
How
I can check on
the existence of a client
ActiveX, so that
if there is no download begins?
example:
I want tocheck for:
EditDocumentButton = new ActiveXObject "SharePoint.OpenDocuments.2");
if (EditDocumentButton) {
EditDocumentButton.EditDocument (strDocument);
and ifthere is nowarning andlaunch aURLto startthe
download
as is?
thanks

Hello,
This control is defined in the OWSSUPP.dll file, a dynamic-link library (DLL) that is installed in the %ProgramFiles%\Microsoft Office\Office14\ directory on the client computer during Microsoft Office Setup. (Read
full article on MSDN)
Based on my understanding this below link can help you to open file if activex is not found.
http://blog.scosby.com/post/2011/08/22/Remotely-Opening-Office-Files-From-SharePoint-2010.aspx
Now to detect the activex please look this code:
http://www.andrewshough.com/sharepoint/multiple-office-version-support-in-sharepoint-services-3-0/
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help

Similar Messages

  • How can I check for the existence of an XML file in Illustrator Javascript??

    I'm writing a Javascript to run at startup. I want to check for the existence of XML files and process them, if they are available. How can I check for their existence?

    Your first line just sets a variable to a string value… getFiles() is a method of Folder… so
    var InputXMLDir = Folder( "D:/Brackets/Create_Bracket_Graphics/Input/XML-n-Templates/" );
    Not a PC user so I can't remember if the colon is OK…? As you appear to know the file name why bother with a folder get files anyhow you could just check if the file exists then do some thing…
    alert( File( "D:/Brackets/Create_Bracket_Graphics/Input/XML-n-Templates/brackets_men_web.xml" ).exists );

  • I have my iphone 5 but a lost. The box where it came  how i can check  of how many gb its ?

    I have my iphone 5 but a lost. The box where it came  how i can check  of how many gb its ?

    Tap settings
    General
    About
    this provides alist of everything you may need to know about your device

  • How i can make in the same action 2 condition (check the exemple down)

    how i can make in the same action 2 condition (check the exemple down)
    this is an example and I really thank you for helping me(any body plz)
    http://www.2shared.com/file/DPpdgC_a/Exemple_Edge.html

    1. make each rectangle a symbol  (Symbol_1 and Symbol_2) and uncheck autoplay()
    2. Delete your code on the click event and put the following code in compostion ready:
    var toggle=true;
    function btnPlay(){
              if (toggle){
                        toggle=false;
                        sym.getSymbol('Symbol_1').play();
              else{
                        toggle=true;
                        sym.getSymbol('Symbol_2').play();
    sym.$('Ellipse').click(function(){
              btnPlay();

  • I am on a MAC Application. It has  been rejected by following reason.  This app does not check for the existence of a purchase receipt, which can prevent In-App Purchases from being correctly processed. We recommend implementing receipt validation to reso

    I am on a MAC Application.
    It has  been rejected by following reason.
    This app does not check for the existence of a purchase receipt, which can prevent In-App Purchases from being correctly processed.
    We recommend implementing receipt validation to resolve this issue.
    At a minimum, the app will need to check for the existence of an App Store receipt and exit at launch with a status of 173 if it does not exist.
    Any help ?
    Thanks in Advance.

    I am on a MAC Application.
    It has  been rejected by following reason.
    This app does not check for the existence of a purchase receipt, which can prevent In-App Purchases from being correctly processed.
    We recommend implementing receipt validation to resolve this issue.
    At a minimum, the app will need to check for the existence of an App Store receipt and exit at launch with a status of 173 if it does not exist.
    Any help ?
    Thanks in Advance.

  • Checking for the existence of a Frame

    Hello,
    I am currently designing an application which consists of 8 JFrames (all in different classes), During the application, one JFrame provides information to a user and when they select the appropriate fields another JFrame opens an the active one closes. However the problem i am having is that i need to be able to write an if statement saying
    if (this particular frame exists already){
    destroy it;
    }else{
    whatever........};
    But i dont know how to check for the existence of a frame currently running, or how to destroy it..
    im currently using dispose(); to destroy frames but the dispose method only works when your in the class thats creating the frame, it wont let me write something like class1.dispose() (where class1 is the frame object created in the constructor of class1.java); in class2.
    I have searched throught the forum and havent found anything that can help me, i would really appreciate anyones input.
    Thanks in advance,
    Dev

    Hey its ok i've decided to restructure the program, but if anyone does know how to do this please still reply to the message, as i would still like to know

  • I ordered a battery for my laptop because it said to replace battery soon.  How long can I let the new battery sit around as I wait for the old one to run out of more charge?

    I ordered a battery for my laptop because it said to replace battery soon.  How long can I let the new battery sit around as I wait for the old one to run out of more charge?  Will the new one become less effective if it sits around too long?

    How much capacity is remaining on your current battery?
    Check your power status
    From the  menu: Hold OPTION and click System Information... èHardware è Power
    Copy and Paste in your reply.
    The new battery will become less effective if you store it in a hot or humid environment. It should be stored at room temperature (22 C).
    Long term storage (6 months):
    Apple recommends that you store the battery with a 50% charge. If you store a battery when it’s fully discharged, it could fall into a deep discharge state, which renders it incapable of holding any charge. Conversely, if you store it fully charged for an extended period of time, the battery may experience some loss of battery capacity, meaning it will have a shorter life.
    http://www.apple.com/batteries/

  • How can I find the serial number for my stolen iPad that's associated with my apple ID ?

    How can I find the serial number for my stolen iPad that's associated with my apple ID ?

    If you registered it with Apple check your registered items at Your Support Profile for Registered Purchases. Also, see iOS- How to find the serial number, IMEI, MEID, CDN, and ICCID number.
    What To Do If Your iDevice Is Lost Or Stolen
    If you activated Find My Phone before it was lost or stolen, you can track it only if Wi-Fi is enabled on the device. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. What to do if your iOS device is lost or stolen
      6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      7. Find My iPhone
      8. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)

  • How do I check if the associated PageItem is there/exists from a XMLElement ?

    Hi,
    I have the following structure:
    Extension Builder 1.5;
    InDesign 5.0;
    Image (Rectangule Frame);
    XML tag associated with the Image.
    The following scenario:
    I do have an application that checks if this strucuture is available and intact, that is, the user has not deleted the tag (XMLElement) and/or the Rectangule Frame(PageItem);
    I do not want loop through allPageItems (the page should have many of them - more than 1000) and get the XMLElement;
    So, I loop over the XMLElements and get the associated PageItem through xmlElement.xmlContent property;
    The document images properties (image, epss, etc) never are populated (document.epss.length = 0);
    I can validate if the tag was deleted or untaged easy.
    The problem:
    User deletes the Image/Rectangule Frame (PageItem) and keep the xml tag (untag the XMLElement);
    The isValid property (xmlElement.isValid = true) is true;
    The associated PageItem becomes a Text and is valid as well;
    The question:
    How do I check if the associated PageItem is there/exists from a XMLElement ?
    Regards
    Marcos

    Found it, I think
        e.isControlDown()

  • How to do CHECK IN the files for the document?

    Hi ,
    By using BAPI_DOCUMENT_CHECKIN2 Function module I am uploading the Files for the Document number.
    My problem is - After uploading the files to the document number the files are not in check in status.
    I want the files to be checked in after uploading the from the FM.
    Can anyone tell me what I am missing ? How to do check in the files.
    I am passing the following values to FM.
          ls_files-SOURCEDATACARRIER = ls_file-DATA_CARRIER.
          ls_files-WSAPPLICATION     = ls_file-application.
          ls_files-DESCRIPTION       = ls_file-file_desc.
          ls_files-STORAGECATEGORY   = ls_file-category.
          ls_files-DOCFILE           = ls_file-doc_path.
          ls_files-CHECKEDIN         = 'X'.
        CALL FUNCTION 'BAPI_DOCUMENT_CHECKIN2'
          EXPORTING
            DOCUMENTTYPE            = ls_file_data-dokar
            DOCUMENTNUMBER          = ls_file_data-doknr
            DOCUMENTPART            = ls_file_data-doktl
            DOCUMENTVERSION         = ls_file_data-dokvr
          IMPORTING
            RETURN                  =  ls_return
          TABLES
            DOCUMENTFILES           =  lt_files
        COMPONENTS              =
        DOCUMENTSTRUCTURE       =
    I appriciate you response on this.
    Thanks in advance.

    Hi,
    Check the values you are passing into ls_files .
    you dont need to pass checkedin = 'X'.
    and check the storagecategory field - this should not be blnak.
    files-SOURCEDATACARRIER = lsfile-DATA_CARRIER.
    ls_files-WSAPPLICATION = ls_file-application.
    ls_files-DESCRIPTION = ls_file-file_desc.
    ls_files-STORAGECATEGORY = ls_file-category.
    ls_files-DOCFILE = ls_file-doc_path.
    ls_files-CHECKEDIN = 'X'.
    This FM will work. No issues just check the values you are psssing into this LS_FILES structure.
    Rest of the fields are corect.
    Thanks,
    Murali.

  • How to do Check in the files for the document number?

    Hi ,
    By using BAPI_DOCUMENT_CHECKIN2 Function module I am uploading the Files for the Document number.
    My problem is - After uploading the files to the document number the files are not in check in status.
    I want the files to be checked in after uploading the from the FM.
    Can anyone tell me what I am missing ? How to do check in the files.
    I am passing the following values to FM.
          ls_files-SOURCEDATACARRIER = ls_file-DATA_CARRIER.
          ls_files-WSAPPLICATION     = ls_file-application.
          ls_files-DESCRIPTION       = ls_file-file_desc.
          ls_files-STORAGECATEGORY   = ls_file-category.
          ls_files-DOCFILE           = ls_file-doc_path.
          ls_files-CHECKEDIN         = 'X'.
        CALL FUNCTION 'BAPI_DOCUMENT_CHECKIN2'
          EXPORTING
            DOCUMENTTYPE            = ls_file_data-dokar
            DOCUMENTNUMBER          = ls_file_data-doknr
            DOCUMENTPART            = ls_file_data-doktl
            DOCUMENTVERSION         = ls_file_data-dokvr
          IMPORTING
            RETURN                  =  ls_return
          TABLES
            DOCUMENTFILES           =  lt_files
        COMPONENTS              =
        DOCUMENTSTRUCTURE       =
    I appriciate you response on this.
    Thanks in advance.

    Any answers for this?
    Thanks.

  • How i can check DB size

    How i can check the size of DB in 9i?

    I recall, you already ask it Re: Size of DB Check

  • How i can check my phone is under warrenty???????

    i want to know, how i can check my phone warrenty period and my phone originallty...........

    Hi krishanjaat
    It would help if you carry out *#0000# and post the results, if you want more help with this matter.
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • How I can check this condition

    Hi,
    Through PLSQL code how I can check the following condition.
    I have two field column TEXT1 and TEXT2. Text2 contains total five item
    and text1 contain one item, how I can check Text1 against text2 its
    existing or not.
    :Text1 :='B1'
    :Text2 := 'A1,B1,C1,D1'
    I have tried the following way, but it is not working
    IF :Text1 IN (:TEXT2) THEN
    DISP_MSG('EXIST');
    END IF;
    Regards,
    Jen.

    Or
    sql>
    declare
    text1 varchar2(10) := 'B1';
    text2 varchar2(20) := 'A1,B1,C1,D1,E1';
    begin
    dbms_output.put_line(case when text2 like '%'||text1||'%' then 'Exists'
                               else 'Not exists'
                          end );
    end;
    Exists
    PL/SQL procedure successfully completed.
    jeneesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Can you please let me know how i can catch all the orgunits

    Dear Freinds,
                  i have a particular scenario in my development where when i pass only the
    orgunit i have to call the personnel no.s of that orgunit on the selection screen , and
    for the personnelnos. i have to retrived from  the  PYXX_READ_PAYROLL_RESULT and get all the wage types  and corresonding amount (betrg)  .
      Scenario 1)  i am able to get for the orgunit which iam entering on the selection screen ,get pernr is giving me all the prsonnels no.s  for that orgunit  and for this personnels iam able to  retrive 's the amounts for the respective wage types from the FM PYXX_READ_PAYROLL_RESULT.
      Scenario 2)    but now the problem which iam facing is if the orgunit which iam entering on the selection screen if it has more than one orgunit ( ex it has 3 orgunits) i have to check for that orgunit also all the personnel no.s the orgunit's its  having and check the correspong wagetype and amount and show in the output. But iam only getting for the orgunit for which iam entering on the screen it is checking and giving me the personnel nos.
    then i have used the FM  RH_READ_INFTY_1001 and pass the orgunit and iam able to collect allt he orgunits correspoding for the orgunit on the selection screen . But how i can check the personnel no.s which this new orgunit is having ........ only in INTER-WPBP only i have orgunit  .where i can check a condition ....but me to reach to the WPWP i require the personnel no.s
    can any body give me idea how i can get the personnel no.s corresponding to this orgunit ...retrived from the selection screen orgunit.
    regards
    syamala

    Dear Suresh,
              If you mean to say change the report category and modify the selection screen
    using the logical database PNP only , in that case yes now i have modified and kept only payroll area , dates and ORGUNIT only . So that user can enter only the orgunits only. Please correct me if this not you have said.
    i have one more question is when user  pass an orgunit on unit then i have to fetch all the orgunit then again i have to get all the pernr which are under this orgunits .....and get the payroll results .....can i use below logic ? because i feel this is too length so is there any better way.  For the orgunit entered on the selection screen and capturing all the payroll results based on the perns of the respective orgunits ....
    ....based ont he function module rh_struc_get i will get all the orgunits , based on the orgunits i i will capture all the related position and for this position correspoinding pernr .......witht he relation ship O-S-P .. for all these Pernr's then i will get from the FM PYXX_READ_PAYROLL_RESULT. ...... get the payroll results.
    Thanks and regards
    syamala.

Maybe you are looking for

  • Adobe Acrobat Standard 9.0- 2 different part numbers?

    I see two different part numbes while shopping for Adobe Acrobat Standard 9.0. 22002418 and 22002420. Does anyone know the difference?

  • Case order of EVENT structure

    LV 8.2.1 - Regarding the order of cases in an EVENT structure: 1... Is there any performance (speed) advantage to having the most-commonly used events near the top of the list?  Does it have to search through a list to find which case to execute, or

  • How can I automatically update links to bookmarks that change?

    The documentation I am working on currently outputs to WebHelp, Word, and PDF. The files include numerous equations and figures. I created styles to automatically number these and bookmarked them for linking. It just occurred to me, however, that the

  • Issues syncing with OneNote 2013 and skydrive

    Hi Support I had a syncing issue on one of my OneNote notebooks. I used the MS help and they suggested that I confirm that the notebook is on the Skydrive web access, which it is, and then close the notebook. I have done that.  Now when i try and ope

  • How to use NewObjectArray method to create an array?

    This is my code: #include <jni.h> JNIEXPORT void JNICALL test(JNIEnv *env,jclass jcls)      jobjectArray array=(env)->NewObjectArray(10,jcls,NULL); }I use g++ compiler got this error: test.cpp: In function `void test(JNIEnv, __jclass*)':* test.cpp:5: