Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 2nd, 2004, 06:35 AM
Registered User
 
Join Date: Dec 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default mapi.session error

When i was trying to run a vb application i got error in the following line.

set obj = createobject("MAPI.Session")

runtime error - 2147467259
automation error
unspecified error

can anyone help on this?

I gave reference to CDO 1.21 also

Thank You,
Louis

 
Old January 26th, 2004, 11:13 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I think this could be a problem with your late binding. The mapi functionality looks to be ordinarily exposed by an ocx rather than a dll - therefore it is a control you have to add to a form.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Session error gbtx Beginning PHP 4 February 14th, 2008 01:12 AM
Session Error :( andrewjf PHP How-To 2 January 19th, 2005 04:15 PM
DTS sendmail mapi error tdl6281 SQL Server DTS 1 April 13th, 2004 03:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.