![]() |
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
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
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 |