<?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: API in VB in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/API-in-VB/m-p/359420#M704588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QVDoc.Fields(&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;"LB02"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;).Select(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;"M*"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;)&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;but i get an error stating that the object referenece is not set to an instance of an object&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jun 2012 16:12:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-19T16:12:43Z</dc:date>
    <item>
      <title>API in VB</title>
      <link>https://community.qlik.com/t5/QlikView/API-in-VB/m-p/359418#M704586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone advise how to make selections using API via VB?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To date I have the below to open a file, refresh it, select the LIstbox i want to make the selection in but i cant get the IArrayOfRect Add methdo to work??&amp;nbsp; I can get it to Select all but i would like to eb able to specify a single select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; QvApp &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;New&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; QlikView.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt; font-family: Consolas;"&gt;Application&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; QVDoc &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;New&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; QlikView.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt; font-family: Consolas;"&gt;Document&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QVDoc = QvApp.OpenDoc(&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;"C:\pgrp.qvw"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;QVDoc.ReloadEx()&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; sel &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; QlikView.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt; font-family: Consolas;"&gt;ListBox&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sel = QVDoc.GetSheetObject(&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;"LB02"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; pband &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; QlikView.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt; font-family: Consolas;"&gt;IArrayOfRect&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pband.Add(&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;"M"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sel.GeneralSelect(pband)&lt;/P&gt;&lt;P&gt;sel.SendToExcel()&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;QVDoc.CloseDoc()&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;QvApp.Quit()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 15:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/API-in-VB/m-p/359418#M704586</guid>
      <dc:creator />
      <dc:date>2012-06-19T15:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: API in VB</title>
      <link>https://community.qlik.com/t5/QlikView/API-in-VB/m-p/359419#M704587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What field is displayed in the listbox?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To select in a field:&lt;/P&gt;&lt;P&gt;Activedocument.fields("Fieldname").Select "M*"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the API Guide you might also lookup ToggleSelect and SelectExcluded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 16:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/API-in-VB/m-p/359419#M704587</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2012-06-19T16:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: API in VB</title>
      <link>https://community.qlik.com/t5/QlikView/API-in-VB/m-p/359420#M704588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QVDoc.Fields(&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;"LB02"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;).Select(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;"M*"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;)&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;but i get an error stating that the object referenece is not set to an instance of an object&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 16:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/API-in-VB/m-p/359420#M704588</guid>
      <dc:creator />
      <dc:date>2012-06-19T16:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: API in VB</title>
      <link>https://community.qlik.com/t5/QlikView/API-in-VB/m-p/359421#M704589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LB02 is not a field. Replace the LB02 with the fieldname that is displayed in the listbox&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 16:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/API-in-VB/m-p/359421#M704589</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2012-06-19T16:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: API in VB</title>
      <link>https://community.qlik.com/t5/QlikView/API-in-VB/m-p/359422#M704590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thats it, so simple&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assumed it would use the ID, guess it is one of the read the def 'fieldname' !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 16:18:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/API-in-VB/m-p/359422#M704590</guid>
      <dc:creator />
      <dc:date>2012-06-19T16:18:13Z</dc:date>
    </item>
  </channel>
</rss>

