?
Solved

Running VB books online

Posted on 1998-12-07
5
Medium Priority
?
204 Views
Last Modified: 2010-05-03
I keep getting an error message run time error 429
activeX component can't create object.
What could be causeing this?  I can not use the online books because of this.
0
Comment
Question by:riviera
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:a111a111a111
ID: 1448565
Preventing Incompatibility
If you’ve selected the Binary Compatibility option, Visual Basic warns you when you’re about to compile an incompatible version of your component. You can reverse the edits that would make your component incompatible, or change the file name and Project Name so that the new version will not replace the old when users run Setup.
If you choose to disregard the warnings, and compile an incompatible version of your component with the same file name and Project Name, Visual Basic dumps all of the class IDs and interface IDs from previous versions of your component.
When the incompatible component is installed on a computer that has a client application compiled using an earlier version, it will overwrite the earlier version. Subsequently, when the client application attempts to create objects, it will receive error 429, “OLE Automation server cannot create object.”
This averts more serious and subtle errors that might occur when the application attempts to invoke the properties and methods of the incompatible interface.

0
 
LVL 3

Expert Comment

by:a111a111a111
ID: 1448566
SingleUse Really Means SingleUse
Once a client application creates an object from a SingleUse class, no client can ever create an object of that class from that instance of the component, even if the first client releases the object. That is, once the ‘hole’ has been filled, it can never be empty — even if the object is destroyed.
In other words, marking a class module SingleUse means that during the lifetime of an instance of the component, only one instance of the class can be created externally — either by a client application, or by the component itself using the CreateObject function.
Debugging Limitations
When you run your component in the development environment, your client test programs can create only one instance of each SingleUse class during that debugging session. Once an instance of a class has been created, subsequent attempts to create an object from that class will cause Error 429, “OLE Automation server can’t create object.”
For debugging purposes, you can change SingleUse to MultiUse. However, to test the SingleUse behavior of your component, you must make the component executable.
For More Information   To run your component alternately as an executable file and in the Visual Basic development environment, see “How to Test Compiled Components” in “Debugging, Testing, and Deploying Components.”

0
 

Author Comment

by:riviera
ID: 1448567
this answer does not direct my problem.  I am tring to use the books online and get this message I am not writing a program.
0
 
LVL 13

Accepted Solution

by:
Mirkwood earned 80 total points
ID: 1448568
Download Filemon or NTFilemon from www.sysinternals.com
Start Filemon and now run the application that gives the error.
Filemon will show a trace. In this trace it will also show you which
file failed to open. That's the one you are missing.

Filemon can be redirected in a dos box using filemon > output.txt

Copy the missing files and register them if needed with regsvr32.exe in case of DLL/OCX files

0
 

Author Comment

by:riviera
ID: 1448569
thank you got it to work
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question