Site hosted by Angelfire.com: Build your free website today!
 

PowerBuilder - Viewing a PSR (PowerSoft Report) File from a Browser


Concept : Use a generic browser to view a PSR File

Reality : Not quite as simplistic as it should be.

Installing the Plugin

You have to create a filetype relationship.  I did this with Internet Explorer.  

On the FileTypes tab in Windows Explorer, create a new registered filetype.  
      Set the associated extension as "psr"
      Set the context/MIME type as "application/datawindow"
      Creat a new action, "open"
      Set the application to be use as "Rundll32.exe "C:\Program Files\Internet Explorer\PLUGINS\npdwe60.dll""
      Click "Ok"

Building the required Html file :
      You have to know the name of the PSR
      The width and height tags are required.

   <HTML>
   <HEAD>
      <TITLE>PSR Viewer</TITLE>
   </HEAD>
   <P>
   <EMBED SRC="contact.psr" WIDTH=550 HEIGHT=550></P>
   <P>
   </BODY>
   </HTML>