Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21266

Removing a Reference, VB6

$
0
0
My app formerly used a third party ocx (resize.ocx), and it was checked as one of the references in the Reference dialog box.

I no longer need this ocx and have removed all code references to it. (A search through Project confirms this.)

When I try to compile the development code, I get a series of 3 messages: "Resize.ocx cannot open the license file." "You are not licensed to use the Resize.ocs in the development environment." "License information for this component not found."

When I try to uncheck this in the dialog box, I get a message "Cannot remove control or reference; in use."

I tried unregistering the ocx, hoping that would help. I'm away from my home-office for the holidays, and tried to recall the correct syntax for unregistering. I used "c:\windows\system32>regsvr32 c:\windowsw\regsvr32\resize.ocx \u". Resulting message. "Resize.ocx not found. ..."

BTY, a very similar app once used Resize.ocx, but no longer does. I don't recall how I removed the reference to it, but that app runs in development mode, compiles, and everything else it is supposed to.

Thanks for help, and Happy Holidays.

halw

Viewing all articles
Browse latest Browse all 21266

Trending Articles