<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: OCX getting refresh button to work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/OCX-getting-refresh-button-to-work/m-p/438365#M163424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of the avenues I'm now trying is to execute the refresh menu Item. The menues are not visible in the ocx and the OCX reference manual states that you should download the OCX sdk which does not exist anymore (everything is online) to get the menu constant definitions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know there the menu Constants definitions are which according to the manual says its in qvmenu.bas ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Bjarni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Mar 2013 08:11:50 GMT</pubDate>
    <dc:creator>Bjarni_Fridjonsson</dc:creator>
    <dc:date>2013-03-14T08:11:50Z</dc:date>
    <item>
      <title>OCX getting refresh button to work</title>
      <link>https://community.qlik.com/t5/QlikView/OCX-getting-refresh-button-to-work/m-p/438364#M163423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have an issue that some of you might shed a light on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have a document that is client initiates refresh and the user presses the refresh button and he gets his new data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All fine and dandy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when embedded into the ocx there is no refresh button so we need to be able to do that in code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;axQlikMainApp.Application.LoadNewerDoc();&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;or&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;axQlikMainApp.ActiveDocument.GetApplication().LoadNewerDoc();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;sound like they should work but always return a COM error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;The documentation says "Replaces active (remote) document with newer version on server, if one exists."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;does anyone know how to get refresh to work in the ocx or in code ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;//Bjarni&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 17:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OCX-getting-refresh-button-to-work/m-p/438364#M163423</guid>
      <dc:creator>Bjarni_Fridjonsson</dc:creator>
      <dc:date>2013-03-13T17:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: OCX getting refresh button to work</title>
      <link>https://community.qlik.com/t5/QlikView/OCX-getting-refresh-button-to-work/m-p/438365#M163424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of the avenues I'm now trying is to execute the refresh menu Item. The menues are not visible in the ocx and the OCX reference manual states that you should download the OCX sdk which does not exist anymore (everything is online) to get the menu constant definitions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know there the menu Constants definitions are which according to the manual says its in qvmenu.bas ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Bjarni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 08:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OCX-getting-refresh-button-to-work/m-p/438365#M163424</guid>
      <dc:creator>Bjarni_Fridjonsson</dc:creator>
      <dc:date>2013-03-14T08:11:50Z</dc:date>
    </item>
  </channel>
</rss>

