Form Issues4

G

Guest

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

Hollis Paul [MVP - Outlook]

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

Guest

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

Guest

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;>).
 
S

Sue Mosher [MVP-Outlook]

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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top