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

Code warning errors appear for some users but not others



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 27th 07, 09:07 AM posted to microsoft.public.outlook.program_forms
[email protected]
external usenet poster
 
Posts: 14
Default Code warning errors appear for some users but not others

Hi

I started developing a custom form some time ago and received a few
"Object not found" type errors when running it during the development
phase. These were fixed and all was fine.

I have been asked to make some amendments recently (adding new fields,
removing others etc) which I have done, and have run the form with no
errors. However, when certain users use the form they are getting
various code errors (object not found, type mismatch etc).

The problem is that I am not getting those errors so I cannot properly
test the form before publishing it each time. I am having to ask
users to tell me the line numbers in the error messages they get and
then fix them. I have been given a new PC here in the office since the
original development so I am wondering if there is some setting in
Outlook that has been changed so that warning messages are not
displaying when I run the form but are displaying for other people.
Is this the case or is there some other reason?

I appreciate your help.

Regards

Adam

  #2  
Old July 27th 07, 11:47 AM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Code warning errors appear for some users but not others

If code isn't running at all -- as on a one-off form item -- you'd get no warning messages. There is setting to suppress warnings, though.

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


wrote in message oups.com...
Hi

I started developing a custom form some time ago and received a few
"Object not found" type errors when running it during the development
phase. These were fixed and all was fine.

I have been asked to make some amendments recently (adding new fields,
removing others etc) which I have done, and have run the form with no
errors. However, when certain users use the form they are getting
various code errors (object not found, type mismatch etc).

The problem is that I am not getting those errors so I cannot properly
test the form before publishing it each time. I am having to ask
users to tell me the line numbers in the error messages they get and
then fix them. I have been given a new PC here in the office since the
original development so I am wondering if there is some setting in
Outlook that has been changed so that warning messages are not
displaying when I run the form but are displaying for other people.
Is this the case or is there some other reason?

I appreciate your help.

Regards

Adam

  #3  
Old July 27th 07, 12:07 PM posted to microsoft.public.outlook.program_forms
[email protected]
external usenet poster
 
Posts: 14
Default Code warning errors appear for some users but not others

Hi Sue

The code definitely seems to be running, there are other things it
does that can be seen to have happened correctly. The form doesn't
seem to have been "one-offed".

What settings could suppress warning messages? Interestingly I have
just found through some testing that certain code messages do still
occur, namely Syntax errors. It just seems to be things like missing
objects.

Thanks for your help,

Adam


  #4  
Old July 27th 07, 12:34 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Code warning errors appear for some users but not others

Sorry, I left out a "no" in my previous post. There is *no* setting to suppress warnings. The symptoms suggest there is something different about the other users' environment or data, compared with yours. Missing object errors generally reflect an erroneous assumption about whether a particular object will be available at runtime.

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


wrote in message oups.com...
Hi Sue

The code definitely seems to be running, there are other things it
does that can be seen to have happened correctly. The form doesn't
seem to have been "one-offed".

What settings could suppress warning messages? Interestingly I have
just found through some testing that certain code messages do still
occur, namely Syntax errors. It just seems to be things like missing
objects.


"Sue Mosher [MVP-Outlook]" wrote in message ...
If code isn't running at all -- as on a one-off form item -- you'd get no warning messages. There is setting to suppress warnings, though.


wrote in message oups.com...
Hi

I started developing a custom form some time ago and received a few
"Object not found" type errors when running it during the development
phase. These were fixed and all was fine.

I have been asked to make some amendments recently (adding new fields,
removing others etc) which I have done, and have run the form with no
errors. However, when certain users use the form they are getting
various code errors (object not found, type mismatch etc).

The problem is that I am not getting those errors so I cannot properly
test the form before publishing it each time. I am having to ask
users to tell me the line numbers in the error messages they get and
then fix them. I have been given a new PC here in the office since the
original development so I am wondering if there is some setting in
Outlook that has been changed so that warning messages are not
displaying when I run the form but are displaying for other people.
Is this the case or is there some other reason?

 




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
ERRORS since IE 7 BETA 2 and 3- 501 and FOCUS ERRORS- HELP ! trmalo Outlook Express 1 July 19th 06 05:24 PM
Error code returned when users say No to security prompt Long Nguyen Outlook - Using Forms 2 April 3rd 06 05:48 AM
How do I colour-code meeting req. for shared users on a network? Revelfree Outlook - Calandaring 0 March 15th 06 10:16 AM
Shared Calendar and forms malicious code warning Transam388 Outlook - Calandaring 2 March 14th 06 06:56 PM
Add a meeting-ending tone, like a warning. Like warning before. Nicholas NFB Outlook - Calandaring 2 January 21st 06 09:28 PM


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