<?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 OpenDocument : qvp path in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/OCX-OpenDocument-qvp-path/m-p/1058056#M354535</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The OCX-control is a scaled down/tweaked version of QV.EXE and follows the same syntax from opening docs from a server:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-03-11 22_21_31-QlikView Help.png" class="jive-image image-1" src="/legacyfs/online/117756_2016-03-11 22_21_31-QlikView Help.png" style="height: 170px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I think you must leave out the &amp;lt;SERVER.&amp;gt;.com since that is the same as &amp;lt;HOST&amp;gt;.com and doesn't need/can't be specified twice:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas; color: #a31515;"&gt;qvp://&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas; color: #a31515;"&gt;&amp;lt;USER&amp;gt;@&amp;lt;HOST&amp;gt;.com/&amp;lt;Folder1&amp;gt;/&amp;lt;Folder2&amp;gt;/&amp;lt;FILENAME&amp;gt;.qvw&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Mar 2016 21:24:23 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2016-03-11T21:24:23Z</dc:date>
    <item>
      <title>OCX OpenDocument : qvp path</title>
      <link>https://community.qlik.com/t5/QlikView/OCX-OpenDocument-qvp-path/m-p/1058055#M354534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a C# application using OCX to open a local QVW in a form.&lt;/P&gt;&lt;P&gt;So far so good &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struggling however, to open a document from the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My starting point is the URL I use in access point:&lt;/P&gt;&lt;P&gt;&lt;A href="http://&amp;lt;SERVER&amp;gt;.com/&amp;lt;FOLDER1&amp;gt;/opendoc.htm?document=&amp;lt;FOLDER2&amp;gt;/&amp;lt;FILENAME&amp;gt;.qvw&amp;amp;host=&amp;lt;USER&amp;gt;@&amp;lt;HOST&amp;gt;.com"&gt;http://&amp;lt;SERVER&amp;gt;.com/&amp;lt;FOLDER1&amp;gt;/opendoc.htm?document=&amp;lt;FOLDER2&amp;gt;/&amp;lt;FILENAME&amp;gt;.qvw&amp;amp;host=&amp;lt;USER&amp;gt;@&amp;lt;HOST&amp;gt;.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From that I get these components.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Server (pointing to opendoc.htm)&lt;/LI&gt;&lt;LI&gt;Folder1 (pointing to opendoc.htm)&lt;/LI&gt;&lt;LI&gt;Folder2 (path to qvw)&lt;/LI&gt;&lt;LI&gt;Filename (of qvw)&lt;/LI&gt;&lt;LI&gt;Username+Host (QV Server)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Rearranging this to a qvp path, I made:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;qvp://&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;&amp;lt;USER&amp;gt;@&amp;lt;HOST&amp;gt;.com/&amp;lt;SERVER&amp;gt;.com/&amp;lt;Folder1&amp;gt;/&amp;lt;Folder2&amp;gt;/&amp;lt;FILENAME&amp;gt;.qvw&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;Now when executed, I am at least prompted for a password.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;If I enter an incorrect password, the app hangs &amp;amp; exists.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;If I&amp;nbsp; enter the correct password, my form control tells me that the file cannot be found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;So in a way, I feel I am 'close'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;What am I missing ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 20:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OCX-OpenDocument-qvp-path/m-p/1058055#M354534</guid>
      <dc:creator>simonb2013</dc:creator>
      <dc:date>2016-03-11T20:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: OCX OpenDocument : qvp path</title>
      <link>https://community.qlik.com/t5/QlikView/OCX-OpenDocument-qvp-path/m-p/1058056#M354535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The OCX-control is a scaled down/tweaked version of QV.EXE and follows the same syntax from opening docs from a server:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-03-11 22_21_31-QlikView Help.png" class="jive-image image-1" src="/legacyfs/online/117756_2016-03-11 22_21_31-QlikView Help.png" style="height: 170px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I think you must leave out the &amp;lt;SERVER.&amp;gt;.com since that is the same as &amp;lt;HOST&amp;gt;.com and doesn't need/can't be specified twice:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas; color: #a31515;"&gt;qvp://&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas; color: #a31515;"&gt;&amp;lt;USER&amp;gt;@&amp;lt;HOST&amp;gt;.com/&amp;lt;Folder1&amp;gt;/&amp;lt;Folder2&amp;gt;/&amp;lt;FILENAME&amp;gt;.qvw&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 21:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OCX-OpenDocument-qvp-path/m-p/1058056#M354535</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-03-11T21:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: OCX OpenDocument : qvp path</title>
      <link>https://community.qlik.com/t5/QlikView/OCX-OpenDocument-qvp-path/m-p/1058057#M354536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally got it : &lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; "&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;qvp://&amp;lt;server&amp;gt;/&amp;lt;folder2&amp;gt;/&amp;lt;Filename&amp;gt;.qvw"&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;Absolutely kicked myself how I worked it out in the end.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;Simply 'open in server' from DT, where you can browse with an explorer.&lt;BR /&gt;After opening in DT, you can see the qvp path that it opened.&lt;BR /&gt;Just pop that path into your C#.&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;A few of things made this harder than should have been.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;Of course, 1 of those might have been my lack of understanding.&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;Some of the QV documentation, like the one above, states NOT to put the 'qvw' extension in the filename - in my case it would not work unless it DID have the extension.&lt;BR /&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;Again, some of the QV documentation does not make it clear, what it deems the 'host'.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;My Access Point URL has a querystring called 'host', but in the end what actually worked for me in the qvp path, was to use the server name in the opendoc.htm path, as the host for qvp.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;The other difficulty: the original file I was testing &lt;EM&gt;still&lt;/EM&gt; does not work, but just about every other qvd does. I must have just picked the 1 that had something 'different' about it. But that's a job for 'tomorrow' to explore. I know it has some macros in it, so I am suspecting that might have something to do with it.&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;Thank you Petter for your relentless tolerance of my noob questions.&lt;BR /&gt;Hope the above if of some use to someone else on day !&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;Simon&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Mar 2016 02:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OCX-OpenDocument-qvp-path/m-p/1058057#M354536</guid>
      <dc:creator>simonb2013</dc:creator>
      <dc:date>2016-03-12T02:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: OCX OpenDocument : qvp path</title>
      <link>https://community.qlik.com/t5/QlikView/OCX-OpenDocument-qvp-path/m-p/1058058#M354537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The QV documentation was incorrect for my case.&lt;/P&gt;&lt;P&gt;However, that's not your fault !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your statement about QV.EXE using the same syntax,&amp;nbsp; gave me the clue to my final solution (explaned in last post) - so for that alone you have saved me !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;marked Correct &lt;SPAN class="emoticon-inline emoticon_happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Mar 2016 02:05:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OCX-OpenDocument-qvp-path/m-p/1058058#M354537</guid>
      <dc:creator>simonb2013</dc:creator>
      <dc:date>2016-03-12T02:05:12Z</dc:date>
    </item>
  </channel>
</rss>

