Run form

  • Thread starter Thread starter Annette
  • Start date Start date
A

Annette

I don't get it and I have studied this from the website. Here's the code
I'm using and I'm just missing this totally. I'm using OL2000 and
attempting to bring forth note entitled "Confidential Information". It bugs
out on the Set myFolder = _
myNameSpace.GetDefaultFolder("Organizational Forms Library")

I copied the the public function from the website and still this is not
working. The error indicates Type mismatch.

Ackkkk ... help!

Annette
 
To create a new instance of a custom form programmatically, use the Add
method on the target folder's Items collection, that is, the folder in which
you want to create the item. The location of the published form is not a
factor in this method. Outlook automatically locates the published form; see
http://www.outlookcode.com/d/formscache.htm for more information on how that
process works.

If it's a message form, you can use the Drafts folder as the target. If the
target is a default folder, you can use the Namespace.GetDefaultFolder
method to return it as a MAPIFolder object. Otherwise, you can use the code
at http://www.outlookcode.com/d/code/getfolder.htm to walk the folder
hierarchy and return the MAPIFolder corresponding to a given path string.

If you need further assistance, show us the code you already have, tell us
the message class for your published form, and, if it's not a message form,
explain what folder you want to create it in.

FYI, there is a newsgroup specifically for Outlook forms issues "down the
hall" at microsoft.public.outlook.program_forms or, via web interface, at
http://www.microsoft.com/office/com...spx?dg=microsoft.public.outlook.program_forms
 
Back
Top