V
Viswanath Tumu
Hello. Is there a way to register an OCX control such as
mscomctl.ocx via VBA? As you know, the manual way is to
go to 'Run' and type in regsvr32 <path & filename of
ocx>. In other words, how can I implement the same via
Visual Basic Code? I am trying to automate a process of
registering an OCX so that I do not receive the 'Could
not load an object because it was not found on this
machine' error. My other question is even though I am
using the Packaging Wizard to package my application, I
still receive the error when the program is run on a
different os such as Windows NT. Can the Packaging wizard
not register the ocx appropriately depending on the OS in
which the application is installed? Is there an easy way
to register an OCX regardless of the os that the end-user
will have on his PC? Many thanks.
mscomctl.ocx via VBA? As you know, the manual way is to
go to 'Run' and type in regsvr32 <path & filename of
ocx>. In other words, how can I implement the same via
Visual Basic Code? I am trying to automate a process of
registering an OCX so that I do not receive the 'Could
not load an object because it was not found on this
machine' error. My other question is even though I am
using the Packaging Wizard to package my application, I
still receive the error when the program is run on a
different os such as Windows NT. Can the Packaging wizard
not register the ocx appropriately depending on the OS in
which the application is installed? Is there an easy way
to register an OCX regardless of the os that the end-user
will have on his PC? Many thanks.