VBScript does not run in Outlook 2003

Status
Not open for further replies.
N

N Motihar

Hi,

I am having an issue between outlook 2000 and 2003 forms. Custom form

that works in outlook 2000 now does not fire event or runs vbscript in

outlook 2003 client. Original form has "Send form definition with Item"

unchecked. If I check this and publish form in our test environment, vb

script does not execute on Outlook 2000 and Outlook 2003.

I need to make the vbscript on form work on both (outlook 2000 and

2003). Any suggestions would be appreciated.

Thanks.
 
H

Hollis Paul

Outlook versions have never been backward compatible. You have to use

the outlook object browser in 2003 to find the new names of the

variables that you want to use. Then include branching test to make

sure that a form instance running on 2000 only executes the 2000 code,

and a form instance running on 2003 only executes the 2003 code. Lots

of fun, no?

Hollis Paul

Mukilteo, WA USA
 
S

Sue Mosher [MVP]

I don't know why you'd say that. Even in Outlook 2007, which has a Folder

object, MAPIFolder still works for backward compatibility with existing

code.

I would be looking at possible causes of one-off items and wondering where

this form is published and what folder(s) it's used in.

Sue Mosher,
 
T

TmFyZXNoIE1vdGloYXI

Hi Sue,

Thanks for the article. I have published the form and here is more

information I found. If I publish the form on Personal Forms Library folder,

the code behind the form executes in Outlook 2003, but publishing the form on

Organizational Forms Library causes the issue where the VBScript does not

run. Could this be related to permission issue?

Naresh
 
S

Sue Mosher [MVP]

You didn't check the "send form definition with item" box on the Properties

page of the form, did you? Never do that on a form with script.

Sue Mosher,
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
J Outlook 2010 VBScript editor does not run code at all Outlook VBA and Custom Forms 0
B VBScript doesn't run on Recipient Email Outlook VBA and Custom Forms 2
M VbScript for Command Button on Contacts Custom Form Using Outlook 1
M Forward Appointment as BCC with VBScript Outlook VBA and Custom Forms 7
D Security patch seems to kill vbscript on Enterprise Level Outlook VBA and Custom Forms 4
R VBScript Commands Outlook VBA and Custom Forms 2
Mark White VBScript Move sent mail to non-default folder Outlook VBA and Custom Forms 5
Mark White VBScript Move sent mail to non-default folder Outlook VBA and Custom Forms 0
S my vbscript button1_click code works on appointment created but not on opening an existing apntmn Outlook VBA and Custom Forms 16
JorgeDario Template oft that contains VBScript Is not running Using Outlook 1
T Create new item in public folder using VBscript Outlook VBA and Custom Forms 1
R VBScript Sendmail not selecting correct 'from' address Outlook VBA and Custom Forms 3
B Recommended Outlook & VBScript Books? Outlook VBA and Custom Forms 3
Mary B VBscript: Need to copy every email to a folder & mark that copy as read Outlook VBA and Custom Forms 5
K VBScript Outlook, add attachment Outlook VBA and Custom Forms 1
S VBA Macro to VBScript Outlook VBA and Custom Forms 1
E VBScript to replace module? Using Outlook 3
F VBScript to add pre defined text Using Outlook 5
D Custom form and VBScript Using Outlook 5
F VBScript copy contacts and remove duplicates Using Outlook 1
R VBA Macro to VBScript in a form- Help Please! Using Outlook 10
H Accessing a control on a frame in Outlook with VBScript Outlook VBA and Custom Forms 1
Y Creating a Task with VBScript Outlook VBA and Custom Forms 14
F Junk Email does not get added to the Blocked Sender List Using Outlook 0
N Free/busy publish at http location does not work Using Outlook 1
T Why does outlook 2010 convert only some forum notifications to plain text? Using Outlook 0
R Auto display of new email does not work on non-default account Outlook VBA and Custom Forms 0
M Deleting attachments does not reduce file size Using Outlook 0
M vCard does not have user-defined fields from my custom contact form (365) Using Outlook 1
M Outlook .com group does not show up in Outlook for office 365 home Using Outlook 3
W Outlook Calendar does not save view any longer! Using Outlook 3
B Outlook 2016 Does not Shutdown Correctly Using Outlook 3
P Desktop doesn't index Outlook IMAP files, laptop Outlook does index those same IMAP files Using Outlook 2
G Entered data in custom field goes in card and does not stay in list view Outlook VBA and Custom Forms 1
witzker social connector 2010 does not show all emails to or from contact Using Outlook 3
witzker social connector 2010 does not show all emails to or from contact New Slipstick.com Articles 0
Rupert Dragwater Email flag does not show up in Outlook2013 Using Outlook 13
J Outlook 2016 message content does not display - outlook.com; exchange Using Outlook.com accounts in Outlook 9
D Outlook 2016 IMAP Connection Returns All Email but outlook.com does NOT Using Outlook.com accounts in Outlook 2
A BCM does not work anymore! BCM (Business Contact Manager) 1
D Outlook 2016: /altvba startup switch does not work Using Outlook 2
A BCM does not work with Windows 10 1703 any more BCM (Business Contact Manager) 3
S Outlook does not open the .pst file created by the Outlook Using Outlook 5
Q Undisclosed recipients does not include sender Using Outlook 1
N Does a Shared Folder Policy override a Digital Signature Setting for macros? Outlook VBA and Custom Forms 6
E What does mean this icon at the picture attached? Using Outlook 2
O Windows 10 x64 Outlook 2013 - URL does not open (anymore) Using Outlook 3
M How does Outlook determine item numbers in a folder? Outlook VBA and Custom Forms 3
LarryS change day template as cpao does not see .catx files Outlook VBA and Custom Forms 4
C Discovery search does not show autoforwarded messages Exchange Server Administration 1

Similar threads

Top