PDA

View Full Version : Problem with ocx not registering



aellio
01-04-2007, 10:23 PM
I'm redistributing a VB6 program that utilizes Farpoint Spread (.ocx) in several components. I've created an setup program in InstallShield 12 Express. When I use that to install, the program initally runs fine and the Spread component works correctily in the main program

However, there are some other compnents of the program (also .exe files) that are called from the main program. When these are called up I get the message "component fpSru70.ocx or one of its dependencies not correctly registered: a file is missing or nvalid."

Any suggestions on how to resolve this?

(I've also experienced this install problem with Graphics Server.)

Thanks,

Alan

Mark Stegall
01-23-2007, 01:57 PM
At our shop we have found that you need to register things linke OCX and other ActiveX component or DLLs in the order of their dependencies. You should be able to use the dependency walker (depends.exe) with Visual Studio to determine the order. If a dependent file gets moved you will need to reregister the file or you will get failures for the already registered component like you are describing.

I hope this suggestion helps.