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?