Like Richie said, check your references. It should only refer to the VB Runtime libraries.
If your references are OK, Are you using CreateObject in your code. If yes which one ?
Main Topics
Browse All TopicsOccasionally my client's get this at program startup. I created some programs with nothing in them except a button to close the program. I get the error and clear it, then the programs runs. I reboot the client and all is well (usually). This is on XP Pro with all the updates.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Sorry, I thought I was clear, nothing is referenced (other than what VB starts with). I created a new project and put a button on the form. I button unloads the form. I launch the exe and get the error. I clear the error and the form appears. I click the button and the form closes. This continues untill I reboot the box.
rmcquade,
forgive everyone for making u repeat yourself, its only that this error,as the error message states occurs when you are instanciating objects. Its quite common with data access objects: When the data access objects referenced in your application(and your computer) are higher/later than those in the target computer. An update of MDAC usually fixes the problem. In your case I cannot figure out what is causing this error and everybody will keep asking you for more information. And you will repeat yourself...
No, seriously, there's a couple of good suggestions about toubleshooting the error, but as far as anyone reading can tell, none of them applied to this particular case. Furthermore, there are no details specific to this case besides "Another process was causing the problem."
I suppose that's the author's perogative, but it also makes this a useless question. It doesn't apply to anyone's specific case because there's not enough information to identify it.
All complaining aside, the suggestions are good, just not what one's used to seeing on EE.
I've got a similar problem with a VB6 app calling Crystal 10 reports. My installation program doesn't seem to be putting the right files in the right places. I've got the right references (so I've been told), but no noogie. Try http://www.sysinternals.co
StateGuy
I'm getting the same error in a script where I'm calling a DTS package. See below:
Set oPkg = CreateObject("DTS.Package"
This script worked fine until I moved it from our dev box to the production box. I've seen some similar articles and they seem to think it's has something to w/ the ActiveX registry settings.
Any help?
For what it is worth, here is a MS article which lists 5 potential fixes to the issue. At this point in time I have not tried any of them to see which will resolve my similar issue. I will check back in at some point if time permits regarding which worked for me, if any.
Article ID: 319844 - Last Review: August 15, 2007 - Revision: 8.6
You receive a "ActiveX component can't create object" error message when using Access
View products that this article applies to.
This article was previously published under Q319844
Business Accounts
Answer for Membership
by: Richie_SimonettiPosted on 2003-10-10 at 12:59:42ID: 9530025
some more data would be useful. Wath references uses your program?