Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 22nd, 2007, 10:20 AM
Registered User
Join Date: Nov 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with crystal activex viewer in asp.net

Here is my code written in .aspx file.
I am getting blank page when I run this code. Please help me out.

<TITLE>Crystal Reports ActiveX Viewer</TITLE>
<BODY BGCOLOR=C6C6C6 leftmargin=0 topmargin=0 rightmargin=0 bottommargin=0 >
<object id="CRViewer"
    codebase="ActiveXViewer.cab" style="height: 248px">
<param name="EnableRefreshButton" value="1" />
<param name="EnableGroupTree" value="1" />
<PARAM NAME="DisplayGroupTree" VALUE=1>
<param name="EnablePrintButton" value=1>
<PARAM NAME="EnableExportButton" VALUE=1>
<PARAM NAME="EnableDrillDown" VALUE=1>
<PARAM NAME="EnableSearchControl" VALUE=1>
<PARAM NAME="EnableAnimationControl" VALUE=1>
<PARAM NAME="EnableZoomControl" VALUE=1>


<%--<object classid="CLSID:0E70ED0E-5775-4A74-8F8D-AC2FED09928D" codebase="Bin/swebrs.dll#Version=11.0" id="webBroker"></object>
<object classid="CLSID:D6E9A4B5-843D-43E3-9A1D-45C88419942E" codebase="Bin/swebrs.dll#Version=11.0" id="webSource"></object>--%>
Sub Window_Onload

    On Error Resume Next
    Dim webBroker
    Set webBroker = CreateObject("CrystalReports11.WebReportBroker.1")
    Dim webSource
    Set webSource = CreateObject("CrystalReports11.WebReportSource.1")
    webSource.PromptOnRefresh =false
    CRViewer.ReportSource = webSource
End Sub



Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with crystal activex report viewer NagarajuK Crystal Reports 1 March 17th, 2008 06:57 PM
asp.net with crystal activex viewer NagarajuK Crystal Reports 0 November 22nd, 2007 10:17 AM
Activate Crystal Report ActiveX viewer wchen Classic ASP Professional 0 October 16th, 2006 11:50 AM
Crystal Reports ActiveX Viewer omarmalik Crystal Reports 0 September 14th, 2006 05:39 AM
Help needed Crystal Reports ASP and ActiveX Viewer ros1188 Classic ASP Professional 17 January 28th, 2005 11:24 PM

All times are GMT -4. The time now is 06:35 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.