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
Solved

registering ocx control

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
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…

856 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