
10-05-2007, 06:27 PM
|
 |
Ultimate Contributor
* Expert *
|
|
Join Date: Apr 2004
Location: Illinois
Posts: 2,499
|
|
|
In simple terms, they are very similar. Though a UC is graphical in nature. UCs allow users to set design time properties and DLLs don't. UC settings can be persisted (from VB instance to VB instance), DLLs cannot ... unless it writes a "propertybag" like file (.net changes that). DLLs don't have UC properties like ReadProperties, AmbientChanged, Click, etc, etc. So, I would say simply, they are not really interchangeable. Though converting DLL to OCX is much simpler because the main DLL class' code page can almost be pasted whole inside a blank UC's code page and requires very little modifications.
|
__________________
Insomnia is a simple byproduct of "it can't be done" {Window Shaper}
|