![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Ok, Ive solved the error message problem. If anyone is curious it was a
simple change. I changed the "General" entry to "Message" because that is the actual name of the page i'm trying to print. However, the captions are still being cut-off. This is somewhat minor, but is irritating (even looks ugly) and I would still like to have the form print completely. Also, when opening the form (after being sent from a user) I do get the message "to keep malicious code from running one or more of the objects in this form were not loaded". And of course, the form has no data that was entered. And this happens no matter who sends it (whether it is Outlook 2000 or 2003). Any suggestions.?? |
#2
|
|||
|
|||
![]()
In article ,
=?Utf-8?B?U25ha2VfUGxpc2tlbg==?= wrote: Also, when opening the form (after being sent from a user) I do get the message "to keep malicious code from running one or more of the objects in this form were not loaded". And of course, the form has no data that was entered. And this happens no matter who sends it (whether it is Outlook 2000 or 2003). Any suggestions.?? I don't think this happens if the form is published to the Exchange Organizational Forms Library. If the user is not on your Exchange system, then you should consider redesigning the form and use the "Safe" Redemption objects. See the info that is available at www.dimastr.com/Redemption . -- Hollis Paul Mukilteo, WA USA |
#3
|
|||
|
|||
![]()
It's an issue with ActiveX controls in unpublished forms. See http://www.outlookcode.com/d/secforms.htm#activex
-- 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 "Snake_Plisken" wrote in message ... Also, when opening the form (after being sent from a user) I do get the message "to keep malicious code from running one or more of the objects in this form were not loaded". And of course, the form has no data that was entered. And this happens no matter who sends it (whether it is Outlook 2000 or 2003). Any suggestions.?? |
#4
|
|||
|
|||
![]()
Sue,
Not sure if the problem I am having is related to this 2003 ActiveX anomaly discussed in this thread or not. My folders based application works great in 2002. When I moved the custom forms to a 2003 system and started testing, my custom contact form which has a VBScript in it gives me following Script Error when I initiate the form: ActiveX component can't create object: 'Get object': Line No. 41 Line 41 in my script is: Set m_objExcel = GetObject(, "Excel.Application") Read the link your provided that talks about Object Model Guard security issues for On-off forms, and ensured that the custom form does not one-off by checking message class on the form when it opens does not revert to default from custom. Can't be sure though that it didn't one-off at some time during the testing. If it did, but is still showing my custom message class when initiated, is there something else I should check. This problem is really frustrating me in porting my folder based application from 2002 to 2003. BTW, I will post my VBScript code that runs great on OL2002 on your www.outlookcode.com site in case you or anyone might find it useful. It does a good job of reading excel data into a list-box in the custom form and saving the check box settings for persistant use (thanks to your previous help;). -- John E. "Sue Mosher [MVP-Outlook]" wrote: It's an issue with ActiveX controls in unpublished forms. See http://www.outlookcode.com/d/secforms.htm#activex -- 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 "Snake_Plisken" wrote in message ... Also, when opening the form (after being sent from a user) I do get the message "to keep malicious code from running one or more of the objects in this form were not loaded". And of course, the form has no data that was entered. And this happens no matter who sends it (whether it is Outlook 2000 or 2003). Any suggestions.?? |
#5
|
|||
|
|||
![]()
Code doesn't run on one-off forms, so that's not the issue. If you're using GetObject(), you need an On Error Resume Next statement so that Outlook will keep running code and get to the CreateObject() statement that you presumably have later to handle the case where Excel isn't running .
-- 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 "John E." wrote in message ... Sue, Not sure if the problem I am having is related to this 2003 ActiveX anomaly discussed in this thread or not. My folders based application works great in 2002. When I moved the custom forms to a 2003 system and started testing, my custom contact form which has a VBScript in it gives me following Script Error when I initiate the form: ActiveX component can't create object: 'Get object': Line No. 41 Line 41 in my script is: Set m_objExcel = GetObject(, "Excel.Application") Read the link your provided that talks about Object Model Guard security issues for On-off forms, and ensured that the custom form does not one-off by checking message class on the form when it opens does not revert to default from custom. Can't be sure though that it didn't one-off at some time during the testing. If it did, but is still showing my custom message class when initiated, is there something else I should check. This problem is really frustrating me in porting my folder based application from 2002 to 2003. BTW, I will post my VBScript code that runs great on OL2002 on your www.outlookcode.com site in case you or anyone might find it useful. It does a good job of reading excel data into a list-box in the custom form and saving the check box settings for persistant use (thanks to your previous help;). |
#6
|
|||
|
|||
![]()
Thank you Hollis and Sue. The form I have created works perfectly. Thank you
again for all of your help and sharing your knowledge with me. "Snake_Plisken" wrote: Ok, Ive solved the error message problem. If anyone is curious it was a simple change. I changed the "General" entry to "Message" because that is the actual name of the page i'm trying to print. However, the captions are still being cut-off. This is somewhat minor, but is irritating (even looks ugly) and I would still like to have the form print completely. Also, when opening the form (after being sent from a user) I do get the message "to keep malicious code from running one or more of the objects in this form were not loaded". And of course, the form has no data that was entered. And this happens no matter who sends it (whether it is Outlook 2000 or 2003). Any suggestions.?? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Form - Receiver replies and form is gone, message body is b | Kozlik | Outlook - Using Forms | 16 | July 14th 06 10:32 PM |
Is it possible to open the default Contact form with the Activities tab activated from a custom form? VSTO 2005, Outlook 2003 | David Webb | Outlook and VBA | 1 | June 20th 06 10:59 PM |
OL2003 - can you auto-fill a singel new contact form with online form data | TimR | Outlook - Using Contacts | 1 | February 15th 06 02:43 PM |
Outlook opens Form as Email message, not Form | [email protected] | Outlook - General Queries | 2 | January 26th 06 10:54 PM |
I send an Outlook custom form, but a std. form displays? | Sue Mosher [MVP-Outlook] | Outlook - Using Forms | 0 | January 20th 06 08:41 PM |