Solved

Trouble with COMCTL32.OCA

Posted on 1998-03-26
1
558 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

696 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