ActiveX component can't create object

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I m trying to use ActiveX OCX files like MSMAPI32.ocx, MSINET.ocx...etc in
my Access Module. But all fail with error message "ActiveX component can't
create object".

I have tried the following...
Dim FTP as Object
set FTP = createobject("INET")
- - - - - - - - - - - - -
Dim FTP as New INET

- - - - - - - - - - - - - - -

It work on some PC & some not. Can someone help to find whats missing.

Highly appreciate your assistance.

regards

faisal Karim
 
in case control have a license - you can no just use createobject to
initiate it, in VB there is a linceses collection which you have to fill
before doing such things
i think the only workaround for access is to insert this control on a form
(can be a hidden form also) and set reference to it
 
Back
Top