![]() |
| 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. |
|
|||||||
| Tags: help, loaded, objects, prevent, were |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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 | |
|
|
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 07:59 PM |
| All Calendar Objects... | Steven Sinclair | Outlook - Calandaring | 1 | December 10th 07 02:46 PM |
| Redemption Objects | Safal | Outlook - Using Forms | 3 | January 3rd 07 02:18 PM |
| RDO (Redemption Objects) with events in VB 6.0 | ddvpost@gmail.com | Add-ins for Outlook | 1 | October 13th 06 06:06 PM |
| Recipients Objects | David Cebrian | Add-ins for Outlook | 1 | March 16th 06 09:05 PM |