• 0

[VB] Programs getting constant 'COMDLG32.OCX' errors


Question

All of my VB programs seem to be getting this error...

"Component 'COMDLG32.OCX' or one of its dependencies not correctly registered: a file is missing or invalid"

Some people get it, and some people don't, it's very weird. Anyone know how I might remedy this problem?

8 answers to this question

Recommended Posts

  • 0
  Quote
Originally posted by zivan56

Your users need the VB Runtimes, or if you just put the file in system32, you need to run:

regsvr32 comdlg32.ocx

So that the component is registered. Or you can just use this to auto install it for your users

Tried some tests with users, but they're still getting errors even after installing the VB6 runtimes.

"Hmm, I downloaded VB6 Runtime and the generator, but I got an error message. It says it failed to load CommonDialog from COMDLG32.OCX..."

Another user got the same message but it failed to load StatusBar. This is very odd...it works on some systems but not on others.

  • 0
  Quote
Originally posted by Oogle

Not too familiar with VB, but isn't there a way to statically link the runtime libraries? That way, people don't have to download extra stuff. I know you can do it with MFC runtime libraries...

Microsoft had to be really stupid and decide not to include any VB runtime files in Windows itself.

  • 0

Microsoft includes the runtimes into Windows.

Windows 95 doesn't have any runtime libraries for Visual Basic.

Windows 98 has runtimes for Visual Basic 5.

Windows Me has Visual Basic 6 runtimes (I think).

Windows 2000 and XP should have Visual Basic 6 runtimes.

The final version of Windows.NET should have runtime libraries for the .NET framework. ;)

DLL for VB1: vbrun100.dll or just vbrun.dll ?

DLL for VB2: vbrun200.dll

DLL for VB3: vbrun300.dll

DLL for VB4: vb400.dll (I think)

DLL for VB5: msvbvm50.dll

DLL for VB6: msvbvm60.dll

(MSVBVM = Microsoft Visual Basic Virutal Machine)

OCX files are not a part of the so called runtime libraries.

When I programmed in VB6 I tried not to use OCX files, so I used APIs instead.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Soon: honda puts a turbo'd k24 in a rocket with a big spoiler and some extra body trim.
    • Half a trillion? Do your homework, they're worth more than 3 freaking trillion dollars. As for the correlation between market cap and features, I think you're mistaken. There are some things called priorities. It obviously wasn't a priority for them to implement this, as it's still not a priority to implement moving taskbar to different locations of the screen. The trillions of dollars they're worth, have nothing to do with this.
    • Ara: History Untold 1.4 update delivers overhauls to AI, map generation, combat, and more by Pulasthi Ariyasinghe The 2024-released 4X strategy experience Ara: History Untold has been steadily receiving a massive amount of features and tweaks during its post-launch support period. Now, Stardock Entertainment and Oxide Games have another fresh update for PC gamers to jump into, and it's targeting some major aspects like the game's combat, AI, the camera perspective, and more. Dubbed the Living Strategy Update, the development team says that its features are a direct result of community feedback. First off, the update brings along the Living Strategy View as the default perspective for gameplay, letting players both get immersed in the environments and also easily manage their cities and armies. Next, the AI of computer opponents has been improved so that they make more meaningful decisions, with better late-game choices being a focus for the developer. Ara: History Untold's map generation has also been overhauled, with much more strategically distinct regions spawning across the playable areas for better strategic thinking. The amount of micromanagement has also been reduced by default, but this can be disabled to gain back full control if required. Players will also find that frame rates will remain high even in late-game scenarios thanks to graphics engine optimizations. Faster turn times, better UI responsiveness, and plenty of balance changes are also a part of the update. "It has been a real pleasure working with our colleagues at Microsoft for this update. The teams at Stardock, Oxide, and Microsoft have so much energy going into these updates. Version 1.4 is just a taste of what we have in store," said Brad Wardell, Chief Executive Officer for Stardock and Oxide. "In an industry where true 1.0 products are rare, especially ones in established genres, this has been a wonderful opportunity to try out new ideas and concepts that we in the strategy community have been thinking about for decades." Ara: History Untold update 1.4, Living Strategy, is now available to PC players across Steam and Xbox stores, including PC Game Pass subscribers. Alongside the update, the Untold Scenarios DLC pack has also arrived. This premium add-on touts fresh historical scenarios like Bronze Age Collapse, the Clash of Hemispheres, and Europe at the Crossroads for players to dive into. A separate selection of "what-if" scenarios are also included here, letting players explore alternate histories and see what they can accomplish. The Ara: History Untold: Untold Scenarios DLC pack is also available now on PC across Steam and Xbox stores with a $9.99 price tag. Disclaimer: Neowin's relationship to Stardock
    • Copilot in Excel just got a major upgrade by Usama Jawad It's no secret that Microsoft is trying to get as many people to use Copilot as possible. This is being done through various means, including integration with OneNote, Defender, Windows, and more. Microsoft Excel is the most popular spreadsheet software out there, so it makes sense that the Redmond tech firm would integrate and build upon the capabilities of Copilot in this tool too. Now, the company has implemented a major upgrade in this integration. In a blog post, Microsoft has made Copilot smarter in terms of context awareness in Excel. This makes the AI assistant more useful when asking questions about your data in nautral language queries. Previously, Copilot would only make inferences based on the cell that you have selected, and it typically worked quite well in this scenario. However, Microsoft has realized that workbooks and sheets have become more complex, which means that Copilot needs to be smarter too. This means that you no longer need to select relevant data when asking queries about it, you can simply ask questions such as "Show me insights about the data I was just analyzing" and "Sort the table in the top-right", and Copilot should just work. Microsoft says that this major upgrade in Copilot is due to combining cell signals with chat history in order to make inferences. It also supports data ranges, which means that it can serve as the foundation for even broader context in future updates. In order to get customers to trust the inferences that Copilot is making, Microsoft will highlight the data that the AI assistant is using. This enables customers to further refine the dataset that Copilot is using so that they can get the most accurate responses. Smart context awareness is available on the web and the following versions of desktop: Windows: Version 2505 (Build 18623.20058) Mac: Version 16.95 (Build 2506.3090) Meanwhile, the visual highlighting feature is also available on the web and the desktop versions mentioned below: Windows: Version 2505 (Build 18705.20000) Mac: Version 16.96 (Build 2506.4070) Microsoft has requested customers to provide feedback through the thumbs up/down icons present at the bottom of the Copilot response cards.
    • We should probably just focus on how nice it is that finally another company is taking reusable rockets seriously. I can't believe there are so few players and many rockets in service today are still completely expendable. Hopefully Honda can scale up theirs and add some badly needed competition. I want to see planes become irrelevant for global travel and we use rockets instead.
  • Recent Achievements

    • First Post
      TIGOSS earned a badge
      First Post
    • Week One Done
      slackerzz earned a badge
      Week One Done
    • Week One Done
      vivetool earned a badge
      Week One Done
    • Reacting Well
      pnajbar earned a badge
      Reacting Well
    • Week One Done
      TBithoney earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      687
    2. 2
      ATLien_0
      285
    3. 3
      Michael Scrip
      224
    4. 4
      +FloatingFatMan
      197
    5. 5
      Steven P.
      135
  • Tell a friend

    Love Neowin? Tell a friend!