Home > Automation Error > Automation Error Classfactory Cannot Supply Requested Class Vb6.0

Automation Error Classfactory Cannot Supply Requested Class Vb6.0

All rights reserved. I agree that a re-install is a last resort. Sign in Gallery MSDN Library Forums Get started for free Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: classfactory To start viewing messages, select the forum that you want to visit from the selection below. have a peek here

But so far it boils down to issues with libraries (dll). Starting with a precise definition, along with clear business goals, is essential. First Skills to Learn for Mountaineering How small could an animal be before it is consciously aware of the effects of quantum mechanics? This just about ruined my morning... https://social.msdn.microsoft.com/Forums/vstudio/en-US/acc2136d-43ca-467f-bdfd-2e29b67df345/classfactory-cannot-supply-requested-class?forum=vbgeneral

I cleared all references to problem dll from registry and then registered it once. Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New? Actually my error nothing got HP Printer but a software that used InstallShield application. Related Sites Visual Studio Visual Studio Integrate VSIP Program Microsoft .NET Microsoft Azure Connect Forums Blog Facebook LinkedIn Stack Overflow Twitter Visual Studio Events YouTube Developer Resources Code samples Documentation Downloads

Is that something I can download and install? Then I stumbled on two sites 1) http://www.dlldump.com/download-dll-files.php/dllfiles/C/ctor.dll/download.html 2) http://www.dll-files.com/dllindex/dll-files.shtml?ctor   The second link gave me an old ctor.dll file. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.Would you like to participate? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

Maybe that caused some cunfusion when trying to call it using late bind? Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New? Andrew Top This thread has been closed due to inactivity. Tuesday, June 06, 2006 11:57 AM Reply | Quote Moderator 0 Sign in to vote Thank you for some enlightement.

Solution. Something is missing, misplaced, or it could be DLL version issues. Cause seamed to be registry. The Knowledgebase refers to version incompatibilities withMSOLAP80.DLL so I have tried putting our version of this .dll (whichobviously works on our development system) on the users system but thisdoesPost by Yendornot

This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. https://support.comodo.com/index.php?/Knowledgebase/Article/View/291/13/license-activation-error--2147221231--classfactory-cannot-supply-requested-class Singular cohomology and birational equivalence Can I switch from past tense to present tense in an epilogue? What is a version 2 of the Active X module. So from what I've understood the problem is caused by installing a newer version of some ActiveX thing.Can't I then just solve the problem by installing the older version again?

VB6 w/ Word 2003. navigate here I'm assuming the problem is a missing dll. In step 6 the old word version doesn't know anything about theCLSID of the next version and so it won't be registered and the callwill fail.(hopefully I didn't mess things up, may be getobject solve your problem Reply With Quote Quick Navigation COM and ActiveX Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Visual Basic Visual

Now I find that any action which would cause a save/open dialog (eg. Looking this up in your registry (or a friends registry that doesn't have this issue) should give you a good idea of what DLL you need to go mess with. May not help everyone, but it worked for me!! http://cmptp.com/automation-error/automation-error-classfactory-cannot-supply-requested-class-matlab.html You had it right.

Solutions? Thank you again for assisting me, coinman1   Tuesday, June 06, 2006 8:05 PM Reply | Quote 0 Sign in to vote I have the same problem with Visual Basic .NET 2003. The information contained on this web site is correct as of its publication date.

GodwinBarnes replied Sep 18, 2013 if all is done, should I reinstall it or not?

In step 6 the old word version doesn't know anything about theCLSID of the next version and so it won't be registered and the callwill fail.(hopefully I didn't mess things up, Just dt GUID [addr] each one until you find the guid. –i_am_jorf Mar 9 '09 at 8:26 | show 1 more comment up vote 1 down vote The underlying problem here If you re-insert the VS Setup Disk, one of the options will be to "Repair" the installation. Thanks.

Let me do a quick walkthrough:(working)1) call CoCreateObject({word.application clsid}) (which is "NewWord.Application")2) COM: Calls CoGetClassObject3) CoGetClassObjectlooks up HKCR\CLSID\{word.application clsid}\LocalServer32Which points to C:\ProgramFiles\MS\Office\Winword.exe4) CoGetClassObject: starts Winword.exe with "/EMBEDDING"5) WinWord: calls CoRegisterClassObject(...) to CloudLock Dell Software View All Topics View All Members View All Companies Toolbox for IT Topics Visual Basic Groups Ask a New Question Visual Basic – General Discussions The VB - Error -2147221231 : ClassFactory cannot supply requested class Check if you have following three dlls present in '[Windows]\System32' folder: msxml3.dll msxml3a.dll msxml3r.dll This error is due to the fact that the this contact form Join the community of 500,000 technology professionals and ask your questions.

This may or may not be a Visual Studio object. Depalindromize this string! The he installed anolder version of word.Now the registry keys point to a valid exe and the steps 1-5 willwork. Mysterious creeper-like explosions How to deal with a coworker that writes software to give him job security instead of solving problems?

Are you sure they are still using the same version of office? Does your VB program open up an instance of Excel or another Office program when the problem occurs? Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. Does every interesting photograph have a story to tell?

Thanks, Godwin. Friday, February 15, 2008 9:10 AM Reply | Quote 0 Sign in to vote  nobugz wrote: You've tried the recommended things to solve this problem.  Sounds like you are a victim Advanced Search VBForums Visual Basic COM and ActiveX Possible reason for "ClassFactory cannot supply requested class (0x80040111)" error If this is your first visit, be sure to check out the FAQ Go to Solution 4 Comments LVL 3 Overall: Level 3 Visual Basic Classic 2 Message Expert Comment by:bsncs022004-12-16 That happens quite frequently when dlls are replaced by incompatible versions.

Friday, February 09, 2007 2:00 AM Reply | Quote 0 Sign in to vote   I got similar error message when calling vb6 dll from vb6 application. It should display a success message box. It'll be one of the values on the stack (C pushes right to left, so). Start whacking them with the help of SysInternals' AutoRuns utility. –Hans Passant Mar 10 '09 at 1:58 Did you ever get this fixed?