(Msg. 1) Posted: Wed May 16, 2007 2:58 pm
Post subject: Opening a specific Custom form with a macro Archived from groups: microsoft>public>outlook>program_forms (more info?)
hello
i have a number of custom forms i use for different purposes and i need to
create a button that will call upon them and then save them in the proper
folder.
for example, i am a service coordinator, i send technicians to fix things
all over and for each trip i need to have a checklist. the form is made, i
have a checklist appointment form that i call PreTripChecklist. i want to be
able to press a button and have it open that form and then when i finish i
need it to be saved in my normal personal calender so that i will get a
reminder.
that last is the real problem, even though i have created other folders to
use those forms in the problem is that i wont get a reminder if the items are
stored in another folder other than the main calender folder.
if someone can suggest some code, or lead me to a tute or something, it
would be appreciated. thanks.
(Msg. 2) Posted: Wed May 16, 2007 6:51 pm
Post subject: Re: Opening a specific Custom form with a macro [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
To create a new instance of a custom form programmatically, use the Add method on the target folder's Items collection:
Set newItem = targetFolder.Items.Add("IPM.Post.YourFormName")
If it's a message form, 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. To create an item in another person's mailbox, use Namespace.GetSharedDefaultFolder to get the MAPIFolder 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 want reminders from non-default folders, upgrade to Outlook 2007 (for folders in your default store) or get the add-in from http://www.slovaktech.com
"DawnTreader" <DawnTreader RemoveThis @discussions.microsoft.com> wrote in message news:9171FECB-52AC-47C8-92BF-236DEB041543@microsoft.com...
> hello
>
> i have a number of custom forms i use for different purposes and i need to
> create a button that will call upon them and then save them in the proper
> folder.
>
> for example, i am a service coordinator, i send technicians to fix things
> all over and for each trip i need to have a checklist. the form is made, i
> have a checklist appointment form that i call PreTripChecklist. i want to be
> able to press a button and have it open that form and then when i finish i
> need it to be saved in my normal personal calender so that i will get a
> reminder.
>
> that last is the real problem, even though i have created other folders to
> use those forms in the problem is that i wont get a reminder if the items are
> stored in another folder other than the main calender folder.
>
> if someone can suggest some code, or lead me to a tute or something, it
> would be appreciated. thanks.
(Msg. 3) Posted: Wed May 16, 2007 6:51 pm
Post subject: Re: Opening a specific Custom form with a macro [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Hello
thanks for the response!
i will try some of that out. the outlook 2007 option is up to the company i
work for.
let you know later how things work out.
"Sue Mosher [MVP-Outlook]" wrote:
> To create a new instance of a custom form programmatically, use the Add method on the target folder's Items collection:
>
> Set newItem = targetFolder.Items.Add("IPM.Post.YourFormName")
>
> If it's a message form, 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. To create an item in another person's mailbox, use Namespace.GetSharedDefaultFolder to get the MAPIFolder 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.
>
> See http://www.outlookcode.com/d/launchform.htm for other ideas.
>
> If you want reminders from non-default folders, upgrade to Outlook 2007 (for folders in your default store) or get the add-in from http://www.slovaktech.com >
> --
> Sue Mosher, Outlook MVP
> Author of Configuring Microsoft Outlook 2003
> http://www.turtleflock.com/olconfig/index.htm > and Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx >
> "DawnTreader" <DawnTreader.TakeThisOut@discussions.microsoft.com> wrote in message news:9171FECB-52AC-47C8-92BF-236DEB041543@microsoft.com...
> > hello
> >
> > i have a number of custom forms i use for different purposes and i need to
> > create a button that will call upon them and then save them in the proper
> > folder.
> >
> > for example, i am a service coordinator, i send technicians to fix things
> > all over and for each trip i need to have a checklist. the form is made, i
> > have a checklist appointment form that i call PreTripChecklist. i want to be
> > able to press a button and have it open that form and then when i finish i
> > need it to be saved in my normal personal calender so that i will get a
> > reminder.
> >
> > that last is the real problem, even though i have created other folders to
> > use those forms in the problem is that i wont get a reminder if the items are
> > stored in another folder other than the main calender folder.
> >
> > if someone can suggest some code, or lead me to a tute or something, it
> > would be appreciated. thanks.
>
(Msg. 4) Posted: Tue Jul 21, 2009 2:25 pm
Post subject: Re: Opening a specific Custom form with a macro [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Hello Sue
can i use something like you have mentioned in your post to push a form to
someone's calendar to be used as the default form?
or will they have to install it manually?
"Sue Mosher [MVP-Outlook]" wrote:
> To create a new instance of a custom form programmatically, use the Add method on the target folder's Items collection:
>
> Set newItem = targetFolder.Items.Add("IPM.Post.YourFormName")
>
> If it's a message form, 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. To create an item in another person's mailbox, use Namespace.GetSharedDefaultFolder to get the MAPIFolder 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.
>
> See http://www.outlookcode.com/d/launchform.htm for other ideas.
>
> If you want reminders from non-default folders, upgrade to Outlook 2007 (for folders in your default store) or get the add-in from http://www.slovaktech.com >
> --
> Sue Mosher, Outlook MVP
> Author of Configuring Microsoft Outlook 2003
> http://www.turtleflock.com/olconfig/index.htm > and Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx >
> "DawnTreader" <DawnTreader RemoveThis @discussions.microsoft.com> wrote in message news:9171FECB-52AC-47C8-92BF-236DEB041543@microsoft.com...
> > hello
> >
> > i have a number of custom forms i use for different purposes and i need to
> > create a button that will call upon them and then save them in the proper
> > folder.
> >
> > for example, i am a service coordinator, i send technicians to fix things
> > all over and for each trip i need to have a checklist. the form is made, i
> > have a checklist appointment form that i call PreTripChecklist. i want to be
> > able to press a button and have it open that form and then when i finish i
> > need it to be saved in my normal personal calender so that i will get a
> > reminder.
> >
> > that last is the real problem, even though i have created other folders to
> > use those forms in the problem is that i wont get a reminder if the items are
> > stored in another folder other than the main calender folder.
> >
> > if someone can suggest some code, or lead me to a tute or something, it
> > would be appreciated. thanks.
>
(Msg. 5) Posted: Tue Jul 21, 2009 9:29 pm
Post subject: Re: Opening a specific Custom form with a macro [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
"DawnTreader" <DawnTreader.RemoveThis@discussions.microsoft.com> wrote in message
news:7BB815F7-6D33-408A-ABB0-A20B29799298@microsoft.com...
> Hello Sue
>
> can i use something like you have mentioned in your post to push a form to
> someone's calendar to be used as the default form?
>
> or will they have to install it manually?
>
> "Sue Mosher [MVP-Outlook]" wrote:
>
>> To create a new instance of a custom form programmatically, use the Add
>> method on the target folder's Items collection:
>>
>> Set newItem = targetFolder.Items.Add("IPM.Post.YourFormName")
>>
>> If it's a message form, 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. To create an item in another
>> person's mailbox, use Namespace.GetSharedDefaultFolder to get the
>> MAPIFolder 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.
>>
>> See http://www.outlookcode.com/d/launchform.htm for other ideas.
>>
>> If you want reminders from non-default folders, upgrade to Outlook 2007
>> (for folders in your default store) or get the add-in from
>> http://www.slovaktech.com
>> "DawnTreader" <DawnTreader.RemoveThis@discussions.microsoft.com> wrote in message
>> news:9171FECB-52AC-47C8-92BF-236DEB041543@microsoft.com...
>> > hello
>> >
>> > i have a number of custom forms i use for different purposes and i need
>> > to
>> > create a button that will call upon them and then save them in the
>> > proper
>> > folder.
>> >
>> > for example, i am a service coordinator, i send technicians to fix
>> > things
>> > all over and for each trip i need to have a checklist. the form is
>> > made, i
>> > have a checklist appointment form that i call PreTripChecklist. i want
>> > to be
>> > able to press a button and have it open that form and then when i
>> > finish i
>> > need it to be saved in my normal personal calender so that i will get a
>> > reminder.
>> >
>> > that last is the real problem, even though i have created other folders
>> > to
>> > use those forms in the problem is that i wont get a reminder if the
>> > items are
>> > stored in another folder other than the main calender folder.
>> >
>> > if someone can suggest some code, or lead me to a tute or something, it
>> > would be appreciated. thanks.
>>
(Msg. 6) Posted: Tue Jul 21, 2009 11:31 pm
Post subject: Re: Opening a specific Custom form with a macro [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Hello Sue
sorry, sometimes i write in haste...
this is what i meant by something: Namespace.GetSharedDefaultFolder
can i use "something", code or script like the one i asked about to open a
form and dump it to a specific folder, to install a form in a shared calendar
folder. i can get the user to make me an "owner" of the folder but i dont
know if this is the best way to go about this. i could walk him through the
steps to "publish" a form to his folder, but i dont even fully understand the
way the forms managment dialog works. i think that its the most unintuitive
interface microsoft has.
anyways, those links you posted will probalby help me to come up with a
solution, thanks for your time.
"Sue Mosher [MVP]" wrote:
> Sorry, but I don't know that "something" you might be referring to. See
> http://www.outlookcode.com/article.aspx?id=27 for info on distributing forms
> to other users and http://www.outlookcode.com/article.aspx?ID=39 for
> information on making a form the default for a folder. That's a task that
> only a folder owner can do, not someone with only delegate rights.
>
> --
> Sue Mosher, Outlook MVP
> Author of Microsoft Outlook 2007 Programming:
> Jumpstart for Power Users and Administrators
> http://www.outlookcode.com/article.aspx?id=54 >
>
> "DawnTreader" <DawnTreader.DeleteThis@discussions.microsoft.com> wrote in message
> news:7BB815F7-6D33-408A-ABB0-A20B29799298@microsoft.com...
> > Hello Sue
> >
> > can i use something like you have mentioned in your post to push a form to
> > someone's calendar to be used as the default form?
> >
> > or will they have to install it manually?
> >
> > "Sue Mosher [MVP-Outlook]" wrote:
> >
> >> To create a new instance of a custom form programmatically, use the Add
> >> method on the target folder's Items collection:
> >>
> >> Set newItem = targetFolder.Items.Add("IPM.Post.YourFormName")
> >>
> >> If it's a message form, 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. To create an item in another
> >> person's mailbox, use Namespace.GetSharedDefaultFolder to get the
> >> MAPIFolder 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.
> >>
> >> See http://www.outlookcode.com/d/launchform.htm for other ideas.
> >>
> >> If you want reminders from non-default folders, upgrade to Outlook 2007
> >> (for folders in your default store) or get the add-in from
> >> http://www.slovaktech.com >
> >> "DawnTreader" <DawnTreader.DeleteThis@discussions.microsoft.com> wrote in message
> >> news:9171FECB-52AC-47C8-92BF-236DEB041543@microsoft.com...
> >> > hello
> >> >
> >> > i have a number of custom forms i use for different purposes and i need
> >> > to
> >> > create a button that will call upon them and then save them in the
> >> > proper
> >> > folder.
> >> >
> >> > for example, i am a service coordinator, i send technicians to fix
> >> > things
> >> > all over and for each trip i need to have a checklist. the form is
> >> > made, i
> >> > have a checklist appointment form that i call PreTripChecklist. i want
> >> > to be
> >> > able to press a button and have it open that form and then when i
> >> > finish i
> >> > need it to be saved in my normal personal calender so that i will get a
> >> > reminder.
> >> >
> >> > that last is the real problem, even though i have created other folders
> >> > to
> >> > use those forms in the problem is that i wont get a reminder if the
> >> > items are
> >> > stored in another folder other than the main calender folder.
> >> >
> >> > if someone can suggest some code, or lead me to a tute or something, it
> >> > would be appreciated. thanks.
> >>
>
>
>
(Msg. 7) Posted: Wed Jul 22, 2009 8:32 am
Post subject: Re: Opening a specific Custom form with a macro [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Yes, if you want to publish a form to another person's defautl mailbox
folder and IF you have appropriate permission, GetSharedDefaultFolder would
play a role. But that's only a small part of the process. I think a better
solution would be to give the other person a script to run.
"DawnTreader" <DawnTreader RemoveThis @discussions.microsoft.com> wrote in message
news:1AF4268B-E29E-40AF-BC8E-E655F0344518@microsoft.com...
> Hello Sue
>
> sorry, sometimes i write in haste...
>
> this is what i meant by something: Namespace.GetSharedDefaultFolder
>
> can i use "something", code or script like the one i asked about to open a
> form and dump it to a specific folder, to install a form in a shared
> calendar
> folder. i can get the user to make me an "owner" of the folder but i dont
> know if this is the best way to go about this. i could walk him through
> the
> steps to "publish" a form to his folder, but i dont even fully understand
> the
> way the forms managment dialog works. i think that its the most
> unintuitive
> interface microsoft has.
>
> anyways, those links you posted will probalby help me to come up with a
> solution, thanks for your time. >
> "Sue Mosher [MVP]" wrote:
>
>> Sorry, but I don't know that "something" you might be referring to. See
>> http://www.outlookcode.com/article.aspx?id=27 for info on distributing
>> forms
>> to other users and http://www.outlookcode.com/article.aspx?ID=39 for
>> information on making a form the default for a folder. That's a task that
>> only a folder owner can do, not someone with only delegate rights.
>>
>> "DawnTreader" <DawnTreader RemoveThis @discussions.microsoft.com> wrote in message
>> news:7BB815F7-6D33-408A-ABB0-A20B29799298@microsoft.com...
>> > Hello Sue
>> >
>> > can i use something like you have mentioned in your post to push a form
>> > to
>> > someone's calendar to be used as the default form?
>> >
>> > or will they have to install it manually?
>> >
>> > "Sue Mosher [MVP-Outlook]" wrote:
>> >
>> >> To create a new instance of a custom form programmatically, use the
>> >> Add
>> >> method on the target folder's Items collection:
>> >>
>> >> Set newItem = targetFolder.Items.Add("IPM.Post.YourFormName")
>> >>
>> >> If it's a message form, 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. To create an item in
>> >> another
>> >> person's mailbox, use Namespace.GetSharedDefaultFolder to get the
>> >> MAPIFolder 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.
>> >>
>> >> See http://www.outlookcode.com/d/launchform.htm for other ideas.
>> >>
>> >> If you want reminders from non-default folders, upgrade to Outlook
>> >> 2007
>> >> (for folders in your default store) or get the add-in from
>> >> http://www.slovaktech.com >>
>> >> "DawnTreader" <DawnTreader RemoveThis @discussions.microsoft.com> wrote in message
>> >> news:9171FECB-52AC-47C8-92BF-236DEB041543@microsoft.com...
>> >> > hello
>> >> >
>> >> > i have a number of custom forms i use for different purposes and i
>> >> > need
>> >> > to
>> >> > create a button that will call upon them and then save them in the
>> >> > proper
>> >> > folder.
>> >> >
>> >> > for example, i am a service coordinator, i send technicians to fix
>> >> > things
>> >> > all over and for each trip i need to have a checklist. the form is
>> >> > made, i
>> >> > have a checklist appointment form that i call PreTripChecklist. i
>> >> > want
>> >> > to be
>> >> > able to press a button and have it open that form and then when i
>> >> > finish i
>> >> > need it to be saved in my normal personal calender so that i will
>> >> > get a
>> >> > reminder.
>> >> >
>> >> > that last is the real problem, even though i have created other
>> >> > folders
>> >> > to
>> >> > use those forms in the problem is that i wont get a reminder if the
>> >> > items are
>> >> > stored in another folder other than the main calender folder.
>> >> >
>> >> > if someone can suggest some code, or lead me to a tute or something,
>> >> > it
>> >> > would be appreciated. thanks.
>> >>
>>
>>
>>
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum