473,698 Members | 2,426 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Enabling the "Print Preview" ToolBar !

Under Tools->Startup I have set AllowBuiltInToo lbars to NO.

Thus in the Print Preview Window, the user cannot CLOSE the window or
even Print.

In my Report's on Open Event I place the foll code:

DoCmd.ShowToolb ar "Print Preview", acToolbarYes
However the ToolBar is not visible ... according to Access-Help:
***
The built-in toolbars are also not available to display or hide by
using this action if you set the AllowBuiltInToo lbars property to
False (0) in Visual Basic, or if you set the Allow Built-in Toolbars
option to False in Visual Basic by using the SetOption method.
****

So what are my options now ? Will I have to manually switch off each
Toolbar using VBA at start-Up ? If so can anyone please post a
complete list of ALL toolbars to ensure I don't miss any ?

Or ... is there any easier way ??

Thx & Best Rgds,
Prakash.
Nov 12 '05 #1
1 9477
"Prakash Wadhwani" <si****@omantel .net.om> wrote in message
news:60******** *************** ***@posting.goo gle.com...
Under Tools->Startup I have set AllowBuiltInToo lbars to NO.

Thus in the Print Preview Window, the user cannot CLOSE the window or
even Print.

In my Report's on Open Event I place the foll code:

DoCmd.ShowToolb ar "Print Preview", acToolbarYes
However the ToolBar is not visible ... according to Access-Help:
***
The built-in toolbars are also not available to display or hide by
using this action if you set the AllowBuiltInToo lbars property to
False (0) in Visual Basic, or if you set the Allow Built-in Toolbars
option to False in Visual Basic by using the SetOption method.
****

So what are my options now ? Will I have to manually switch off each
Toolbar using VBA at start-Up ? If so can anyone please post a
complete list of ALL toolbars to ensure I don't miss any ?

Or ... is there any easier way ??


AllowBuiltInToo lbars = No only disallows *built in* toolbars. So the solution
is to build your own toolbar with the print options you want on it and display
that instead. The easiest way is to put the name of your custom toolbar in the
Toolbar property of the report.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
660
by: John Baker | last post by:
HI; I feel like a fool..I put CUTE FTP in my last request for help --it should have been CUTE PDF! I have FTP on my mind because I have been working on a web based application, and somehow my brain got stuck on it..sorry! Hi: I need some help writing code that will "print" a report using Cute PDF.
5
1879
by: Paul Sullivan | last post by:
We are a state agency that views protected medical information via our intranet. The screens even have privacy shields. Alarmingly, uses can "Print" and "Save As" which destroys the protection of the health information at the level we want. QUESTION: Can we shut those off?? Any other suggestions?? Paul Sullivan
0
1567
by: Nina | last post by:
Hi there, I use PrintPreviewDialog to preview text of a textbox. It shows pages of text very well in PrintpPreviewDialog. But when I click the Print button on the dialog, it prints one blank page. Please help me to make the print button to print the text in the preview? Thanks in advance. Nina
1
2318
by: Steff | last post by:
I am wandering if my code is making sense... I use a lot the print function. Is it weird in this case where I have to display an array ? I thought it would be better to have the entire array in php but now I am not sure if that makes sense. Can you tell me please ? <html> <head>
1
4967
by: Appu | last post by:
How to Check in the window print dialog box whether we clicked either "print" or "cancel". while clicking a button i call wnidow.print() to pop up the windows PRint Dialog box. I want to check whether the user clicked either "print" or "cancel" in that print dialog box of windows. Please Help soon. Thanks T.Appasamy
0
1129
by: thiago777 | last post by:
Hello all, I need to show the PrintDialog screen so that client can choose/select a specif printer to use after viewing the print preview. In other words, after the printPreview is completely loaded (fired printDoc event once), I need to take control over the action performed when the user clicks in the "print" button/icon so that I can show the PrintDialog instead of sending the document directly to the printer. Im sure this should be...
0
1285
by: ARC | last post by:
The new tabbed interface in access 2007, has led to one interesting problem. With a report shown in preview mode, and maximized, it just becomes a new tab. The user can click back over to the form, and if they make changes, they expect it to appear in the already previewed report (which it won't). So the question is how to prevent this. Either make every other standard form invisible in a report's On-Open event, or find another way? I...
1
2614
by: anmcafresher | last post by:
Hi Guys, I am working with an option where I do want to print a background image without enabling the "Print Background Color and Image" in the IE. I do want to get this image printed on each page that i get printed through Printer like a footer.
10
1582
by: Prisoner at War | last post by:
Hi, your friendly neighborhood n00b here, just wondering why on earth the Py3K folks want to mess with a simple thing like the "print" "command" (is that what it's called, a command?), turning it into "print()"...I mean, what's the point, exactly?? To look like a more "traditional" computer-language format? And what's with not supporting the so-called softspace "feature" of the current "print" command, where a space after a comma, like
0
8675
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8897
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7729
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6521
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4370
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2331
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2002
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.