published forms as messages

A

An Dong

Hello Sue,
I have some problem with my published IPM.Note-based forms. The items
created by these forms are not really messages. They cannot be view in
the preview pane (this item has interactive content...) and the icon
shown is the same as IPM.Post. What can I do ?
Thank you
AnDong
PS : I use google to post my messages and it takes hours before they
appear. I know there is a website but i can't find the
adress...please.
 
S

Sue Mosher [MVP-Outlook]

This sounds like normal behavior. A form that has contained code will not
show anything in the preview pane. The icon will be the pushpin unless you
change it on the (Properties) page of the form in design mode.
 
A

An Dong

Yes, but I wrote no code in it.

Sue Mosher said:
This sounds like normal behavior. A form that has contained code will not
show anything in the preview pane. The icon will be the pushpin unless you
change it on the (Properties) page of the form in design mode.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP-Outlook]

Your issue is totally different. I don't think Outlook renders frames very
well, especially Outlook 2003, which doesn't load external content.
 
A

An Dong

Hello,
Final match it seems.
Point 1 : I realy need to use a custom form (myform1) as my default form
Point 2 : the messages I send have to be viewable in the preview pane
Point 3 : custom forms sometimes can't be view in the preview pane
(espacially in mine)
Consequence : I need to send items based on the standard IPM.Note form
Mean : put code into myform1 (function item_send()) to copy the content
of my item into a standard item and send it.
Problem : security prompts
Solution : here i need your help
Case 1 :
- I create an intermediate form (myform2) which I define as the default
form instead of myform1.
- I put code into myform2 (function item_open()) to open a redemption
safemailitem when my form is lunched.
- I set an instence of myform1 (myitem1) as safeitem.item
- when I send the message, the code in myitem1 is run and opens an other
item (IPM.Note), then copies the contant of myitem1 into this item,
sends this item and close myitem1.
--> How can I refer to myitem1 as a safemailitem, so as to avoid
security prompts ? Can I refer to it from itself (wow, i don't know
whether my english is still correct...), I mean refer to an item as a
safeitem whithin its own code ?
Or can i write a function item_send in myform1 so that when I send
myitem1, the code runs a function in myitem2 (which is the instance of
myform2 i first need to open) ? This would be great because i know how
to refer to myitem1 as a safeitem from myitem2...
Case 2 :
- I create no intermediate form, but i write a function item_send() to
call a macro from myintem1. This macro creates and fills an IPM.Note
based item and i avoid security prompts by using an authentified
signature (wow, my english is getting better and better...). This item I
send.
Please help me end this once and for all !
Thank you
AnDong
(PS : if sometimes you don't understand my english, tell me. better
saying things twice than going on whith that problem !)
 
S

Sue Mosher [MVP-Outlook]

Set objSafeMyItem1 = CreateObject("Redemption.SafeMailItem")
Item.Save
objSafeMyItem1.Item = Item
 
A

An Dong

Hello,
actually, the code doesn't work. I put a msgbox before and after
objSafeMyItem1.Item = Item, the box before appears, the box after
never appears :(
what can i do ?
Thanks
AnDOng
 
S

Sue Mosher [MVP-Outlook]

Maybe you could show your code and try running it without any On Error
statement?

--
Sue Mosher, Outlook MVP
Author of
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