Thread: Form Issues4
View Single Post
  #5  
Old October 2nd 06, 08:31 PM posted to microsoft.public.outlook.program_forms
John E.
external usenet poster
 
Posts: 37
Default Form Issues4

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.??


Ads