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

Microsoft security update MS06-003 breaks Outlook 2003



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 14th 06, 03:34 AM posted to microsoft.public.outlook.program_forms
sergeya
external usenet poster
 
Posts: 4
Default Microsoft security update MS06-003 breaks Outlook 2003

Latest security patch breaks Outlook logic, some Outlook Addins that use that
logic will cause Outlook to crash

After update is applied, Outlook build number changes to (11.8002.6568) SP2

The following combination of custom template use and VBA script kills Oulook:

1, create custom template from a regular Outlook email message and save it
as mailtemplate.oft in some folder
2. launch VBA editor via Alt-F11
3. Paste contetnts of the script below into VBA editor
4. change path to mailtemplate.oft to point to the saved template
5. place cursor on the first line and run the script via F5 or F8
6. Outlook crashes

---
Script:
-----
Sub CrashOutlook()
Application.GetNamespace("MAPI").GetDefaultFolder (olFolderDrafts)

Dim item As MailItem
Set item = Application.CreateItemFromTemplate("C:\mytemplate. oft",
Application.session.GetDefaultFolder(olFolderDraft s))
Dim itemDescription As FormDescription
Set itemDescription = item.FormDescription
itemDescription.Name = "My Message"
itemDescription.PublishForm (olPersonalRegistry)

' the following call will cause Outlook crash
Application.GetNamespace("MAPI").GetDefaultFolder (olFolderDrafts)
End Sub
--
- Sergey Arutiunov
 




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
Microsoft Update & Outlook Shortcut elziko Outlook - General Queries 1 February 20th 06 05:13 PM
line breaks in plain text email Michael Logies Outlook - General Queries 4 February 5th 06 09:20 AM
problems with Security Update for Outlook 2002 (KB892841) Panda_man Outlook - General Queries 0 January 24th 06 05:54 PM
Problems with the lastest Security Update for Outlook 2003 (KB892843, 1/9/2006) Sledge Hammer via OfficeKB.com Outlook - Using Forms 2 January 23rd 06 10:03 PM
Cannot Access E-Mail After Security Update J-Man Outlook - General Queries 7 January 16th 06 11:45 PM


All times are GMT +1. The time now is 12:54 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.