dbTalk Databases Forums  

MAPI's obects in ActiveX VBScript

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss MAPI's obects in ActiveX VBScript in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
OGC
 
Posts: n/a

Default MAPI's obects in ActiveX VBScript - 08-21-2003 , 04:26 AM






Hi,

The statement CreateObject("MAPI.Session") always causes the error message
"ActiveX Scripting Encountered a Run Time Error during the execution of the
script"
I wonder if it is possible to use MAPI objects in a DTS ActiveX Script?

Thanks.



Reply With Quote
  #2  
Old   
Euan Garden[MS]
 
Posts: n/a

Default Re: MAPI's obects in ActiveX VBScript - 08-22-2003 , 08:25 PM






Can you set the ActiveX Script to Execute on main thread and see what
happens?


--
-Euan

Please reply only to the newsgroup so that others can benefit. When posting,
please state the version of SQL Server being used and the error number/exact
error message text received, if any.

This posting is provided "AS IS" with no warranties, and confers no rights.

"OGC" <artswww (AT) postman (DOT) ru> wrote

Quote:
Hi,

The statement CreateObject("MAPI.Session") always causes the error message
"ActiveX Scripting Encountered a Run Time Error during the execution of
the
script"
I wonder if it is possible to use MAPI objects in a DTS ActiveX Script?

Thanks.





Reply With Quote
  #3  
Old   
OGC
 
Posts: n/a

Default Re: MAPI's obects in ActiveX VBScript - 08-25-2003 , 11:24 AM



Yes, this is the solution I have found myself. Thanks for help.

"Euan Garden[MS]" <euang (AT) online (DOT) microsoft.com> wrote

Quote:
Can you set the ActiveX Script to Execute on main thread and see what
happens?


--
-Euan

Please reply only to the newsgroup so that others can benefit. When
posting,
please state the version of SQL Server being used and the error
number/exact
error message text received, if any.

This posting is provided "AS IS" with no warranties, and confers no
rights.

"OGC" <artswww (AT) postman (DOT) ru> wrote in message
news:OlWr8X8ZDHA.2520 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hi,

The statement CreateObject("MAPI.Session") always causes the error
message
"ActiveX Scripting Encountered a Run Time Error during the execution of
the
script"
I wonder if it is possible to use MAPI objects in a DTS ActiveX Script?

Thanks.







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.