View Single Post
  #2  
Old January 18th 06, 05:24 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default form not working

As I said, if you check the "Send form definition with item" box, code on the form won't run. See http://www.outlookcode.com/d/secforms.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Fidel" wrote in message ...
i got some in same case, i check the send form definition with item" box and
they are published in personal forms.

what can i do?




"Sue Mosher [MVP-Outlook]" escribió en el mensaje
...
You didn't check the "send form definition with item" box on the
(Properties) page, did you? That one-offs the form so that code won't run.

You still didn't say where you published the form -- Personal Forms,
Organizational Forms, a folder.

"Lee" wrote in message
...
I publish the form in outlook, I even add the msgbox "test" statement in
the
code but when I run , nothing comes out.

"Sue Mosher [MVP-Outlook]" wrote:

Where did you publish the form? Code doesn't run on unpublished forms in
Outlook 2003.

"Lee" wrote in message
...
Hi,

I am using outlook 2003 and I create a form and a button. On the button
I
write a script to display the INBOX but nothing display when I click on
the
button, pls advice anything wrong.


Set myNameSpace = Application.GetNameSpace("MAPI")
Set myFolder = myNameSpace.GetDefaultFolder(6)
myFolder.Display




Ads