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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URL Toolbar

Status
Not open for further replies.

BlurredVision

Technical User
Aug 6, 2001
326
GB
Hi all,

Quick question. I am using CE 9.0, I am using a URL to call a report using activex. Is it possible to hide the activex tool bar?

Thanks, Brian
 
You can certainly change the settings of the ActiveX viewer to remove certain buttons.

Under the CMC, click on Manage Servers, and then the name of your Web Component Server.
There will be several check boxes that you can select or deselect to hide or show certain functionality.

Hope this helps.

~Brian
 
Hi,
If you use a JavaScript function to call the report, you can control what is 'on' the report viewer window:
Minimal code follows:

Code:
function ViewIt(rn){
viewerstr = "&init=actx"
newloc = "viewrpt.cwr?id=" + rn + viewerstr
 windowprops = "fullscreen=no,location=no,scrollbars=no,menubars=no,toolbars=no,resizable=yes";
reportWindow=window.open(newloc,"rptWindow",windowprops);

This produces a viewer window with only the resizable attribute - the 'location=no' part hides the URL .

[profile]
[/color]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top