Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / August 2004

Tip: Looking for answers? Try searching our database.

Launch another outlook form using command button

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Karen - 30 Jul 2004 05:00 GMT
I want to launch another outlook form using a command button, how to do
this?
Thanks in advance

e.g. After pressing cmdTest, IPM.Note.test will be opened
Sue Mosher [MVP-Outlook] - 30 Jul 2004 13:30 GMT
To create a new instance of a custom form programmatically, use the Add
method on the target folder's Items collection. 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.

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> I want to launch another outlook form using a command button, how to do
> this?
> Thanks in advance
>
> e.g. After pressing cmdTest, IPM.Note.test will be opened
Karen - 02 Aug 2004 04:07 GMT
I got it~ thanks!

> To create a new instance of a custom form programmatically, use the Add
> method on the target folder's Items collection. If it's a message form, you
[quoted text clipped - 9 lines]
> >
> > e.g. After pressing cmdTest, IPM.Note.test will be opened
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.