setting a refernce to the personal forms library

  • Thread starter Thread starter dh
  • Start date Start date
For what? Publishing a form? Use olPersonalRegistry (2). To be precise use:
MyForm.FormDescription PublishForm

For accessing the actual personal forms registry you can't use the Outlook
object model. It's a collection of hidden messages in your PST or mailbox
that is only accessible using CDO 1.21 or Extended MAPI or Redemption code.
If that's what you are interested in let me know and I can show you some
code for accessing those hidden messages. If that's what you want you might
also want to download OutlookSpy from www.dimastr.com since you will be
spending time looking at hidden messages and various MAPI properties.
 
What I need to do is this, I have a custom form and one of the options is a
command button that
will access another custom form. I was hoping to be able to access the
custom form when its installed
in the users personal form library. Seems to only work when connect to the
exchange server (using outlook 2k)
My other option is to save it to a folder on the users PC as an oft file and
access it that way, which is ok.
That make sense?
I like your option of accessing the hidden message, that seems to be the
best option
Thanks!!!
DH
 
If the form is published in the user's Personal Forms Library and the
profile is set to synchronize forms then it should be available to the user
even when not connected to the Exchange server. The symptom you describe
makes me think it is not being synchronized. If it is available then just
using Set myItem = Folder.Items.Add("custom message class here") should
always work.

You misunderstood what I meant about the hidden messages. Those only exist
for forms that have been published and if the form is not available offline
anyway the hidden message for that form would not be there in offline mode.
 
I have forced sync. and I see the dialog that the forms are being synced,
but again, offline, I can't get the form to launch
DH
 
Can you launch the form manually? Have you tried clearing your forms cache?
 
If you can launch the form manually when in offline mode and the code you
are using works in online mode then I'm afraid I'm at a loss for why the
code won't work in offline mode.
 
Back
Top