M
Michael Kensy
Hi,
I'am trying to develop an outlook appointment folder application.
Everything is nearly working fine but I don't know how to get
RecurrencePattern into folderview (without using VBA)...
I think it isn't possible without some programming and accessing
field.value via CDO. So I tried to build a routine writing that pattern
into an userdefined field everytime some date&time.values change.
But I don't get it work to access the Inspector-Object by the code
inside the form. I did found some examples how to do so via VBA
but I have to do via VBS.
my code snipset:
Function getCDORecurrencePattern()
Dim myCDOItem 'As Item
Dim myCDOInspector 'As Inspector
Dim myCDOSession 'As Object
'***start CDO session
Set myCDOSession = CreateObject("MAPI.Session")
myCDOSession.Logon , , False, False
On Error Resume Next
Set myInspector = myCDOSession.ActiveInspector
'***release objects
myCDOSession.Logoff
Set myCDOInspector = Nothing
Set myCDOItem = Nothing
Set myCDOSession = Nothing
End Function
***
Isn't it possible to access inspObject that way?
I'am trying to develop an outlook appointment folder application.
Everything is nearly working fine but I don't know how to get
RecurrencePattern into folderview (without using VBA)...
I think it isn't possible without some programming and accessing
field.value via CDO. So I tried to build a routine writing that pattern
into an userdefined field everytime some date&time.values change.
But I don't get it work to access the Inspector-Object by the code
inside the form. I did found some examples how to do so via VBA
but I have to do via VBS.
my code snipset:
Function getCDORecurrencePattern()
Dim myCDOItem 'As Item
Dim myCDOInspector 'As Inspector
Dim myCDOSession 'As Object
'***start CDO session
Set myCDOSession = CreateObject("MAPI.Session")
myCDOSession.Logon , , False, False
On Error Resume Next
Set myInspector = myCDOSession.ActiveInspector
'***release objects
myCDOSession.Logoff
Set myCDOInspector = Nothing
Set myCDOItem = Nothing
Set myCDOSession = Nothing
End Function
***
Isn't it possible to access inspObject that way?