Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need to solve this run time error

Status
Not open for further replies.

simran1

Programmer
Apr 23, 2002
82
US
Hi,

I have developed this preoject and deployed on another server. The installations works fine. But when I execute my project i get this error, right away,
Run-Time error '429'
ActiveX component can't create object.

What should i do about this?

 
It sounds like you did not include the ocx or dll. You need to determine what components you are using make sure that the PDW includes them, as well as confirm that they were installed on the target machine. If you choose to battle wits with the witless be prepared to lose.
[machinegun][hammer]

[cheers]
 
You are probably missing a support file for an ActiveX control that you are using, either a third party control or one of the non-intrinsic controls ( like MSFLexGrid, for example ).

Since this file does not exist on the PC that is running the application, when your program tries to display the form that has the control on it, it crashes.

Even if you are running the EXE from a server, you still have to have all of the support files on the PC's that will use the program

Robert
 
Hi,

So how do i make sure all the support file are included in the package. This is my first job and my first project.
So am a little lost here.

 
The package and deployment wizard would be a good place to start...
 
hi,

I have used the package and deployment wizard. I followed all the steps.
I can run this package on another m/c very well, but this m/c on which am trying, i don't know what could be the problem.
 
What controls do you use on your forms? Are there any controls that are not in the "basic" set that appear on the IDE toolbar? That's the first place to start looking.

Sometimes, the PDW does not catch everything.

Robert
 
just to add...

if you are automating another application from your program such as MS Word, MS Excel, Adobe Acrobat, etc., that application should be installed on the machine you are running your program on.
 
Hi,

I am using all standard controls on my forms like text box, label, combo box, list view, sstab, treeview and datareports. At one point i am trying to open word documents from my preoject. But word is already loaded on those systems where am trying to execute my project.
When i am installing the project i get the following message:

A file being copied is not newer than the file currently on your system. It is recommended that you keep your existing file.
File Name: 'c:\winNT\System32\MSCOMCTL.OCX'
Description: 'Windows common controls activeX control DLL
Your Version:'6.1.83.41'
Do you want to keep the file ?
Yes - No - No to ALL

I tried installing by clicking one time each on "Yes" and "No". I still get the same runtime error.
 
can you post the specific bit of code that raises this error (including variable declarations and instantiations [if that is the right word or if it is even a word])
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top