Ocx Could Not Be Loaded Error Message
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business mscomctl.ocx could not be loaded vb6 Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation
Mscomctl.ocx Could Not Be Loaded Windows 10
Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like
Could Not Be Loaded--continue Loading Project
you, helping each other. Join them; it only takes a minute: Sign up VB6 Error - Cannot load .ocx File up vote 3 down vote favorite 1 I have been trying to load a OCX file into
Mscomctl.ocx Could Not Be Loaded Vb6 Windows 10
one of my VB6 projects for most of the day today. I've tried checking the COM registration in the registry the best that I know how, and have attempted several times using REGSVR32 on the file to no avail. All I keep getting from VB6 when I try to load the component (Under Project --> Components) is 'FilePath\FileName.ocx' could not be loaded. Has anyone else seen this before, and if so, any ideas how to fix vb6 mscomctl.ocx object library not registered it? com vb6 registry ocx share|improve this question edited Apr 26 '11 at 19:30 jlafay 6,73754479 asked Jul 13 '09 at 18:47 Jason Lowenthal 5691314 add a comment| 8 Answers 8 active oldest votes up vote 2 down vote accepted This it may be a dependency issue -- some other component needed by the OCX is not present. Dependency Walker will find any static dependencies. share|improve this answer answered Jul 13 '09 at 22:24 Jim Mack 67641 Sure enough, this turned out to be a dependency issue. It sure has been a while since I fought with this one, completely forgot I had asked about it. –Jason Lowenthal Aug 20 '10 at 20:47 add a comment| up vote 3 down vote Just a couple of tips to help isolate the problem.... Look at the control with OleView Examine the name: if it is one of the reserved words such as 'Menu', vb6 will fail to load it. (Although vb6 will happily let you create (and use) one with a bad name until it is saved and reloaded) Examine the interface: does it describe the functionality? You may have a damaged or unlicensed ocx. Attempt to load it with the ActiveX Control Test Container... If you can, the problem is with VB6 and not the ocx. share|improve this answer answered Jul 13 '0
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about mscomctl.ocx could not be loaded in windows 7 32 bit hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges class mscomctllib.listview of control was not a loaded control class Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each class mscomctllib.progressbar of control progressbar1 was not a loaded control class. other. Join them; it only takes a minute: Sign up not able to open VB project, getting error “C:\windows\system32\mscomctl.ocx” could not be loaded up vote 1 down vote favorite I have a VB project was able to work without http://stackoverflow.com/questions/1121344/vb6-error-cannot-load-ocx-file any issues, but now when i open the project i am getting the error with mscomctl.ocx. I have re-registered the ocx but still m not able to load the project. Please suggest me on this. Thanks in advance. vb6 share|improve this question asked Dec 19 '12 at 9:11 jyothis 26225 add a comment| 9 Answers 9 active oldest votes up vote 3 down vote I was having this issue when I open the project on Windows 7 64-bit http://stackoverflow.com/questions/13948897/not-able-to-open-vb-project-getting-error-c-windows-system32-mscomctl-ocx-co environment, it works correctly on win XP machine. I did a very simple change in project file earlier it says Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.1#0; MSCOMCTL.OCX I changed 2.1 to 2.0 because I have seen it like that in many forums and it worked like charm. The updated reference in VBP file is Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0; MSCOMCTL.OCX share|improve this answer edited Jun 20 '13 at 16:02 Mehran 1,2061926 answered Jun 20 '13 at 15:39 user1272267 313 add a comment| up vote 1 down vote I had the same problem. user1272267 answer worked (thanks), but it bothered me that I didn't understand why, I also wasn't sure if I would end up breaking the project for my colleagues who it worked fine for. So I did a bit more digging and found that in the registry there was a key; reg hkcr\typelib{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.0 (Note the 2.0) I changed the 2.0 to 2.1 and hey presto, everything worked fine. I also checked the DLL and it turned out my copy was older than my colleagues copy. I think this may be because when I installed service pack 6 I kept some of the original files when asked since the replacement files were for American english and I had the UK version, but i'm not 100% certain of this share|improve this answer answered Dec 10 '15 at 14:56 Nathan Hadley 408 add a comment| up vote 0 down vote it
DriverDoc WinSweeper SupersonicPC FileViewPro About Support Contact File Troubleshooting › OCX Files › Dell › Drivers and Utilities Dell OptiPlex ResourceCD › MSCOMCT2.OCX How To Fix MSCOMCT2.OCX Not Registered / Missing Error Download NowWinThruster 2015 - http://www.solvusoft.com/en/files/missing-not-registered/ocx/windows/dell/drivers-and-utilities-dell-optiplex-resourcecd/mscomct2-ocx/ Scan your PC for MSCOMCT2.OCX registry errors Compatible with Windows 10, 8, 7, https://www.experts-exchange.com/questions/26754742/VB6-OCX-cannot-be-loaded.html Vista, XP and 2000 Overview of MSCOMCT2.OCX What Is MSCOMCT2.OCX? MSCOMCT2.OCX is a type of OCX file associated with Drivers and Utilities Dell OptiPlex ResourceCD developed by Dell for the Windows Operating System. The latest known version of MSCOMCT2.OCX is 1.0.0.0, which was produced for Windows. This OCX file carries a could not popularity rating of 2 stars and a security rating of "UNKNOWN". What Are OCX Files? OCX files, such as MSCOMCT2.OCX, are COM (Component Object Model) interface technologies often referred to as an ActiveX control. ActiveX controls are tiny programs, sometimes called "add-ons", that are used on websites and in software applications.ActiveX controls are often encountered when using a web browser such as Internet could not be Explorer, Firefox, or Chrome. If you open a web page embedded with a video in the Window Media (.WMV) file format, your web browser uses a built-in ActiveX control that allows you to view the video directly on the web page, rather than having to load that file separately in Windows Media Player. Why Do I Have OCX Errors? OCX / ActiveX / MSCOMCT2.OCX errors generally occur because your web browser or program (eg. Drivers and Utilities Dell OptiPlex ResourceCD) attempts to load a corrupt or missing ActiveX control. Also, these problems may occur if some ActiveX-related subkeys are missing from the Windows registry. When Do OCX Errors Occur? OCX errors, such as those associated with MSCOMCT2.OCX, most often occur during computer startup, program startup, or while trying to use a specific function in your program (eg. printing). Common MSCOMCT2.OCX Error Messages Most MSCOMCT2.OCX errors are related to missing or corrupt MSCOMCT2.OCX files. The nine most common MSCOMCT2.OCX errors that can appear on a Windows-based computer are: "Component 'MSCOMCT2.OCX' or one of its dependencies not correctly registered: a file is missing or invalid." "MSCOMCT2.OCX failed to register. The specifi
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > VB6 -- OCX cannot be loaded Want to Advertise Here? Solved VB6 -- OCX cannot be loaded Posted on 2011-01-19 Visual Basic Classic 4 Verified Solutions 14 Comments 1,578 Views Last Modified: 2013-12-26 It's an OCX I wrote in VB6. It's worked for years. Yesterday, when I loaded up a program that used it, I got the "FilePath/FileName.OCX cannot be loaded" error. * I re-registered it. no good * I rebuilt it in VB6. no good * I rebooted. no good * I purged every reference to it from the registry using RegEdit * I rebooted. * I re-registered. no good * I rebuilt it again. no good http://stackoverflow.com/questions/1121344/vb6-error-cannot-load-ocx-file says to suspect dependencies. But the thing built ... so ... its dependencies are there. http://www.vb-helper.com/tips5.htm says to use RegClean. But that doesn't seem to be available any more. Besides, I did a manual RegClean already. So I can't develop on this box now. What do I need to do? Thanks! 0 Question by:Daniel Wilson Facebook Twitter LinkedIn Google LVL 29 Best Solution bynffvrxqgrcfqvvc Does that mean you don't have the original project to the application hosting the OCX ? System restore shouldn't be required unless you have updated the OCX and no longer have the old version saved that Go to Solution 14 Comments LVL 29 Overall: Level 29 Visual Basic Classic 26 Message Expert Comment by:nffvrxqgrcfqvvc2011-01-19 Create a new OCX project and name the files something different then the original (MyProject.Ding2) for example. Then copy and paste the OCX code. Compile once. Then change the compatability mode to binary. Project > Properties > Component Tab > Binary Compatability. Re-Compile. Save Project and exit. I have to ask if your running on Vista or later since VB6 will attempt to register the component at compile time if your running (non elevated) the registration will fail. You have to run command prompt elevated and run regsvr32 with elevated privileges to register/unregister succesfully. 0 LVL 32 Overall: Level 32 Visual Basic Classic 8 Message Author Comment by:Daniel Wilson2011-01-19 I'm on XP, not Vista. Good question there, though. What am