Link to home
Start Free TrialLog in
Avatar of Sankar030999
Sankar030999

asked on

registering ocx control

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
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

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
Avatar of Sankar030999
Sankar030999

ASKER

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
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.
ASKER CERTIFIED SOLUTION
Avatar of hes
hes
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial