Thread: shortcut
View Single Post
  #6  
Old September 5th 07, 01:22 AM posted to microsoft.public.outlook.program_forms
Joel Allen
external usenet poster
 
Posts: 117
Default shortcut

Thanks Sue. This actually just opened up a standard task. My custom form
is in one of the public folders. Am I doing something wrong? It works for
one of my other custom forms (which is the default form) but not for the
form called ProfilitDocuments.

"C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE" /c
"IPM.Task.ProfilitDocuments"

Thanks, Joel

"Sue Mosher [MVP-Outlook]" wrote in message
...
Use the /c switch with outlook.exe. See
http://www.outlookcode.com/article.aspx?id=56

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Joel Allen" wrote in message
...
Thanks Paul. I have it published, and everything works ok. But how can I
make a shortcut to open up the form? I don't want to click File, New,
Choose Form..... I have many forms that I use, so it would be nice to
have
shortcuts.

Thanks again for your help,
Joel


"Hollis Paul" wrote in message
...
In article , Joel Allen wrote:
I tried saving a copy of the form (as an .oft file) - the form opened
but
the code did not run.

Any idea?

It is by design that code does not run when a form is opened from a .oft
file. You need to publish it to your Exchange Organization Forms
Library,
or the personal forms library in your Outlook .pst file, and then run it
from Outlook. If it is a .oft file, it is not trusted. If it is a
published form, then it is a trusted object, and the code will run.

--
Hollis Paul
Mukilteo, WA USA






Ads