View Single Post
  #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