Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

registering ocx control

Posted on 2000-03-20
4
Medium Priority
?
324 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 143

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 200 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and 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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…

824 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