Re: DLL or OCX



On Mon, 15 Aug 2005 10:33:25 -0700, Auric__
<not.my.real@xxxxxxxxxxxxx> wrote:

>On Mon, 15 Aug 2005 17:03:34 +0200, SK wrote:
>
>>Coiuld someone please give me some pointers which is better to use in
>>visual basic projects.

>I stick with DLLs.

>>As I understand it, when you make OCX file, you make a component
>>(button, grid etc) that you can use on your forms; and with DLL you
>>can incorporate a lot of forms and classes in one file and than call
>>this from new vb project or ASP?

>>Am I right?

@Tom - yes - but you can also have Forms in an OCX

>Well... if you have regular DLLs, you don't have to register them to use
>them. (I write DLLs in PowerBasic, which does *normal* DLLs.)

Smart move - I use Delphi for them

>OCXs have
>to be registered before use, and I *believe* that VB's "ActiveX DLLs" do
>too. (I don't know for sure, though.)

Yes, AX DLLs have to be Registered

>One thing to remember is that with OCXs, you *must* have a form in your
>project, and load it, to use them - even if all the form does is act as
>a container for the OCX - while the same is not true of DLLs.


.