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

Tags: , , , ,

To help prevent .. objects were not loaded





 
 
Thread Tools Display Modes
  #1  
Old July 10th 08, 09:01 AM posted to microsoft.public.outlook.program_forms
David Sackstein
external usenet poster
 
Posts: 1
Default To help prevent .. objects were not loaded

Hi all,
I created a custom form with some VBScript behind.
Sometimes I get the message above. (Outlook 2007 and 2003)
I enabled the "Allow script in shared folders" and "Allow script in public
folders".
I made sure that in the registry:
under HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\S ecurity\ both
PublicFolderScript and SharedFolderScript are enabled.
(by the way I noticed the GUI and the registry keys dont always agree).

Anyway the problem is eratic. I cannot yet determine what exactly caused it
to appear and what made it disappear.
This is very frustrating because I need to deliver it to a customer.

Any ideas?

Thanks
David
Ads
  #2  
Old July 10th 08, 02:39 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default To help prevent .. objects were not loaded

That warning message is not related to those settings, but is more likely to
be related to a one-off form being in use. See
http://outlookcode.com/article.aspx?id=67
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"David Sackstein" wrote:

Hi all,
I created a custom form with some VBScript behind.
Sometimes I get the message above. (Outlook 2007 and 2003)
I enabled the "Allow script in shared folders" and "Allow script in public
folders".
I made sure that in the registry:
under HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\S ecurity\ both
PublicFolderScript and SharedFolderScript are enabled.
(by the way I noticed the GUI and the registry keys dont always agree).

Anyway the problem is eratic. I cannot yet determine what exactly caused it
to appear and what made it disappear.
This is very frustrating because I need to deliver it to a customer.


  #3  
Old July 10th 08, 02:55 PM posted to microsoft.public.outlook.program_forms
David Sackstein[_2_]
external usenet poster
 
Posts: 4
Default To help prevent .. objects were not loaded

Hi Sue,
Thanks for the quick response.
I have seen that article but I am still confused.
During the course of my development I removed the published forms from my
Personal Folder.
However I do have a copy that I saved as an .otf file.
So this is a one-off. Right?
In order to Publish it to my designated folder I understand that I need to
open it and select Publish To on the Tools / Forms menu.
Well, I never get there, because after double-clicking on the form I am
informed that the code was not loaded. Indeed the Microsoft Spreadsheet 11.0
control I placed on a tab is also gone.
I would imagine that publishing the form wont make them reappear.
Right?
So what did I miss?

Thanks a lot

David

"Sue Mosher [MVP-Outlook]" wrote:

That warning message is not related to those settings, but is more likely to
be related to a one-off form being in use. See
http://outlookcode.com/article.aspx?id=67
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"David Sackstein" wrote:

Hi all,
I created a custom form with some VBScript behind.
Sometimes I get the message above. (Outlook 2007 and 2003)
I enabled the "Allow script in shared folders" and "Allow script in public
folders".
I made sure that in the registry:
under HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\S ecurity\ both
PublicFolderScript and SharedFolderScript are enabled.
(by the way I noticed the GUI and the registry keys dont always agree).

Anyway the problem is eratic. I cannot yet determine what exactly caused it
to appear and what made it disappear.
This is very frustrating because I need to deliver it to a customer.


  #4  
Old July 10th 08, 03:04 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default To help prevent .. objects were not loaded

Yes, an .oft file is a one-off and not suitable for production use. To
publish it, open it with the Tools | Forms | Design This Form command
instead.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"David Sackstein" wrote:

During the course of my development I removed the published forms from my
Personal Folder.
However I do have a copy that I saved as an .otf file.
So this is a one-off. Right?
In order to Publish it to my designated folder I understand that I need to
open it and select Publish To on the Tools / Forms menu.
Well, I never get there, because after double-clicking on the form I am
informed that the code was not loaded. Indeed the Microsoft Spreadsheet 11.0
control I placed on a tab is also gone.
I would imagine that publishing the form wont make them reappear.
Right?
So what did I miss?

Thanks a lot

David

"Sue Mosher [MVP-Outlook]" wrote:

That warning message is not related to those settings, but is more likely to
be related to a one-off form being in use. See
http://outlookcode.com/article.aspx?id=67

"David Sackstein" wrote:

