X-print control throw error before printing custm form with to, subject

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I have a custom message form that contains To and Subject fields. I am using x-print control. Is there a work aroun to not to display the error when I print this form. I do not care if it does not print the To: and Subject fields, but I want to make sure when the user print he should not see the error message. On error resume next does not seem to overcome the erros. I do not know if there is any other way to use other types fields that give the same functionlaity like click to button that will bring the address list in the form. I can not change the subject field because the code belo
Sub Item_PropertyChange(ByVal Name
Set oOutlook = Item.GetInspector.ModifiedFormPage
Set tsp = oOutlook("Page1"
Select Case Nam
Case "Subject
If I change subject to new field the item_property event will fail

Any suggestion

Thanks
 
You didn't say what the error message is.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers


Ravi said:
Hi,

I have a custom message form that contains To and Subject fields. I am
using x-print control. Is there a work aroun to not to display the error
when I print this form. I do not care if it does not print the To: and
Subject fields, but I want to make sure when the user print he should not
see the error message. On error resume next does not seem to overcome the
erros. I do not know if there is any other way to use other types fields
that give the same functionlaity like click to button that will bring the
address list in the form. I can not change the subject field because the
code below
 
The error message is "could not load an object because it is not available on tihs machine" This message repeats two times because the custom form use To: and Subject fields. After I click ok two times it prints without the To: textbox value.
 
The error message is "could not load an object because it is not available on tihs machine" This message repeats two times because the custom form use To: and Subject fields. After I click ok two times it prints without the To: textbox value.
 
What version of Outlook?

Please take the time to quote the original message so that people reading
your current response can understand what you're talking about. Otherwise,
you may not receive the answer you're looking for.

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Ravi said:
The error message is "could not load an object because it is not available
on tihs machine" This message repeats two times because the custom form use
To: and Subject fields. After I click ok two times it prints without the
To: textbox value.
 
Back
Top