(nobody)
8/29/2010 3:37:00 PM
"Alexandros Peropulous" <peropero@gmail.com> wrote in message
news:%23Vm5Xg2RLHA.2104@TK2MSFTNGP04.phx.gbl...
> I am installing mscomm32.ocx with my app.
> But this file is only a wrapper around a system dll, right?
Yes.
> When I am using api calls, I don't have to distribute it, is that correct?
Yes. However, make sure that you remove the control from the form,
otherwise VB would attempt to load it, and the user would get an error
message bout the missing OCX. It may also interest you to know that this
only happens when that particular form is loaded, so one could use "Sub
Main", and check if the DLL or OCX is installed(Perhaps by using
CreateObject, or LoadLibrary, and trap the error), then load alternative
forms if needed.