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

Macros have been disabled error Message with Custom forms



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 5th 09, 04:28 PM posted to microsoft.public.outlook.program_forms
BuddyWork
external usenet poster
 
Posts: 18
Default Macros have been disabled error Message with Custom forms

When I was debugging the code it was IPM.Appointment but after its published
its IPM.Appointment.Marketer Meeting

Thanks,

"Sue Mosher [MVP]" wrote:

If you are using a published form, the message class cannot be
IPM.Appointment, because that's the standard form's class. If you are not
using a published form, then it's not going to be fully functional.

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


"BuddyWork" wrote in message
...
Hello Sue,

I believe the MessageClass value is set to IPM.Appointment because I have
not changed it. I could add some debugging information to see what the
actual
value is when the security message is displayed.

Correct the user only gets the error when they preview the item sometimes.

There are no Outlook 2007 controls used.

Thanks,

"Sue Mosher [MVP]" wrote:

I'm not sure you answered my actual question, which was: What is the
actual
value of the MessageClass property on the received item that has this
behavior? Is the user getting the message only when they preview the
item,
only when they open the item, or both? Also, do you get the same behavior
if
you publish the form with Outlook 2003 instead of 2007?

When I was asking about ActiveX, I was asking about controls on the
form's
design surface, not the code behind the form. You're not using any of the
new controls that come with Outlook 2007, are you?

"BuddyWork" wrote in message
...
Its a custom meeting form IPM.Appointment.

"Sue Mosher [MVP]" wrote:

Meeting? Is this a custom Appointment form? What is the value of the
MessageClass property on the received item that has this behavior?

"BuddyWork" wrote in message
...
Hello Sue,

The form does called the CreateObject to create a C# ActiveX object.
This
is
the only ActiveX object that is used.

In Outlook 2007 users have not reported this macro error message.

In Outlook 2003 users are saying they are not seeing the macro error
message
all the time. It sometime appears when the meeting arrives in their
inbox
they get the error message sometimes. They have the preview feature
enabled.
But they are saying they do not get this error all the time which
means
its
hard for me to reproduce. The strange thing is that the message was
on
their
screen and when I asked them to create the same meeting then the
error
did
not appear.

Their normal.dot does not include any macros.

Thanks,


"Sue Mosher [MVP]" wrote:

Does the form use any ActiveX controls that are not present in
Outlook
2003?
Have you tried publishing the form with Outlook 2003 instead of
Outlook
2007? Is the Outlook 2003 using Word as the email editor? Are there
macros
in the Normal.dot file?

"BuddyWork" wrote in message
...

Found it and the Send form definition with item is already
unchecked.
"Sue Mosher [MVP]" wrote:

Sounds like you might have a very old version of Outlook
2003,
without
service packs, that gives a confusing message. Make sure
the
form
is
published with the "send form definition with item" box on
the
(Properties)
page in design mode unchecked.

"BuddyWork" wrote:

I've created a custom outlook form using VB Script and
in
Outlook
2003
the
users gets the message 'Macros have been disabled.
Macros
might
contain
viruses or other security hazards. Do not enable this
content
unless
you
trust the source of this file'. In Outlook 2007 the
users
do
not
get
this
message. The VB Script does not call into any macros so
I
cannot
understand
why this is happening.






  #2  
Old October 5th 09, 05:09 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP][_4_]
external usenet poster
 
Posts: 552
Default Macros have been disabled error Message with Custom forms

Debugging how, where? What I'm interested in is the value of the
MessageClass property on the actual received item.

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


"BuddyWork" wrote in message
...
When I was debugging the code it was IPM.Appointment but after its
published
its IPM.Appointment.Marketer Meeting

Thanks,

"Sue Mosher [MVP]" wrote:

If you are using a published form, the message class cannot be
IPM.Appointment, because that's the standard form's class. If you are not
using a published form, then it's not going to be fully functional.



"BuddyWork" wrote in message
...
Hello Sue,

I believe the MessageClass value is set to IPM.Appointment because I
have
not changed it. I could add some debugging information to see what the
actual
value is when the security message is displayed.

Correct the user only gets the error when they preview the item
sometimes.

There are no Outlook 2007 controls used.

Thanks,

"Sue Mosher [MVP]" wrote:

I'm not sure you answered my actual question, which was: What is the
actual
value of the MessageClass property on the received item that has this
behavior? Is the user getting the message only when they preview the
item,
only when they open the item, or both? Also, do you get the same
behavior
if
you publish the form with Outlook 2003 instead of 2007?

When I was asking about ActiveX, I was asking about controls on the
form's
design surface, not the code behind the form. You're not using any of
the
new controls that come with Outlook 2007, are you?

"BuddyWork" wrote in message
...
Its a custom meeting form IPM.Appointment.

"Sue Mosher [MVP]" wrote:

Meeting? Is this a custom Appointment form? What is the value of
the
MessageClass property on the received item that has this behavior?

"BuddyWork" wrote in message
...
Hello Sue,

The form does called the CreateObject to create a C# ActiveX
object.
This
is
the only ActiveX object that is used.

In Outlook 2007 users have not reported this macro error message.