I created a custom form with some VBScript behind.
Sometimes I get the message above. (Outlook 2007 and 2003)
I enabled the "Allow script in shared folders" and "Allow script in public
folders".
I made sure that in the registry:
under HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\S ecurity\ both
PublicFolderScript and SharedFolderScript are enabled.
(by the way I noticed the GUI and the registry keys dont always agree).

Anyway the problem is eratic. I cannot yet determine what exactly caused it
to appear and what made it disappear.
This is very frustrating because I need to deliver it to a customer.


  #5  
Old July 10th 08, 08:11 PM posted to microsoft.public.outlook.program_forms
David Sackstein[_2_]
external usenet poster
 
Posts: 4
Default To help prevent .. objects were not loaded

Hi Sue,
When I open Tools | Forms I have two options:
Choose Form or Design Form.
Both open the same dialog that doesnt give me access to the filesystem (I am
using Outlook 2003, I understand on 2007 it does allow access).
Anyway, on my system I cant use these options to open the .oft file (and
then consequently publish it).
From my experience the Design This Form option appears once I have
successfully opened a form. But, here is the Catch 22, I cant open the form
because its a "one off" and the code is not loaded.

So how can I publish this .oft?
Thanks

David

"Sue Mosher [MVP-Outlook]" wrote:

Yes, an .oft file is a one-off and not suitable for production use. To
publish it, open it with the Tools | Forms | Design This Form command
instead.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"David Sackstein" wrote:

During the course of my development I removed the published forms from my
Personal Folder.
However I do have a copy that I saved as an .otf file.
So this is a one-off. Right?
In order to Publish it to my designated folder I understand that I need to
open it and select Publish To on the Tools / Forms menu.
Well, I never get there, because after double-clicking on the form I am
informed that the code was not loaded. Indeed the Microsoft Spreadsheet 11.0
control I placed on a tab is also gone.
I would imagine that publishing the form wont make them reappear.
Right?
So what did I miss?

Thanks a lot

David

"Sue Mosher [MVP-Outlook]" wrote:

That warning message is not related to those settings, but is more likely to
be related to a one-off form being in use. See
http://outlookcode.com/article.aspx?id=67

"David Sackstein" wrote:

I created a custom form with some VBScript behind.
Sometimes I get the message above. (Outlook 2007 and 2003)
I enabled the "Allow script in shared folders" and "Allow script in public
folders".
I made sure that in the registry:
under HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\S ecurity\ both
PublicFolderScript and SharedFolderScript are enabled.
(by the way I noticed the GUI and the registry keys dont always agree).

Anyway the problem is eratic. I cannot yet determine what exactly caused it
to appear and what made it disappear.
This is very frustrating because I need to deliver it to a customer.

  #6  
Old July 10th 08, 08:54 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default To help prevent .. objects were not loaded

In the Tools | Forms | Design Form dialog, you need to choose User Templates
in File System.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"David Sackstein" wrote:

Hi Sue,
When I open Tools | Forms I have two options:
Choose Form or Design Form.
Both open the same dialog that doesnt give me access to the filesystem (I am
using Outlook 2003, I understand on 2007 it does allow access).

"Sue Mosher [MVP-Outlook]" wrote:

Yes, an .oft file is a one-off and not suitable for production use. To
publish it, open it with the Tools | Forms | Design This Form command
instead.


"David Sackstein" wrote:

During the course of my development I removed the published forms from my
Personal Folder.
However I do have a copy that I saved as an .otf file.
So this is a one-off. Right?
In order to Publish it to my designated folder I understand that I need to
open it and select Publish To on the Tools / Forms menu.
Well, I never get there, because after double-clicking on the form I am
informed that the code was not loaded. Indeed the Microsoft Spreadsheet 11.0
control I placed on a tab is also gone.
I would imagine that publishing the form wont make them reappear.
Right?
So what did I miss?

Thanks a lot

David

"Sue Mosher [MVP-Outlook]" wrote:

That warning message is not related to those settings, but is more likely to
be related to a one-off form being in use. See
http://outlookcode.com/article.aspx?id=67

"David Sackstein" wrote:

I created a custom form with some VBScript behind.
Sometimes I get the message above. (Outlook 2007 and 2003)
I enabled the "Allow script in shared folders" and "Allow script in public
folders".
I made sure that in the registry:
under HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\S ecurity\ both
PublicFolderScript and SharedFolderScript are enabled.
(by the way I noticed the GUI and the registry keys dont always agree).

