Solved

registering ocx control

Posted on 2000-03-20
4
288 Views
Last Modified: 2013-12-25
i'm using imgedit.ocx control in my app. since i need to work in another system now, i copied all the reqd controls and tried registering them using regsvr32. but for this particulr control, an error popped out saying

loadlibrary("imgedit.ocx") failed.

what should i do?
also is there any difference between kodak image edit control(imgedit.ocx) and wang image edit control(imgedit,ocx).
thanks
0
Comment
Question by:Sankar030999
4 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 2639003
What is your new system?
I think that either
* the ocx does not need to be registered
* the ocx has dependency files (dlls) that need to be registered first
0
 

Author Comment

by:Sankar030999
ID: 2639602
i guess the ocx have to be registered. bcos when i open my vb proj, i get an error saying that the control cannot be loaded.
and regarding the dll's, i dont know whether the control has any of them. can u please find out whether the
wang image edit control has any dependency dlls or not.
also whats the diff bet wang imgedit and kodak imgedit control.
thanks
0
 
LVL 3

Expert Comment

by:jjmartin
ID: 2640511
If the control has any dependancies, they will be listed in the ocx's dependancy file.  It should have the same name with a .dep extension.

Also, there may be a required setup routine for the control.  Simply distributing the ocx, does not give a design time license to the user, only runtime, which would cause the error in VB.
0
 
LVL 20

Accepted Solution

by:
hes earned 50 total points
ID: 2641554
You can't distribute imgedit.ocx
See here for why and how to solve it:

http://support.microsoft.com/support/kb/articles/Q190/0/36.ASP

0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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 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…

743 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

13 Experts available now in Live!

Get 1:1 Help Now