W
Wolfgang
Hello!
I am using Outlook 2000 SP3.
I want to copy my contact folder to a backup folder, when Outlook quit.
This is my code:
Private Sub Application_Quit()
MsgBox ("Start_Quit")
Set myNameSpace = Application.GetNamespace("MAPI")
Set mystore_ p= myNameSpace.Folders("personal_store")
Set mystore_b = myNameSpace.Folders("archiv_store")
Set myfolder = mystore_p.Folders("contact")
Call myfolder.CopyTo(mystore_b)
MsgBox ("End_Quit")
End Sub
I get the runtimeerror "-2147467259 (80004005)" in code line
"Set mystore_ p= myNameSpace.Folders("personal_store")"
Exists a known solution for this problem?
Thanks
Wolfgang
I am using Outlook 2000 SP3.
I want to copy my contact folder to a backup folder, when Outlook quit.
This is my code:
Private Sub Application_Quit()
MsgBox ("Start_Quit")
Set myNameSpace = Application.GetNamespace("MAPI")
Set mystore_ p= myNameSpace.Folders("personal_store")
Set mystore_b = myNameSpace.Folders("archiv_store")
Set myfolder = mystore_p.Folders("contact")
Call myfolder.CopyTo(mystore_b)
MsgBox ("End_Quit")
End Sub
I get the runtimeerror "-2147467259 (80004005)" in code line
"Set mystore_ p= myNameSpace.Folders("personal_store")"
Exists a known solution for this problem?
Thanks
Wolfgang