<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Open PDF file when WebDev page opens</title>
        <description> I have a standard WebDev Dynamic Page and want to open a PDF file when the page has opened:

IF gsPDFName &amp;lt;&amp;gt; &amp;quot;&amp;quot; THEN
	FileDisplay(gsPDFName, &amp;quot;application/pdf&amp;quot;)
END

However wherever I put the code either the opening of the page takes precedent or the opening of the file does.

How can I open the page and when loaded open the PDF file please?

BTW OnLoad does not work.

Thx.</description>
        <link>https://www.wxforum.info/read.php?27163,777630,777630#msg-777630</link>
        <lastBuildDate>Tue, 19 May 2026 02:14:59 +0200</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://www.wxforum.info/read.php?27163,777630,777630#msg-777630</guid>
            <title>Open PDF file when WebDev page opens</title>
            <link>https://www.wxforum.info/read.php?27163,777630,777630#msg-777630</link>
            <description><![CDATA[ I have a standard WebDev Dynamic Page and want to open a PDF file when the page has opened:<br />
<br />
IF gsPDFName &lt;&gt; &quot;&quot; THEN<br />
	FileDisplay(gsPDFName, &quot;application/pdf&quot;)<br />
END<br />
<br />
However wherever I put the code either the opening of the page takes precedent or the opening of the file does.<br />
<br />
How can I open the page and when loaded open the PDF file please?<br />
<br />
BTW OnLoad does not work.<br />
<br />
Thx.]]></description>
            <dc:creator>John Fligg</dc:creator>
            <category>WinDev mobile Solutions</category>
            <pubDate>Mon, 20 Feb 2017 15:04:00 +0100</pubDate>
        </item>
    </channel>
</rss>
