473,799 Members | 2,942 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Prope rties("StartupS howDBWindow") = False
'==== Hide the database window ======
'DoCmd.SelectOb ject acTable, , True
'DoCmd.RunComma nd acCmdWindowHide
'============== =============== =======
CommandBars.Act iveMenuBar.Enab led = False 'Turn Access' Menu Bar
OFF !!

End Sub
The error is in the 1st line: i.e.
CurrentDb.Prope rties("StartupS howDBWindow") = False

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

Best Rgds,
Prakash

Jun 27 '08 #1
2 1759
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.comwrot e in message
news:4a******** *************** ***********@b1g 2000hsg.googleg roups.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.Prope rties("StartupS howDBWindow") = False
'==== Hide the database window ======
'DoCmd.SelectOb ject acTable, , True
'DoCmd.RunComma nd acCmdWindowHide
'============== =============== =======
CommandBars.Act iveMenuBar.Enab led = False 'Turn Access' Menu Bar
OFF !!

End Sub
The error is in the 1st line: i.e.
CurrentDb.Prope rties("StartupS howDBWindow") = False

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

Best Rgds,
Prakash
Jun 27 '08 #2
On May 17, 9:01 pm, "ARC" <PCES...@PCESof t.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.comwrot e in message

news:4a******** *************** ***********@b1g 2000hsg.googleg roups.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.Prope rties("StartupS howDBWindow") = False
'==== Hide the database window ======
'DoCmd.SelectOb ject acTable, , True
'DoCmd.RunComma nd acCmdWindowHide
'============== =============== =======
CommandBars.Act iveMenuBar.Enab led = False 'Turn Access' Menu Bar
OFF !!
End Sub
The error is in the 1st line: i.e.
CurrentDb.Prope rties("StartupS howDBWindow") = 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
4932
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 filename.py
4
3217
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 my root directory, but I can run asp files from the root directory of my website and I can run htm files from the subdirectories. If I run localhost/mytest.asp
2
2544
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: ManipulateData(const char* Path-To-Some-Text-File) { ... }
7
9077
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 could run simultaneously, but that might break Windows... ;) The problem I had was I couldn't get the files to RUN, only to OPEN. Thanks for the help!!! pseudo-code looks like this
3
3570
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 from SQL server and import them into the outlook address book. It worked, great. Now I'd like to run this VBA code independent of the Northwind database. Understand that I don't have the first idea of what program I can use to run this VBA code...
2
9390
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 from my C: drive, File.Exists works properly and says C:\Temp\test.txt exists 2) Run from my H:\ (network) drive, File.Exists says the file doesn't exist. 3) Run from Visual Studio debugger, with project configuration property
9
19742
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
2949
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: Application.Run(new Form1()); was okay, but this: Form1 form = new Form1();
8
3023
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? -- thanks - dave david_at_windward_dot_net http://www.windwardreports.com
16
5999
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 thing is, the JS will run fine if the page is ONLINE (for ex: http://www.mayacove.com/index.html) but if this html page is on my computer locally I get the yellow bar on top of the browser saying browser won't run Active-X control... (I don't have...
0
9538
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
10473
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
10249
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
10219
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
9068
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
7563
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
6804
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
5584
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4138
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

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.