473,394 Members | 1,701 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

????? Error: -2147467259 Method 'Visible' of object 'ComandBar' failed!

Hi folks,

I have an Access 2003 app that works perfectly on my computer.
However, when we install it on OTHER computers that ALSO have access
2003 we get an error on startup:

Error: -2147467259 Method 'Visible' of object 'ComandBar' failed!

At this point, I am stumped. Anyone have a clue why this is
happening?
Jan 23 '06 #1
2 4705
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Did you spell CommandBar correctly (there are 2 m's)?

Do you have a Reference to Microsoft Office 11.0 Object library? This
is in the VBA window, menu item Tools > References... . The CommandBar
is an item in the Office Object library. It may not be installed on the
other computers.
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQ9VF4oechKqOuFEgEQJ1KgCgr+Px0AMJNtwNF/PqtiSaUXFOBe4An2tl
U1RLap51T4GEbkQBtaB5REZx
=QPiZ
-----END PGP SIGNATURE-----

Lauren Wilson wrote:
Hi folks,

I have an Access 2003 app that works perfectly on my computer.
However, when we install it on OTHER computers that ALSO have access
2003 we get an error on startup:

Error: -2147467259 Method 'Visible' of object 'ComandBar' failed!

At this point, I am stumped. Anyone have a clue why this is
happening?

Jan 23 '06 #2
On Mon, 23 Jan 2006 21:08:55 GMT, MGFoster <me@privacy.com> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Did you spell CommandBar correctly (there are 2 m's)?

Do you have a Reference to Microsoft Office 11.0 Object library? This
is in the VBA window, menu item Tools > References... . The CommandBar
is an item in the Office Object library. It may not be installed on the
other computers.


Actually, all these were OK. I figured it out. Like a moron, I
decided to remove the Startup form reference to the App main menu. I
THOUGHT I could do this because my code already enables and shows the
menu during the close event of the title form. Apparently, if the
main menu is not referenced in the startup form, the command bar
object code cannot find it. That makes no sense to me but after I
replaced the missing Startup form "Default Menu" entry with the name
of the App main menu, the whole thing worked right again. Go figure!
Jan 24 '06 #3

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

Similar topics

1
by: yanwan | last post by:
I met this problem in executing a c++ project in visual studio. Does anyone have suggestions to resolve "error lnk 2001"? --------------------Configuration: reconstruction - Win32...
3
by: Andrew Luke | last post by:
Hi all you C++ guru's! I'm 'very, very' new to C++ and I'm having a little trouble configuring my VS environment I think - when I try and compile some sample code I'm getting the following...
2
by: Randy Harris | last post by:
I thought that I had a grasp of how VBA error handling functioned, but have just become painfully aware that I don't. I thought that the "On Error GoTo 0" in the second sub below would turn off...
13
by: Thelma Lubkin | last post by:
I use code extensively; I probably overuse it. But I've been using error trapping very sparingly, and now I've been trapped by that. A form that works for me on the system I'm using, apparently...
3
by: Manuel | last post by:
I'm trying to compile glut 3.7.6 (dowbloaded from official site)using devc++. So I've imported the glut32.dsp into devc++, included manually some headers, and start to compile. It return a very...
4
by: jk2l | last post by:
Error 10 error LNK2019: unresolved external symbol __imp__glBindTexture@8 referenced in function "public: void __thiscall GLTexture::Use(void)" (?Use@GLTexture@@QAEXXZ) GLTexture.obj Error 11 error...
1
by: Deepath G | last post by:
This is deepath.. I am getting some linker error when i am trying to connect Websphere MQ using Borland C++ Builder 2006 using imqi.hpp on windows. Error Message ----------------------- ...
0
by: .nLL | last post by:
Erorr is --------------------- Microsoft VBScript runtime error '800a0046' Permission denied /a.asp, line 3 -----------------------
2
by: khalidanwar123 | last post by:
i am getting the following error while updating a clob field. ERROR java.sql.SQLException: Data size bigger than max size forthis type: 4003 19:28:27,499 ERROR at...
15
by: madhu.ab | last post by:
Hi All, I am getting the following errors when i am including header file winuser.h I dont know whats happening. How will an error occur in winuser.h?? Please help. \microsoft visual...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
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,...
0
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...
0
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...

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.