473,396 Members | 1,722 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,396 software developers and data experts.

Run-time Error on Start-Up !

I have a small app which has been working fine for about 1 year now on
WinXp with Office 2003. All of a sudden without any changes being made
to it, the app is giving an error on startup ... here's the error
description:

Run-time error 429
ActiveX component can't create object

If I copy the same Access app onto another PC, it works fine ! No
error !! I've tried it on 2 different PC's.

I've un-installed & re-installed office 2003, applied SP3 but still
the same problem persists.

Here's the offending code in the form load module:

Private Sub Form_Load()
CurrentDb.Properties("StartupShowDBWindow") = False
'==== Hide the database window ======
'DoCmd.SelectObject acTable, , True
'DoCmd.RunCommand acCmdWindowHide
'====================================
CommandBars.ActiveMenuBar.Enabled = False 'Turn Access' Menu Bar
OFF !!

End Sub
The error is in the 1st line: i.e.
CurrentDb.Properties("StartupShowDBWindow") = False

I'm desperate ... Could someone please help ?

Best Rgds,
Prakash

Jun 27 '08 #1
2 1744
ARC
This is a references problem in your code module. Possibly something you had
previously referenced is no longer on your computer, or has been replaced
with the wrong version. If you open up any code module in your program, then
click Tools, References, you should be able to determine what is missing /
broken. Then you would have to restore the file that is missing from one of
your working computers.

Hope this helps,

<pr*************@gmail.comwrote in message
news:4a**********************************@b1g2000h sg.googlegroups.com...
>I have a small app which has been working fine for about 1 year now on
WinXp with Office 2003. All of a sudden without any changes being made
to it, the app is giving an error on startup ... here's the error
description:

Run-time error 429
ActiveX component can't create object

If I copy the same Access app onto another PC, it works fine ! No
error !! I've tried it on 2 different PC's.

I've un-installed & re-installed office 2003, applied SP3 but still
the same problem persists.

Here's the offending code in the form load module:

Private Sub Form_Load()
CurrentDb.Properties("StartupShowDBWindow") = False
'==== Hide the database window ======
'DoCmd.SelectObject acTable, , True
'DoCmd.RunCommand acCmdWindowHide
'====================================
CommandBars.ActiveMenuBar.Enabled = False 'Turn Access' Menu Bar
OFF !!

End Sub
The error is in the 1st line: i.e.
CurrentDb.Properties("StartupShowDBWindow") = False

I'm desperate ... Could someone please help ?

Best Rgds,
Prakash
Jun 27 '08 #2
On May 17, 9:01 pm, "ARC" <PCES...@PCESoft.invalidwrote:
This is a references problem in your code module. Possibly something you had
previously referenced is no longer on your computer, or has been replaced
with the wrong version. If you open up any code module in your program, then
click Tools, References, you should be able to determine what is missing /
broken. Then you would have to restore the file that is missing from one of
your working computers.

Hope this helps,

<prakashwadhw...@gmail.comwrote in message

news:4a**********************************@b1g2000h sg.googlegroups.com...
I have a small app which has been working fine for about 1 year now on
WinXp with Office 2003. All of a sudden without any changes being made
to it, the app is giving an error on startup ... here's the error
description:
Run-time error 429
ActiveX component can't create object
If I copy the same Access app onto another PC, it works fine ! No
error !! I've tried it on 2 different PC's.
I've un-installed & re-installed office 2003, applied SP3 but still
the same problem persists.
Here's the offending code in the form load module:
Private Sub Form_Load()
CurrentDb.Properties("StartupShowDBWindow") = False
'==== Hide the database window ======
'DoCmd.SelectObject acTable, , True
'DoCmd.RunCommand acCmdWindowHide
'====================================
CommandBars.ActiveMenuBar.Enabled = False 'Turn Access' Menu Bar
OFF !!
End Sub
The error is in the 1st line: i.e.
CurrentDb.Properties("StartupShowDBWindow") = False
I'm desperate ... Could someone please help ?
Best Rgds,
Prakash


Actually initially dao360.dll was mising - i copied it from another pc
onto this. And then this error msg came up.
I un-installed & re-installed office (No Luck), ran registry mechanic
(No Luck), ran Uniblue Registry Booster (No Luck),
and finally i over-installed windowsXP i.e. from the within windows
environment I inserted the WIndows XP cd & ran the installation.
Naturaly, all my apps, desktop, settings, etc. were preserved as I ran
an Upgrade installation & not a fresh one.

BINGO !!! Now all was ok.

Thought I'd just share it here. If anyone knows any other workaround I
could've used, please feel free to let me know.

Best Rgds,
Prakash.
Jun 27 '08 #3

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

Similar topics

3
by: leroybt.rm | last post by:
Can someone tell me how to run a script from a interactive shell I type the following: >>>python filename >>>python filename.py >>>run filename >>>run filename.py >>>/run filename >>>/run...
4
by: Ed | last post by:
Hello, I took a course in asp about 2 years ago and I was practicing with IIS 5.0. Then I put it down for a while. Now trying to get back to it. I can't run asp files from subdirectories of...
2
by: Jenna Olson | last post by:
Hi all- I've never seen this particular issue addressed, but was wondering if there's anything to support one way or another. Say I have a class: class ManipulateData { public:...
7
by: erniedude | last post by:
Hi, I'm a newbie and I was wondering if anyone knew a (Python) script to run 4 batch files, one after the other (assuming the directories are known). It would be better if all 4 batch files...
3
by: Dan Hicks | last post by:
Hi, I wrote this test code as part of a module I created for the Northwind database. However, I was only using this as a test platform. My goal was to write a program that would take records...
2
by: Zeno Lee | last post by:
I'm using File.Exists to test a file on my C: drive. My program was strongly named and had caspol -af run on it to allow it to run from the network. There are 3 ways I am doing this: 1) Run...
9
by: shank | last post by:
What is the proper syntax to run this command line in ASP? wzzip.exe File.zip File.txt thanks
7
by: Lee Crabtree | last post by:
I remember when I was first getting into .NET Forms programming that there was a rather emphatic rule about not constructing a form before calling Application.Run with it. So this: ...
8
by: David Thielen | last post by:
Hi; In our setup program how do I determine if I need to run "aspnet_regiis –i" and if so, is there an API I can calll rather than finding that program on the user's disk and calling it? --...
16
by: maya | last post by:
hi, this is very annoying.. this is on IE7/Vista.. whenever I load a pg with JavaScript on it IE refuses to run the JavaScript (I'm talking about JavaScript written BY ME....;) and the weird...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
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,...

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.