Solved

Trouble with COMCTL32.OCA

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help in WHSCRIPT 9 48
Write data from SQL to CSV file - position 1 53
Specify ip address in my connection string for sas 2 54
How does CurrentUser work? 10 31
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

863 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

21 Experts available now in Live!

Get 1:1 Help Now