Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Trouble with COMCTL32.OCA

Posted on 1998-03-26
1
Medium Priority
?
578 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 100 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Suggested Courses

610 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