Solved

registering ocx control

Posted on 2000-03-20
4
292 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

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

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

895 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

15 Experts available now in Live!

Get 1:1 Help Now