Anyway the problem is eratic. I cannot yet determine what exactly caused it
to appear and what made it disappear.
This is very frustrating because I need to deliver it to a customer.

  #7  
Old July 11th 08, 07:35 PM posted to microsoft.public.outlook.program_forms
David Sackstein[_2_]
external usenet poster
 
Posts: 4
Default To help prevent .. objects were not loaded

Hi Sue,
Thanks very much for your patience.
This indeed allowed me to publish the form after which, use of the published
form succeeded.
I have forwarded this procedure to my colleague who is testing for the
customer.

But I have one more question, if I may.
By default, so I read, scripting is enabled for forms in public folders but
not in forms for shared folders.
In order to avoid asking each user to find the check box and enable
scripting, I would like to publish to a public folder.
Is this the correct approach?
Who has permissions to publish to a public folder? Anyone?
If this is not the right approach, can you recommend a procedure that would
save us the logistical nightmare of checking the check box on every desktop
in the organization?

Thanks !

David

"Sue Mosher [MVP-Outlook]" wrote:

In the Tools | Forms | Design Form dialog, you need to choose User Templates
in File System.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"David Sackstein" wrote:

Hi Sue,
When I open Tools | Forms I have two options:
Choose Form or Design Form.
Both open the same dialog that doesnt give me access to the filesystem (I am
using Outlook 2003, I understand on 2007 it does allow access).

"Sue Mosher [MVP-Outlook]" wrote:

Yes, an .oft file is a one-off and not suitable for production use. To
publish it, open it with the Tools | Forms | Design This Form command
instead.


"David Sackstein" wrote:

During the course of my development I removed the published forms from my
Personal Folder.
However I do have a copy that I saved as an .otf file.
So this is a one-off. Right?
In order to Publish it to my designated folder I understand that I need to
open it and select Publish To on the Tools / Forms menu.
Well, I never get there, because after double-clicking on the form I am
informed that the code was not loaded. Indeed the Microsoft Spreadsheet 11.0
control I placed on a tab is also gone.
I would imagine that publishing the form wont make them reappear.
Right?
So what did I miss?

Thanks a lot

David

"Sue Mosher [MVP-Outlook]" wrote:

That warning message is not related to those settings, but is more likely to
be related to a one-off form being in use. See
http://outlookcode.com/article.aspx?id=67

"David Sackstein" wrote:

I created a custom form with some VBScript behind.
Sometimes I get the message above. (Outlook 2007 and 2003)
I enabled the "Allow script in shared folders" and "Allow script in public
folders".
I made sure that in the registry:
under HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\S ecurity\ both
PublicFolderScript and SharedFolderScript are enabled.
(by the way I noticed the GUI and the registry keys dont always agree).

Anyway the problem is eratic. I cannot yet determine what exactly caused it
to appear and what made it disappear.
This is very frustrating because I need to deliver it to a customer.

  #8  
Old July 11th 08, 07:52 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default To help prevent .. objects were not loaded

The only reason you'd want to publish a custom form to a public folder is so
that users can create items in that folder. Is that what you want to do? If
so, then someone with folder Owner permission must publish the form to the
folder.

The option for allowing scripts to run in custom forms in secondary
mailboxes woud best be managed with Group Policy Objects.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"David Sackstein" wrote:

Hi Sue,
Thanks very much for your patience.
This indeed allowed me to publish the form after which, use of the published
form succeeded.
I have forwarded this procedure to my colleague who is testing for the
customer.

But I have one more question, if I may.
By default, so I read, scripting is enabled for forms in public folders but
not in forms for shared folders.
In order to avoid asking each user to find the check box and enable
scripting, I would like to publish to a public folder.
Is this the correct approach?
Who has permissions to publish to a public folder? Anyone?
If this is not the right approach, can you recommend a procedure that would
save us the logistical nightmare of checking the check box on every desktop
in the organization?

Thanks !

David

"Sue Mosher [MVP-Outlook]" wrote:

In the Tools | Forms | Design Form dialog, you need to choose User Templates
in File System.


"David Sackstein" wrote:

Hi Sue,
When I open Tools | Forms I have two options:
Choose Form or Design Form.
Both open the same dialog that doesnt give me access to the filesystem (I am
using Outlook 2003, I understand on 2007 it does allow access).

