Solved

Trouble with COMCTL32.OCA

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now