473,738 Members | 4,774 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Close icon on custom toolbar doesn't work

I'm moving Access2000/2003 apps into Access2007 running on XPpro
Dells.
I've found where to lower the macro security and with a tweak to
references have allowed me to use my custom toolbars without the
ribbon. My toolbars are small usually just Print and Close.
The Print icon works OK but nothing happens when you click on Close.
Any work around?

Rick

Nov 5 '07 #1
5 2670
ARC
What's the macro doing on the close button? Show the exact statement if you
could..

"Rick" <rb*******@comp userve.comwrote in message
news:11******** **************@ e34g2000pro.goo glegroups.com.. .
I'm moving Access2000/2003 apps into Access2007 running on XPpro
Dells.
I've found where to lower the macro security and with a tweak to
references have allowed me to use my custom toolbars without the
ribbon. My toolbars are small usually just Print and Close.
The Print icon works OK but nothing happens when you click on Close.
Any work around?

Rick
Nov 6 '07 #2
On Nov 6, 6:58 am, "ARC" <PCES...@PCESof t.invalidwrote:
What's the macro doing on the close button? Show the exact statement if you
could..

"Rick" <rbrown...@comp userve.comwrote in message

news:11******** **************@ e34g2000pro.goo glegroups.com.. .
I'm moving Access2000/2003 apps into Access2007 running on XPpro
Dells.
I've found where to lower the macro security and with a tweak to
references have allowed me to use my custom toolbars without the
ribbon. My toolbars are small usually just Print and Close.
The Print icon works OK but nothing happens when you click on Close.
Any work around?
Rick- Hide quoted text -

- Show quoted text -
>>>What's the macro doing on the close button? Show the exact statement if you
could..
<<<

Not attached to a macro.
The Close icon was dragged onto the custom toolbar from the commands
tab in the Customize dialog box for toolbars

Rick

Nov 6 '07 #3
Rick wrote:
Not attached to a macro.
The Close icon was dragged onto the custom toolbar from the commands
tab in the Customize dialog box for toolbars

Rick
Known issue with 2007. You will have to attach the icon to a VBA function
that does the closing. I use...

Function CloseActiveRepo rt()

On Error Resume Next
DoCmd.Close acReport, Screen.ActiveRe port.Name

End Function
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


Nov 9 '07 #4
On Nov 9, 11:59 am, "Rick Brandt" <rickbran...@ho tmail.comwrote:
Rick wrote:
Not attached to a macro.
The Close icon was dragged onto the custom toolbar from the commands
tab in the Customize dialog box for toolbars
Rick

Known issue with 2007. You will have to attach the icon to a VBA function
that does the closing. I use...

Function CloseActiveRepo rt()

On Error Resume Next
DoCmd.Close acReport, Screen.ActiveRe port.Name

End Function

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Thanks for the reply, your solution will work for me.

Is Close the only toolbar icon that clitches in 2007?
Rick

Nov 10 '07 #5
Rick wrote:
Thanks for the reply, your solution will work for me.

Is Close the only toolbar icon that clitches in 2007?
Rick
It's the only one I know of. It wouldn't surprise me in the least if there were
more.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


Nov 11 '07 #6

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

Similar topics

21
1995
by: Albretch | last post by:
Hi, client wants for a window with no toolbars to open (technical and 'esthetical' reasons) after the window, user clicks on, is being closed. I told them about security settings in browsers and no cross-browsers solutions and all of that we know, but they have told me they have seen that before and how then the annoying pop-up windows work? . . .
9
2687
by: MacDermott | last post by:
I have an Access MDB which instantiates a class in a custom DLL, manipulates it for a while, then sets it equal nothing. The MDB does other things,too, and generally behaves itself as desired. But, if I have done the DLL thing, even though I close the MDB, Access refuses to close. If I haven't used the DLL, all is well. The DLL is one I wrote myself in VB. I'm quite stumped, and rather guess the problem may be in the DLL (I've also
4
5601
by: Jason Tabert | last post by:
Is there a way to create a custom IE toolbar with C# (or anything else in ..NET for that matter)? I have been looking all day and have had no luck finding a good place to start. I need to make a toolbar for a research project that does some things with existing code that we've written. We need to get working on making the toolbar *do things* but I can't even get started with making a basic toolbar. Any suggestions would be much...
0
3221
by: Ashok | last post by:
I have developed a custom IE application in C# using webbrowser control. But i am facing couple of issues when user clicks on an Exit link on a page the application is getting grayed out, but not closing. I exposed a close button in my application for doing this (this. Close (); ), but the end user wants the client JavaScript also ("Exit") to work. Is there any way to do this? What I have to do to make the JavaScript to work in my...
2
1547
by: able | last post by:
Dear friends I have added an icon to the toolbar. The icon is excellent in preview but in the toolbar it displays with poor quality. Do somebody know what may cause the lower quality in toolbar? Regards Able
11
4945
by: Dave | last post by:
For some reason, the below lines only work on select machines. All machines are running IE6. IE SP's and OS's vary. When it doesn't work, default.aspx (the page that this code is in) opens and closes. That's all you see. TSReminder.aspx doesn't even open. I'm not sure what's going on here. Response.Write("<script...
15
6519
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt accept other controls. The control i drag drop on it becomes the child of my custom control's parent form and not the child of my custom control. Then i added this line "" before my custom control class (i dont know what this line does). Now
0
1692
by: KW | last post by:
I created custom toolbar icons that look and function similar to the standard MS Access Fill/Back Color and Fill/Fore Color toolbar icons. My custom icons call a function that uses the Terry Kreft and Stephan Lebans 'aDialogColor' function. I modified the function slightly to open the full color palette with CC_FULLOPEN + CC_RGBINIT and pass to the function the color that I want to set initially before calling ChooseColor. My issue is,...
1
1872
by: Kevin Walzer | last post by:
I'm trying to create a custom Tkinter widget class, and I'm having some difficulty getting it set up properly. The class is called MacToolbar, saved in its own module MacToolbar.py, and imported with this statement: import MacToolbar Here is the relevant portion of the class:
0
8788
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9476
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9335
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9263
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
9208
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8210
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...
0
6053
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
4570
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...
0
4825
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.