<?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: How to get file path of opened document from OCX object. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-file-path-of-opened-document-from-OCX-object/m-p/358031#M1239562</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am facing same problem,, do you find solution for this??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jan 2015 04:56:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-19T04:56:53Z</dc:date>
    <item>
      <title>How to get file path of opened document from OCX object.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-file-path-of-opened-document-from-OCX-object/m-p/358030#M1239558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;I am using OCX control in our program and I need to save links to opened documents, that's why I need to get full path (or just the ServerName) of opened document in OCX control.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;If I open some document:&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13426882473942108" jivemacro_uid="_13426882473942108"&gt;&lt;DIV&gt;AxQlikOCX.OpenDocument(“qvp://ServerName/MyDir/MyFile.qvw")&lt;/DIV&gt;&lt;/PRE&gt;&lt;DIV&gt;you can find the opened string in &lt;STRONG&gt;&lt;EM&gt;Me.AxQlikOCX.DocName. &lt;/EM&gt;&lt;/STRONG&gt;This is OK.&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;BR /&gt;But if you try to open only&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;“qvp://”&lt;/EM&gt;&lt;/SPAN&gt;&amp;nbsp; string&lt;/DIV&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13426884810327931" jivemacro_uid="_13426884810327931"&gt;&lt;DIV&gt;AxQlikOCX.OpenDocument(“qvp://”)&lt;/DIV&gt;&lt;/PRE&gt;&lt;DIV&gt;a "Connect to Server" window pops-up. Here you can type your server name and choose from available documents. After clicking on "Open" button, document is opened correctly but then when I look at &lt;STRONG&gt;&lt;EM&gt;Me.AsQlikOCX.DocName property, &lt;/EM&gt;&lt;/STRONG&gt;there is just &lt;EM&gt;"qvp://"&lt;/EM&gt;. (What I was opening.)&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Is there any way how to get full file path or just the server name?&lt;/DIV&gt;&lt;DIV&gt;I was looking in &lt;STRONG&gt;&lt;EM&gt;AxQlikOCX.ActiveDocument&lt;/EM&gt;&lt;/STRONG&gt; object, but I just found the &lt;STRONG&gt;&lt;EM&gt;FileName&lt;/EM&gt;&lt;/STRONG&gt; property (which consists of &lt;EM&gt;"MyDir/MyFile.qvw"&lt;/EM&gt;) and &lt;STRONG&gt;&lt;EM&gt;MyWorkingDirectory&lt;/EM&gt;&lt;/STRONG&gt; property (which probably holds exact path on server &lt;EM&gt;"C:\Dir1\Dir2\MyDir"&lt;/EM&gt;), but I am not able to find something like &lt;EM&gt;"qvp://ServerName/MyDir/MyFile.qvw"&lt;/EM&gt; or just &lt;EM&gt;"qvp://ServerName/"&lt;/EM&gt; which I can concatenate with &lt;STRONG&gt;&lt;EM&gt;AxQlikOCX.ActiveDocument.FileName&lt;/EM&gt;&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Thanks!&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-file-path-of-opened-document-from-OCX-object/m-p/358030#M1239558</guid>
      <dc:creator />
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to get file path of opened document from OCX object.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-file-path-of-opened-document-from-OCX-object/m-p/358031#M1239562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am facing same problem,, do you find solution for this??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 04:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-file-path-of-opened-document-from-OCX-object/m-p/358031#M1239562</guid>
      <dc:creator />
      <dc:date>2015-01-19T04:56:53Z</dc:date>
    </item>
  </channel>
</rss>

