![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hello,
I try to use the MapiTable object in OL 2000, but get an error on the ExecSQL statement: "HrGetPropTag: MAPIProp == NULL". Same code on 2002/2003 works without error, so I don`t know where to search. Does MapiTables not work on 2000? I tried it with an exchange post box and with a pst file - same result. Here is the code: Public Sub GetDaslProperty() Const DASLGUID As String = "{41B067EB-BDC6-472C-8989- BAC7B8F788EE}" Const DASLPROPERTY As String = "http://schemas.microsoft.com/mapi/ string/" & DASLGUID & "/" & "Test" Dim objTable As Object Dim objRecordset As Object Dim strSQL As String Set objTable = CreateObject("Redemption.MAPITable") objTable.Item = Outlook.Session.GetDefaultFolder(olFolderCalendar) .Items strSQL = "SELECT """ & DASLPROPERTY & """ FROM Folder" Set objRecordset = objTable.ExecSQL(strSQL) End Sub Redemption version is 4.5.0.730 Thanks for answers! Peter |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help with MapiTable and EntryID/StoreID | Peter Marchert | Outlook and VBA | 29 | August 20th 07 07:29 AM |
SQL filters with MAPITABLE | DENNIS BROWN | Outlook and VBA | 1 | July 21st 07 09:50 PM |
How do I get a propertyvalue from a mapitable | [email protected] | Outlook and VBA | 1 | October 4th 06 06:51 PM |
Redemption - MapiTable : BusyStatus | Tadwick | Outlook and VBA | 4 | August 10th 06 06:36 PM |
Redemption MAPITable | Dmitry Streblechenko | Add-ins for Outlook | 1 | January 12th 06 04:09 AM |