Opening dynamic files in ActiveX control

Hi,
I wana to open my files in activex control (file name is store in database) and i want to change the file in activex as i change my record.Plz help me how i can do that.
Thanx in Advance.
Zahid Mahmood.

Hello William,
Have you seen this note already ??
Microsoft security patch  KB834707 side effects in NW. SAP Note 785308

Similar Messages

  • [BUG] deploytk.dll file and activex control is NOT uninstalled

    deploytk.dll file and activex control is NOT uninstalled, when you uninstall the latest JRE.
    I have uninstalled the latest JRE, but the file deploytk.dll is still present in c:\windows\system32\ and the related activex control deploytk.dll 6.0.190.4 is loaded in IE8. Please fix this bug.
    Windows Vista SP2

    Unfortunately, it was *all* of my ActiveX controls that wouldn't load. That said, A user of the Info-LabVIEW list came up with the answer: reinstall the RunTime engine - wierd....
    thanks,
    Christopher
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

  • How to list all currently open Excel files with ActiveX?

    Hello all!
    I would like to program with ActiveX a way to retrieve a list (array of strings) of the filenames of the currently opened Excel files in windows. However, I am fairly new to the ActiveX/Excel business in LV and after hours looking at the "millions" of objects in the property nodes I give up and hope some kind soul here can help me. I couldn't find any information in this forum regarding the same issue, although some were close
    I am using LV 7.1 without the Report Generation Toolkit.
    Thanks!
    /Goran

    Hi KC,
    thanks for your reply. I have in fact been able to find the desired things in the ActiveX properties/methods for Excel in LabView. It took me some looong work going through the functions which I suspected to be the ones. Anyway, I post a little jpeg here of the code if someone ever needs the same functionality. What it does is that it checks how many Excel workbooks are open and controls if each of them matches the searched Excel filename, if one does, it is closed.
    Enjoy
    /Goran
    Attachments:
    List open excel sheets and close open ones.jpg ‏104 KB

  • Opening excel file usign ActiveX

    Hi,
    Is it possible to open an excel file using LabVIEW with ActiveX controls and display it on the screen, edit some cells, save it and close? I am new to this ActiveX stuff. Please help me. Thanx.

    The quickest way would be to use the NI LabVIEW Report Generation Toolkit for Midrosoft Office that is available at this URL:
    http://sine.ni.com/apps/we/nioc.vp?cid=5769〈=US
    You can also do it yourself through ActiveX like you said. Open excel._application, from that get a reference to the workbook, then the worksheet, then the cell. Add the data, change cells, add the data, etc. Invoke a save when you are done. I don't remember if it normally opens Excel for the user to see or if you have to command that and then command the closing (if desired).
    Be sure to close all of the references that you opened.
    I hope that this helps!
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • Open Dynamic file in a Directory

    Hi,
    I Have a Directory name like "Location" in that directory the users are post daily a file like IL0012, IL0013,ILdd like that.So i wnat to open that file in read mode so i tried to open like this
    f1 utl_file.file_type;
    begin
    f1:=utl_file.fopen(location,'%IL%','r',6000);
    end.
    like that above i have permisions to Location directory.and also after reading file i want to delete that file If i have a fixed filen name i ma bale to read file but the problem is for dynamic file name.
    any help

    Your problem is not clear. What is the problem with dynamic file? Do you want to work with a single file or multiple files in that directory? If it is a single file then how do you determine which file you want to work with?
    If you want to work with all the files there then probably try something like, loop through some dynamic construction of IL followed by 4 character left padded value of number from 1 to 31/365/whatever you want.
    use the UTL_FILE.FGETATTR to know if the file exists, open it, read it and do what you want.
    use the UTL_FILE.FREMOVE to delete the file, if you have permissions.
    PS: I don't have permissions here to demonstrate an example.
    HTH

  • Labview6.1 hangs on windows 98 when using adobe acrobat control for activex to open pdf file

    I downloaded the attached vi from this forum and it works perfectly in windows XP with the same version of labview(6.1) and adobe acrobat reader (6.0). However, it hangs immediately when i am just trying to open the vi on windows 98....
    I have also experimented with the MS browser activex control(activex container + object), it works on both windows XP and 98 for opening html files and on XP, it can open a link that leads to an PDF file display properly in the container window but it fails again in 98.
    Please help ...... thanks
    Attachments:
    Display PDF.vi ‏72 KB

    mengyi wrote:
    ... What version of acrobat would you suggest?
    The VI you posted worked without a problem on my Win98 machine with AcrobatReader v5.0.5.
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."

  • IE 11 Restricting Running Scripts and ActiveX Controls on Local Files

    I have been coding for my MediaWiki pages and needed to test these pages with IE 11. However, whenever I open a file in IE 11, an annoying message saying "IE 11 Restricted this website from running scripts and ActiveX controls." How do I do a
    one-time fix to stop this from happening in future to local files?

    to test your WEBSITE.... publish it to a web server. eg. localhost/test.local
    web servers and browsers use http(s), not the file: protocol.
    Questions regarding Internet Explorer 8, 9 and 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions. If you are a consumer looking for answers or to
    raise a question, it's highly recommended you head on over to http://answers.microsoft.com/en-us
    Rob^_^

  • Problems with automation open for activex control

    Hi,
    I want to open an ActiveX Control (.ocx-file) with the Automation Open function. This .ocx file was successfully registered by using regsvr32.
    The VI is working fine after using Automation Open and all the contained classes are accessible.
    However, after saving the VI and opening it again the error 2147221164 appears and the program failes - referencing the object new at the Automation Open functions solves the problem, but only till the next reopening of the VI.
    Hope somebody has a solution for this "instability"... 
    Sorry for bothering and thanks for any help!!!

    Hi smercurio_fc,
    originally i had a dll written in c++ which contained classes - i wrapped this in a activex control to have access via labview. Im calling the activex control with the automation open function in same VI in which i am also using property nodes and invoke nodes to have access to the classes and methods...
    But as i told before, it happens that Automation Open fails, when starting the VI again after closing(saving), even so it was working perfectly fine before...
    Thanks for your response... 

  • Dynamic location for RTF file in Bursting Control File

    Hi
    I have a query that determines the directory location of the RTF file on the server. (eg. query returns /u01/apps/erpd2/inst/apps/erpd2_mcdeagaix821/temp/XMCI_B2CR009_RFS.rtf
    Instead of hard-coding this location as:
    <xapi:template type="rtf" location="/u01/apps/erpd2/inst/apps/erpd2_mcdeagaix821/temp/XMCI_B2CR009_RFS.rtf">
    </xapi:template>
    I change the above to
    <xapi:template type="rtf" location="${RTF_LOC}">
    </xapi:template>
    and fetch RTF_LOC at the bursting level in the Data template.
    After specifying the location as a token in the bursting control file, the Bursting program errors out. It does not even go to the post-processing stage.
    I have fetched the Outbound SMTP server name in a similar fashion and specified the same as a token in the Bursting XML. It works fine. Also, when I hard-code the same RTF location in the bursting file, it works! Just specifying it as a token errors out the bursting process.
    Pls advise.
    Ritu

    Hi Ritu,
    I am probably too late to help you, but here is an answer for completeness. I had the same problem as you, I needed to make my template selection dynamic.
    The bursting control file below was not working until I applied patch 8594771 (BURSTING DOES NOT SUPPORT ESCAPE CHARACTERS LIKE "FIRST LAST <[email protected]>" )
    I managed to find this patch by running the XML Publisher Report Bursting Program with debug=Yes and got the message "java.util.zip.ZipException: ZIP file must have at least one entry". Searching on Oracle Support for this message delivered patch number 8594771
    Here is my control file:
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="/XX_DUNNING/LIST_G_SITE_USE_ID1/G_SITE_USE_ID1/LIST_G_CORRESPONDENCES/G_CORRESPONDENCES">
    <xapi:delivery>
    <xapi:email server="localhost" port="99"
    from="[email protected]"
    reply-to="[email protected]">
    <xapi:message id="email1" to="${CF_EMAIL_ADDRESS}" cc="${CF_CC_EMAIL_ADDRESS}"
    attachment="true"
    subject="${LIST_G_CUSTOM_LETTER_HEADER/G_CUSTOM_LETTER_HEADER/HEADER_TEXT}">
    ${LIST_G_CUSTOM_LETTER_FOOTER/G_CUSTOM_LETTER_FOOTER/FOOTER_TEXT}
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="email1">
    <xapi:template type="xsl-fo" location="${TEMPLATE_NAME}"
    filter=".//G_CORRESPONDENCES[DUNNING_METHOD='Email']">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    location="xdo://XX.${LETTER_NAME}.en.00" also worked
    Regards,
    Ruth Miller

  • After update I am no longer able to open email attachments by just clicking on the attachment. I now have to click control and then click open linked file. How can I open attachments by simply clicking on them?

    After update I am no longer able to open email attachments by just clicking on the attachment. I now have to click control and then click open linked file. How can I open attachments by simply clicking on them?

    Unless you believe middle-click is yours and don't like it being usurped, mine is set globally to "Enter".

  • How to get the number of pages in a PDF file with AcroPDF ActiveX control

    Hi,
    I am using the AcroPDF ActiveX control provided by Acrobat Reader and Professionals(version 9). I just wonder if I using LoadFile to load a PDF document, how can I know the number of pages in that PDF? I do not find any properites or methods that can do that.
    Thanks
    Alan

    Hi unk2,
    There's no functionality in the Acrobat.com online services to do a character count. But, you could use ExportPDF to convert your PDF file to Word format, and then do your character count in Word.
    Please let us know if you need additional assistance.
    Best,
    Sara

  • BizTalk 2013 SFTP Adapter Dynamic SFTP send port exception: Open remote file for write error

    I am using BizTalk 2013 SFTP adapter. I defined a Dynamic One-Way
    send port on BizTalk server administration.
    Below is the error I'm getting on BizTalk while trying to write files to a designated folder on a client's SFTP server.
    When defining the same path and properties on a Static One-Way send port everything works properly and the files are being saved on the SFTP server.
    A message sent to adapter "SFTP" on send port "ComverseSFTP_1.0.0.0_ComverseSFTP.SendFileToSFTP_SendFileToSFTPServer_f6b86b86a22079f8" with URI "SFTP://abc.xyz.com:22/upload/%SourceFileName%"
    is suspended.
    Error details: Microsoft.BizTalk.Adapter.SftpInvoker.SftpException: Open remote file for write error.
     Server stack trace:
       at Microsoft.BizTalk.Adapter.SftpInvoker.SftpInvoker.OpenRemoteFileWrite(String fileName, Int32 fileOffset)
       at Microsoft.BizTalk.Adapter.SftpInvoker.SftpFileWriterStream.Write(Byte[] buffer, Int32 offset, Int32 count)
       at Microsoft.BizTalk.Adapter.Sftp.SftpOutputChannel.Send(Message message, TimeSpan timeOut)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
     Exception rethrown at [0]:
       at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
     Exception rethrown at [1]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.ServiceModel.Channels.IOutputChannel.EndSend(IAsyncResult result)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.SendCallback(IAsyncResult result)
    MessageId:  {926F44F2-9180-4B33-96FF-9E4CBC459382}
    InstanceID: {36A50A7F-63C4-48D9-903D-A33C85DDAE36}
    Can you please assist with explaining why are we getting this exception?
    Thank you for your help.

    Below is the error I'm getting on BizTalk while trying to write files to a designated folder on a client's SFTP server.
    When defining the same path and properties on a Static One-Way send port everything works properly and the files are being saved on the SFTP server.
    A message sent to adapter "SFTP" on send port "ComverseSFTP_1.0.0.0_ComverseSFTP.SendFileToSFTP_SendFileToSFTPServer_f6b86b86a22079f8" with URI "SFTP://abc.xyz.com:22/upload/%SourceFileName%"
    is suspended.
    Error details: Microsoft.BizTalk.Adapter.SftpInvoker.SftpException: Open remote file for write error.
    Hi Yaeli1,
    From the error message above,  please check the permission for file writing , it seems that this issue is related to access permission.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • To open a file where the filename is dynamic ......

    String logfile=request.getParameter("value");
    out.println(logfile);
    FileInputStream fs1 = new FileInputStream("/opt/Abhishek/software/tomcat/webapps/AMS/Backend/History/");
                                    DataInputStream in1 = new DataInputStream(fs1);
                                    while (in1.available() !=0)
                                    String str=in1.readLine();
                                    out.println(str+"<br>");
                                    }I have to display the available number of logfiles in a directory in a JSP page and once the logfile is clicked i need to show its contents.Once the logfile is clicked the filename is passed as a parameter to another JSP page the code shown above.In the above code i have the filename .And the File is available in the History Directory.I dont know what to put after the History .How to open the file that is mentioned by the value which is dynamic ????????
    Any one could Please Help???????????????

    >
    String logfile=request.getParameter("value");
    FileInputStream fs1 = new FileInputStream("/opt/Abhishek/software/tomcat/webapps/AMS/Backend/History/" + logfile);?

  • How to open the file in a tree control

    I use a tree control to list all files in a selected directory, I checked the sample with LV (Directory hierarchy in tree control.vi) and want to add a function like following:
    Atfer listing all files, if I click a file listed in the tree control, the computer can open the file automaticly.

    Hi,
    you can use the "Open URL in Default Browser.vi" to open all the files you select in your tree.
    Mike
    Attachments:
    Directory Hierarchy in Tree Control_LV85.vi ‏35 KB

  • Can't open excel file after saving and closing excel with activex

    I'm using activex to write and save excel files in LabVIEW. My application opens excel (not visible)writes a file, saves it, and then closes both the file and excel. When I try to open the file Excel opens but the file is not displayed, I see the excel header and footer but the file itself does not display. My application is still running at this point. Any suggestions?

    It is critical when using ActiveX with Excel that ALL refnums be properly closed when they are no longer used. Just a single refnum left open will cause the exact situation that you describe. Typically, but not required, the refnums will be closed in the reverse order in which they were created. Here is a good sequence:
    Open Application ref
    Property Workbooks ref
    Open Workbook ref
    Close Workbooks ref
    Select Sheet ref
    Select Range ref
    Write Value2 to Range
    Close Range ref
    Close Sheet ref
    Save Workbook
    Close Workbook ref
    Close Application ref
    When you have properly closed all refnums, the problem will disappear.
    Michael Munroe
    Certified LabVIEW Developer
    www.abcdef.biz
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

Maybe you are looking for