"The form you selected could not be displayed. ...."

R

Ross Culver

I've been modifying the Company form that comes with Randy Byrne's, "Building Applications with MS Outlook v. 2002" trying to get to pass values to a custom message form. I've been able to pass to the item.subject, but not to any custom objects on the message form; no errors, just having difficulty finding the right syntax to get to the object.

Then I decided to get out of Outlook and reload it. Now when I try to open the Company form on this workstation, I get the following error.

"The form you selected could not be displayed. The form required to view this message cannot be displayed. Contact your administrator"

The ole 'hold down the shift key while opening' trick doesn't work. I can open the Company form on another workstation, but not this one. Can anyone tell me how to get around this error?

Thanks,

Ross
 
R

Ross Culver

Footnote 2:

I was able to get back to my form by getting the copy from the other workstation, but if anyone can see the glaring problem with my code or could shed some light on how to get to the custom objects on the new item, I'd certainly appreciate it.

Ross
I've been modifying the Company form that comes with Randy Byrne's, "Building Applications with MS Outlook v. 2002" trying to get to pass values to a custom message form. I've been able to pass to the item.subject, but not to any custom objects on the message form; no errors, just having difficulty finding the right syntax to get to the object.

Then I decided to get out of Outlook and reload it. Now when I try to open the Company form on this workstation, I get the following error.

"The form you selected could not be displayed. The form required to view this message cannot be displayed. Contact your administrator"

The ole 'hold down the shift key while opening' trick doesn't work. I can open the Company form on another workstation, but not this one. Can anyone tell me how to get around this error?

Thanks,

Ross
 
S

Sue Mosher [MVP]

Sounds like forms cache corruption. Best practice is to save copies of your work in progress as .oft files every so often.

The information at http://www.slipstick.com/dev/propsyntax.htm might be useful to you. In general, set property values, not control values.
--
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




Footnote 2:

I was able to get back to my form by getting the copy from the other workstation, but if anyone can see the glaring problem with my code or could shed some light on how to get to the custom objects on the new item, I'd certainly appreciate it.
 
R

Ross Culver

Sue,

Thank you very much. Good advice and good directions.

Ross


Sounds like forms cache corruption. Best practice is to save copies of your
work in progress as .oft files every so often.

The information at http://www.slipstick.com/dev/propsyntax.htm might be
useful to you. In general, set property values, not control values.
--
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




Footnote 2:

I was able to get back to my form by getting the copy from the other
workstation, but if anyone can see the glaring problem with my code or could
shed some light on how to get to the custom objects on the new item, I'd
certainly appreciate it.
 

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