Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / ActiveX Controls / February 2005

Tip: Looking for answers? Try searching our database.

Link to Snapshot Viewer .snp files doesn't work

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cotrail05 - 12 Feb 2005 00:13 GMT
In our asp web application this code used to work just fine to launch a
snapshot report in a new window.  

<a target="_blank" href="../reports/Users/Employee Birthdays By
Range.snp">Employee Birthdays By Range.snp</a>

Pretty straightforward.  It seems like starting somewhere in IE 5.5+,
something has changed in the browser/security settings to prevent the activex
control from properly displaying the report in a new window.  Instead it
wants to download the file with an .mdb extension.  weird.

To fix it I had to embed the snapshot viewer in the page that originally had
the links.

<OBJECT ID="SnapshotViewer" WIDTH=775 HEIGHT=550
CLASSID="CLSID:F0E42D60-368C-11D0-AD81-00A0C90DC8D9">
<PARAM NAME="_ExtentX" VALUE="16722">
<PARAM NAME="_ExtentY" VALUE="11774">
<PARAM NAME="_Version" VALUE="65536">
<PARAM NAME="SnapshotPath" VALUE="<%=reporturl & "/" & FileArray(i)%>">
<PARAM NAME="Zoom" VALUE="1">
<PARAM NAME="AllowContextMenu" VALUE="-1">
<PARAM NAME="ShowNavigationButtons" VALUE="-1">
</OBJECT>

Now it works fine, but doesn't offer the same desired solution by management
as before.  I did quite a bit of research on the security patches to prevent
the buffer overflow problem with the snapshot viewer control, but have been
unable to change any settings that would recreate the old behavior of
allowing it to open in a new window.  Any ideas.
Douglas J. Steele - 12 Feb 2005 12:11 GMT
I'd suggest asking your question in a more relevant newsgroup, such as
microsoft.public.windows.inetexplorer.ie55.programming.activexcontrol

This newsgroup is for questions related to using ActiveX controls in Access,
the database product that's part of Office Professional.

However, I'm not sure whether you can access the group above through
Microsoft's web interface. You may have to switch to an NNTP-compliant
application, or go through Google.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

> In our asp web application this code used to work just fine to launch a
> snapshot report in a new window.
[quoted text clipped - 31 lines]
> unable to change any settings that would recreate the old behavior of
> allowing it to open in a new window.  Any ideas.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.