A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook 2007 and Item.Close



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 14th 07, 03:18 PM posted to microsoft.public.outlook.program_forms
slbergh
external usenet poster
 
Posts: 1
Default Outlook 2007 and Item.Close

Has the issue with Item.Close been resolved yet? I have a custom form with a
button that saves and closes the form. In Outlook 2003, it works fine;
however, in 2007 it causes Outlook to crash. Before I migrate my users to
'07, I need to find a way around this issue.

This is the only code being used:
Sub cmdSaveClose_Click
Item.Close(0)
End Sub


Ads
  #2  
Old May 14th 07, 03:25 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Outlook 2007 and Item.Close

Judging by the file versions, it looks like the hotfix described at http://support.microsoft.com/kb/935517/ may be in the public update described at http://support.microsoft.com/kb/933493/. If it turns out that it isn't, just call Microsoft to get the hotfix.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"slbergh" wrote in message ...
Has the issue with Item.Close been resolved yet? I have a custom form with a
button that saves and closes the form. In Outlook 2003, it works fine;
however, in 2007 it causes Outlook to crash. Before I migrate my users to
'07, I need to find a way around this issue.

This is the only code being used:
Sub cmdSaveClose_Click
Item.Close(0)
End Sub


  #3  
Old June 8th 07, 06:11 AM posted to microsoft.public.outlook.program_forms
Dean Rosenhain
external usenet poster
 
Posts: 1
Default Outlook 2007 and Item.Close

I recently raised this as a bug in Outlook 2007. Microsoft were very good at
confirming and tracking the issue with me. I have received a "pre Hotfix"
version of Outlook and the VB Script dll that fixes the problem. I expect it
will be wrapped into a real hotfix in the next few weeks.

BTW - this is not the "can't do some things in a Close event" issue - this
is a problem calling the Item.Close method anywhere in code.
--
Dean Rosenhain
Planet Software.


"Sue Mosher [MVP-Outlook]" wrote:

Judging by the file versions, it looks like the hotfix described at http://support.microsoft.com/kb/935517/ may be in the public update described at http://support.microsoft.com/kb/933493/. If it turns out that it isn't, just call Microsoft to get the hotfix.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"slbergh" wrote in message ...
Has the issue with Item.Close been resolved yet? I have a custom form with a
button that saves and closes the form. In Outlook 2003, it works fine;
however, in 2007 it causes Outlook to crash. Before I migrate my users to
'07, I need to find a way around this issue.

This is the only code being used:
Sub cmdSaveClose_Click
Item.Close(0)
End Sub



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Close Message, Close Outlook cdf Outlook - General Queries 2 April 16th 07 03:42 PM
Insert Item as shortcut in Outlook Calendar 2007 PJohnMarc Outlook - Calandaring 0 January 3rd 07 03:51 PM
SharePoint (WSS) 2007 / Outlook 2007 - Alert - Cannot open this item Harry Pfleger Outlook - General Queries 2 January 2nd 07 11:15 PM
Item.Save and Item.Close Script causes Outlook 2007 to Crash Rayyan Outlook - Using Forms 6 November 25th 06 03:14 AM
Outlook 2007 Links.Item - what is returned? David Hyde Outlook and VBA 1 October 24th 06 01:26 PM


All times are GMT +1. The time now is 06:13 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.