"Sue Mosher [MVP-Outlook]" wrote:

Yes, an .oft file is a one-off and not suitable for production use. To
publish it, open it with the Tools | Forms | Design This Form command
instead.


"David Sackstein" wrote:

During the course of my development I removed the published forms from my
Personal Folder.
However I do have a copy that I saved as an .otf file.
So this is a one-off. Right?
In order to Publish it to my designated folder I understand that I need to
open it and select Publish To on the Tools / Forms menu.
Well, I never get there, because after double-clicking on the form I am
informed that the code was not loaded. Indeed the Microsoft Spreadsheet 11.0
control I placed on a tab is also gone.
I would imagine that publishing the form wont make them reappear.


  #9  
Old July 11th 08, 08:25 PM posted to microsoft.public.outlook.program_forms
David Sackstein[_2_]
external usenet poster
 
Posts: 4
Default To help prevent .. objects were not loaded

Hi Sue,

I see.
But could I also supply a simple installation program that would
programmatically change that setting?

By the way, I noticed that setting
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\O utlook\Security\[Public |
Shared]FolderScript did not affect the setting of the check box in Outlook
when I restarted it, so maybe the best option would be using automation to
change the setting? (I dont think its because I am blocked from overriding
Group Policy because I am able to change those check boxes through the UI).

Better still could I supply an installation program that would
progammatically publish the form to a folder AND allow customer scripts to
run on forms in that folder?
I might use .Net for this exercise - if its possible.

Thanks again!

David

"Sue Mosher [MVP-Outlook]" wrote:

The only reason you'd want to publish a custom form to a public folder is so
that users can create items in that folder. Is that what you want to do? If
so, then someone with folder Owner permission must publish the form to the
folder.

The option for allowing scripts to run in custom forms in secondary
mailboxes woud best be managed with Group Policy Objects.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"David Sackstein" wrote:

Hi Sue,
Thanks very much for your patience.
This indeed allowed me to publish the form after which, use of the published
form succeeded.
I have forwarded this procedure to my colleague who is testing for the
customer.

But I have one more question, if I may.
By default, so I read, scripting is enabled for forms in public folders but
not in forms for shared folders.
In order to avoid asking each user to find the check box and enable
scripting, I would like to publish to a public folder.
Is this the correct approach?
Who has permissions to publish to a public folder? Anyone?
If this is not the right approach, can you recommend a procedure that would
save us the logistical nightmare of checking the check box on every desktop
in the organization?

Thanks !

David

"Sue Mosher [MVP-Outlook]" wrote:

In the Tools | Forms | Design Form dialog, you need to choose User Templates
in File System.


"David Sackstein" wrote:

Hi Sue,
When I open Tools | Forms I have two options:
Choose Form or Design Form.
Both open the same dialog that doesnt give me access to the filesystem (I am
using Outlook 2003, I understand on 2007 it does allow access).

"Sue Mosher [MVP-Outlook]" wrote:

Yes, an .oft file is a one-off and not suitable for production use. To
publish it, open it with the Tools | Forms | Design This Form command
instead.

"David Sackstein" wrote:

During the course of my development I removed the published forms from my
Personal Folder.
However I do have a copy that I saved as an .otf file.
So this is a one-off. Right?
In order to Publish it to my designated folder I understand that I need to
open it and select Publish To on the Tools / Forms menu.
Well, I never get there, because after double-clicking on the form I am
informed that the code was not loaded. Indeed the Microsoft Spreadsheet 11.0
control I placed on a tab is also gone.
I would imagine that publishing the form wont make them reappear.


 




Thread Tools
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
Transform DocumentItem Objects as Outlook Item Objects in folder Wnick Outlook and VBA 5 February 22nd 08 08:59 PM
All Calendar Objects... Steven Sinclair Outlook - Calandaring 1 December 10th 07 03:46 PM
Redemption Objects Safal Outlook - Using Forms 3 January 3rd 07 03:18 PM
RDO (Redemption Objects) with events in VB 6.0 ddvpost@gmail.com Add-ins for Outlook 1 October 13th 06 07:06 PM
Recipients Objects David Cebrian Add-ins for Outlook 1 March 16th 06 10:05 PM


All times are GMT +1. The time now is 01:22 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Online Loans - Share Prices - Neopets Cheats, Games and Neopoints - Aim Icons - Loans