<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.ecibemet.com/index.php?action=history&amp;feed=atom&amp;title=PdcApplication.OpenFile</id>
	<title>PdcApplication.OpenFile - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.ecibemet.com/index.php?action=history&amp;feed=atom&amp;title=PdcApplication.OpenFile"/>
	<link rel="alternate" type="text/html" href="http://wiki.ecibemet.com/index.php?title=PdcApplication.OpenFile&amp;action=history"/>
	<updated>2026-05-06T17:19:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://wiki.ecibemet.com/index.php?title=PdcApplication.OpenFile&amp;diff=35384&amp;oldid=prev</id>
		<title>TC: Created page with &quot;== Declaration == OpenFile(strFilePath As String)  == Description == Open a file based on a filepath. This function is mostly intended for use in the Cloud for when a file was saved to the users computer and now needs to be opened. But it also works on-prem.  == Parameters == strFilePath: A path leading to a file or folder, for example: &quot;C:\Users\Admin\Documents\&quot;. Keep in mind that this path needs to be from the perspective of the user.  == Notes == This method is avail...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.ecibemet.com/index.php?title=PdcApplication.OpenFile&amp;diff=35384&amp;oldid=prev"/>
		<updated>2024-08-23T12:00:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Declaration == OpenFile(strFilePath As String)  == Description == Open a file based on a filepath. This function is mostly intended for use in the Cloud for when a file was saved to the users computer and now needs to be opened. But it also works on-prem.  == Parameters == strFilePath: A path leading to a file or folder, for example: &amp;quot;C:\Users\Admin\Documents\&amp;quot;. Keep in mind that this path needs to be from the perspective of the user.  == Notes == This method is avail...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Declaration ==&lt;br /&gt;
OpenFile(strFilePath As String)&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Open a file based on a filepath. This function is mostly intended for use in the Cloud for when a file was saved to the users computer and now needs to be opened. But it also works on-prem.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
strFilePath: A path leading to a file or folder, for example: &amp;quot;C:\Users\Admin\Documents\&amp;quot;. Keep in mind that this path needs to be from the perspective of the user.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This method is available both in the EciCloud and in the on-prem version of Bemet. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Code example ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;vb&amp;quot;&amp;gt;&lt;br /&gt;
Dim objReport As pdcReport&lt;br /&gt;
objReport = PDC.App.Reports.Open(1409)&lt;br /&gt;
objReport.PrintToFile(&amp;quot;\\tsclient\C\ECI\filename.pdf&amp;quot;)&lt;br /&gt;
PDC.App.OpenFile(&amp;quot;C:\ECI\filename.pdf&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Availability ==&lt;br /&gt;
Bemet 2024R4 and higher.&lt;/div&gt;</summary>
		<author><name>TC</name></author>
	</entry>
</feed>