>>>I'm using an ActiveX control (Rich Text) for the first time. Here are my questions:
>>>
>>>1) Do I have to include it in my project? If so, where? (Under what heading?)
>>
>>I usually include OCX files under the heading "Other" (last Tab of Project Manager).
>
>Don't do this. It is not needed and just copies the code of the ocx into your exe and makes your exe bigger for no reason. All you need to do is include the
>ocx in the distribution directory and make sure it is checked as an ocx file in
>the setup wizard.
That's a good new for me!
I was just following MS instructions - Chapter 25 from the Developer's Guide under the topic 'Including Active X components':
"...include any OCX files in your Project and ensure the necessary support files are installed..."
Now I'll certainly try to remove them from my project to see what happens. Reducing even more the EXE file will be very good! (After all, M$ is not perfect, is it?)
Thanks,
Renato
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement