Solved

Trouble with COMCTL32.OCA

Posted on 1998-03-26
1
551 Views
Last Modified: 2008-02-01
I have several apps which are launched from a common shell program. The app is VB4 running on NT 3.51. I use a toolbar
to switch between the shell and the other apps. I am getting
Error 48 error loading DLL when I use the toolbar to switch apps. If I use ALT-TAB eveything is OK, that is, the other
app is running and able to function properly.
If I add COMCTL32.OCA the problem goes away. Why ? I thought
OCA files were created on the fly by their OCX.
0
Comment
Question by:stormbridge
[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
1 Comment
 
LVL 7

Accepted Solution

by:
kamall earned 50 total points
ID: 1459819
stormbridge,
For every control (or multi-control) you add to your project, there must be a reference library (OCA or DLL) that will be automatically added to the Project - References list. That's why your program works just fine when you add the OCA file. It seems that your VB can not either locate the OCA file automatically or it can not add it to the references for some other reason, probably because it is incompatible with your OCX version.
Regards
0

Featured Post

Technology Partners: 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

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. 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. This l…

734 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