Security exception while opening custom outlook form

  • Thread starter scc.wo5@gmail.com
  • Start date Views 1,780
Status
Not open for further replies.
S

scc.wo5@gmail.com

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?
 
S

Sue Mosher [MVP]

Please see your earlier thread on this topic.

Sue Mosher

<scc.wo5@gmail.com> wrote in message

news:f2df80f9-738c-474b-b37e-4aef53b329b9@d38g2000prn.googlegroups.com...
> 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?
 
Status
Not open for further replies.
Top