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

Security exception while opening custom outlook form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 2nd 09, 04:33 PM posted to microsoft.public.outlook.program_forms
[email protected]
external usenet poster
 
Posts: 1
Default Security exception while opening custom outlook form

While opening custom outlook form(appointment form), the following
message is thrown and the msflxgrd.ocx used to display grid is not
shown up.
Exception message :"To help prevent malicious code from running, one
or more objects in this form were not loaded. For more information,
contact your administrator."

The code used in form is as below:

Function Item_Open()
Set Page = GetInspector.ModifiedFormPages("Event Details")

Page.Controls("dtAnnouncement").height=17
Page.Controls("dtAnnouncement").width=105
Page.Controls("dtAnnouncement").value = Date()

Page.Controls("msfgArtist").height=99
Page.Controls("msfgArtist").width=463

Page.Controls("msfgPromotion").height=99
Page.Controls("msfgPromotion").width=463

End Function

Can anyone pls throw some light on this?
Ads
  #2  
Old May 3rd 09, 08:19 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default Security exception while opening custom outlook form

Please see your earlier thread on this topic.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


wrote in message
...
While opening custom outlook form(appointment form), the following
message is thrown and the msflxgrd.ocx used to display grid is not
shown up.
Exception message :"To help prevent malicious code from running, one
or more objects in this form were not loaded. For more information,
contact your administrator."

The code used in form is as below:

Function Item_Open()
Set Page = GetInspector.ModifiedFormPages("Event Details")

Page.Controls("dtAnnouncement").height=17
Page.Controls("dtAnnouncement").width=105
Page.Controls("dtAnnouncement").value = Date()

Page.Controls("msfgArtist").height=99
Page.Controls("msfgArtist").width=463

Page.Controls("msfgPromotion").height=99
Page.Controls("msfgPromotion").width=463

End Function

Can anyone pls throw some light on this?



 




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
e-mail security settings via custom form not being applied TMK Outlook - General Queries 0 July 8th 08 04:27 PM
Problem with custom form after drag and drop (security related?) AlanGlover Outlook - Using Forms 3 November 15th 07 05:41 PM
Opening Outlook custom form [email protected] Outlook - Using Forms 4 July 17th 06 10:47 PM
Outlook custom form opening... Radiohead Add-ins for Outlook 1 April 25th 06 12:50 PM
Custom Form saved as *.msg file not opening correctly in Outlook 2 Jim S. Outlook - Using Forms 5 March 6th 06 04:35 PM


All times are GMT +1. The time now is 02:57 AM.


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.