Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you get Crystal Report Viewer to open up Maximized?

Status
Not open for further replies.

TheBigO

Programmer
Feb 4, 2002
16
0
0
US
I have an ASP application which uses rptserver.asp to show the crystal reports on the web. It works fine however the reports come up as a small box and I'd like them to open up fully maximized. How do I do this?
 
Use
CViewer1.zoom 2
method
it will do the report maximized hundered percent..works me in VB :)
Regards
Nouman
 
With the help of a co-worker, to get this to work, I put the following code in the SmartViewerActiveX.asp file after <BODY BGCOLOR=C6C6C6 ONUNLOAD=&quot;CallDestroy();&quot;>

<script language=&quot;javascript&quot;>
window.resizeTo(window.screen.availWidth, window.screen.availHeight);
window.moveTo(0,0);
</script>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top