# Thursday, 16 October 2008

Ensure the following keys are present:

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]


Group policy [User Configuration\Administrative Templates\Windows Components\Internet Explorer]
Prevent performance of First Run Customize settings - Enabled


ie | xp
Thursday, 16 October 2008 08:06:33 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  |  Trackback
# Friday, 17 March 2006

Sometimes being automatically offered the choice to download or open a .pdf is desired.  There are different methods to do this, using Active X, Java, JavaScript and ASP coding.  Here are several different ways to publish pdf files on IIS, some of which giving an open/save choice without and scripting.

Method1 - Embed

Use: <EMBED src="/path/to/file" width="600" height="600" type=application/pdf href="/path/to/file"></EMBED> <NOEMBED>Your browser does not support embedded PDF files.</NOEMBED>

note: works in IE6, Firefox 1.5; add "href=" for netscape

Your browser does not support embedded PDF files. <a href="http://blog.johnkelly.co.uk/ct.ashx?id=26a47232-46ba-4fef-b179-38a112c41883&amp;url=http%3a%2f%2fblog.johnkelly.co.uk%2fcontent%2fbinary%2f13predictions.pdf">Open file by clicking here.</A>

Method2 -

13predictions.pdf (62.89 KB)

Method3 -


Method4 -


Method5 - Object

<OBJECT CLASSID="clsid:CA8A9780-280D-11CF-A24D-444553540000" WIDTH="600" HEIGHT="600">
        <PARAM NAME="SRC" VALUE="path/to/file">
        <PARAM NAME="HREF" VALUE="path/to/file">
        <EMBED SRC="path/to/file" HEIGHT="500" WIDTH="500" HREF="path/to/file">
                        Your browser does not support embedded PDF files.

Note:  Due to a bug in FreeTextBox (DasBlog's native editor) this approach works, briefly, until the post is edited which screws up the EMBED code.


Method6 - iframe


Method7 - ftp

A link to the file via an ftp site might open the file in the same window, a new window or offer an open/save dialog depending on the browser


html | ie | pdf
Friday, 17 March 2006 11:25:28 (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback
# Saturday, 11 February 2006

RFC 2068 stipulates two concurrent download sessions.  IE allows two such sessions (plus one queued).  To increase this to 10, in:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

add the following DWORD values:

Value name: MaxConnectionsPer1_0Server
Value data: 10
Base: Decimal

Value Name: MaxConnectionsPerServer
Value data: 10
Base: Decimal

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]

Saturday, 11 February 2006 13:45:43 (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback