Guest_imported
New member
- Jan 1, 1970
- 0
I registered for the Active X Components using the path below:
The path was "c:\winnt\system32\Regsvr32.exe"
Now to register for example "msmapi32.ocx", because I wanted to use the mapi feature, all i did was
in the dos prompt run:
C:\winnt\system32\>regsvr32 msmapi32.ocx
Then a msg box pops up and says "DllRegisterServer in msmapi32.ocx succeeded."
However, then I try running a script:
'******************************
Dim MAPI
Set MAPI = CreateObject("MAPI.MAPISession"
'*************************************
The code craps out on the 'Set MAPI = CreateObject("MAPI.MAPISession"'
What am I doing wrong?
The path was "c:\winnt\system32\Regsvr32.exe"
Now to register for example "msmapi32.ocx", because I wanted to use the mapi feature, all i did was
in the dos prompt run:
C:\winnt\system32\>regsvr32 msmapi32.ocx
Then a msg box pops up and says "DllRegisterServer in msmapi32.ocx succeeded."
However, then I try running a script:
'******************************
Dim MAPI
Set MAPI = CreateObject("MAPI.MAPISession"
'*************************************
The code craps out on the 'Set MAPI = CreateObject("MAPI.MAPISession"'
What am I doing wrong?