In Outlook 2003 users are saying they are not seeing the macro
error
message
all the time. It sometime appears when the meeting arrives in
their
inbox
they get the error message sometimes. They have the preview
feature
enabled.
But they are saying they do not get this error all the time which
means
its
hard for me to reproduce. The strange thing is that the message
was
on
their
screen and when I asked them to create the same meeting then the
error
did
not appear.

Their normal.dot does not include any macros.

Thanks,


"Sue Mosher [MVP]" wrote:

Does the form use any ActiveX controls that are not present in
Outlook
2003?
Have you tried publishing the form with Outlook 2003 instead of
Outlook
2007? Is the Outlook 2003 using Word as the email editor? Are
there
macros
in the Normal.dot file?

"BuddyWork" wrote in
message
...

Found it and the Send form definition with item is already
unchecked.
"Sue Mosher [MVP]" wrote:

Sounds like you might have a very old version of
Outlook
2003,
without
service packs, that gives a confusing message. Make
sure
the
form
is
published with the "send form definition with item" box
on
the
(Properties)
page in design mode unchecked.

"BuddyWork" wrote:

I've created a custom outlook form using VB Script
and
in
Outlook
2003
the
users gets the message 'Macros have been disabled.
Macros
might
contain
viruses or other security hazards. Do not enable this
content
unless
you
trust the source of this file'. In Outlook 2007 the
users
do
not
get
this
message. The VB Script does not call into any macros
so
I
cannot
understand
why this is happening.








  #3  
Old October 6th 09, 08:38 AM posted to microsoft.public.outlook.program_forms
BuddyWork
external usenet poster
 
Posts: 18
Default Macros have been disabled error Message with Custom forms

Hello Sue,

Item.MessageClass is equal to IPM.Appointment Marketer Meeting
Item.Class is equal to 37

Thanks

"Sue Mosher [MVP]" wrote:

Debugging how, where? What I'm interested in is the value of the
MessageClass property on the actual received item.

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


"BuddyWork" wrote in message
...
When I was debugging the code it was IPM.Appointment but after its
published
its IPM.Appointment.Marketer Meeting

Thanks,

"Sue Mosher [MVP]" wrote:

If you are using a published form, the message class cannot be
IPM.Appointment, because that's the standard form's class. If you are not
using a published form, then it's not going to be fully functional.



"BuddyWork" wrote in message
...
Hello Sue,

I believe the MessageClass value is set to IPM.Appointment because I
have
not changed it. I could add some debugging information to see what the
actual
value is when the security message is displayed.

Correct the user only gets the error when they preview the item
sometimes.

There are no Outlook 2007 controls used.

Thanks,

"Sue Mosher [MVP]" wrote:

I'm not sure you answered my actual question, which was: What is the
actual
value of the MessageClass property on the received item that has this
behavior? Is the user getting the message only when they preview the
item,
only when they open the item, or both? Also, do you get the same
behavior
if
you publish the form with Outlook 2003 instead of 2007?

When I was asking about ActiveX, I was asking about controls on the
form's
design surface, not the code behind the form. You're not using any of
the
new controls that come with Outlook 2007, are you?

"BuddyWork" wrote in message
...
Its a custom meeting form IPM.Appointment.

"Sue Mosher [MVP]" wrote:

Meeting? Is this a custom Appointment form? What is the value of
the
MessageClass property on the received item that has this behavior?

"BuddyWork" wrote in message
...
Hello Sue,

The form does called the CreateObject to create a C# ActiveX
object.
This
is
the only ActiveX object that is used.

In Outlook 2007 users have not reported this macro error message.

In Outlook 2003 users are saying they are not seeing the macro
error
message
all the time. It sometime appears when the meeting arrives in
their
inbox
they get the error message sometimes. They have the preview
feature
enabled.
But they are saying they do not get this error all the time which
means
its
hard for me to reproduce. The strange thing is that the message
was
on
their
screen and when I asked them to create the same meeting then the
error
did
not appear.

Their normal.dot does not include any macros.

Thanks,


"Sue Mosher [MVP]" wrote:

Does the form use any ActiveX controls that are not present in
Outlook
2003?
Have you tried publishing the form with Outlook 2003 instead of
Outlook
2007? Is the Outlook 2003 using Word as the email editor? Are
there
macros
in the Normal.dot file?

"BuddyWork" wrote in
message
...

Found it and the Send form definition with item is already
unchecked.
"Sue Mosher [MVP]" wrote:

Sounds like you might have a very old version of
Outlook
2003,
without
service packs, that gives a confusing message. Make
sure
the
form
is
published with the "send form definition with item" box
on
the
(Properties)
page in design mode unchecked.

"BuddyWork" wrote:

I've created a custom outlook form using VB Script
and
in
Outlook
2003
the
users gets the message 'Macros have been disabled.
Macros
might
contain
viruses or other security hazards. Do not enable this
content
unless
you
trust the source of this file'. In Outlook 2007 the
users
do
not
get
this
message. The VB Script does not call into any macros
so
I
cannot
understand
why this is happening.









 




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
Macros suddenly disabled TedT Outlook and VBA 1 June 8th 09 12:15 PM
Macros disabled - again and again.... [email protected] Outlook and VBA 4 June 5th 08 09:29 PM
Error message -macros on this project are disabled…. jk Outlook and VBA 3 October 2nd 06 07:52 PM
Macros disabled Larry Outlook and VBA 1 March 23rd 06 07:50 PM


All times are GMT +1. The time now is 12:43 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.