WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Proceeding in outlook forms customization's code

 
Goto page 1, 2
   Home -> Office -> Program Forms RSS
Next:  #ERROR for a Field  
Author Message
masani paresh

External


Since: Oct 07, 2007
Posts: 66



(Msg. 1) Posted: Wed Jul 30, 2008 11:11 pm
Post subject: Proceeding in outlook forms customization's code
Archived from groups: microsoft>public>outlook>program_forms (more info?)

Hi Friends,

I am new to Outlook customization world. I have designed and publish the
complete form at Tools->Forms->ChooseForm->Calender->ConfRoom by using P.2
tab which have some checkboxes(to select phone, projector, white board etc)
and one list box to display the results and one button "Find Now". My main
purpose is below:

"User will click on the checkboxes as per their requirements followed by
FindNow button. When user click this button it should call a function which
contacts exchange to get the information and display the result in list box."

Could anyone please tell me in which language and how can I write this code
to meet my requirements. Is there any standard way to contact exchange server
for required information.

Thanks in advanced,
Paresh
Back to top
Login to vote
Ken Slovak - [MVP - Outlo

External


Since: Oct 17, 2003
Posts: 2898



(Msg. 2) Posted: Thu Jul 31, 2008 9:49 am
Post subject: Re: Proceeding in outlook forms customization's code [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Any form code must be only in VBScript, you don't get a choice. The form
code can use the Outlook object model, CDO 1.21, or a COM wrapper for
Extended MAPI such as Redemption (www.dimastr.com/redemption).

See the forms information at www.outlookcode.com for lots of forms
information and code samples.

I'm not sure what you want to get from Exchange, but normally almost all
code running in a form would use the Outlook object model unless what you
need isn't available from the object model. A lot of that of course would
depend on what version of Outlook you're using.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"masani paresh" <masaniparesh.TakeThisOut@discussions.microsoft.com> wrote in message
news:D6834BA1-7058-4EEE-A47C-5666BFA560C9@microsoft.com...
> Hi Friends,
>
> I am new to Outlook customization world. I have designed and publish the
> complete form at Tools->Forms->ChooseForm->Calender->ConfRoom by using P.2
> tab which have some checkboxes(to select phone, projector, white board
> etc)
> and one list box to display the results and one button "Find Now". My main
> purpose is below:
>
> "User will click on the checkboxes as per their requirements followed by
> FindNow button. When user click this button it should call a function
> which
> contacts exchange to get the information and display the result in list
> box."
>
> Could anyone please tell me in which language and how can I write this
> code
> to meet my requirements. Is there any standard way to contact exchange
> server
> for required information.
>
> Thanks in advanced,
> Paresh
>
Back to top
Login to vote
masani paresh

External


Since: Oct 07, 2007
Posts: 66



(Msg. 3) Posted: Fri Aug 01, 2008 4:24 am
Post subject: Re: Proceeding in outlook forms customization's code [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks a lot Ken, I have written the VBScript and it is working fine now. I
need one tiny favour. Could you please tell me how can i access "Start Time"
and "End Time" values of Calender->new->Appointment tab and TextBox(All
attendees) of Scheduling tab from my VBSCript. Actually my goal is to read
start time and end time from Appointment tab, list the conference rooms in
list box in customized tab P.2 and when user double click on any conference
room it should appear in All attendees text box in Scheduling tab.

Thanks,
Paresh

"Ken Slovak - [MVP - Outlook]" wrote:

> Any form code must be only in VBScript, you don't get a choice. The form
> code can use the Outlook object model, CDO 1.21, or a COM wrapper for
> Extended MAPI such as Redemption (www.dimastr.com/redemption).
>
> See the forms information at www.outlookcode.com for lots of forms
> information and code samples.
>
> I'm not sure what you want to get from Exchange, but normally almost all
> code running in a form would use the Outlook object model unless what you
> need isn't available from the object model. A lot of that of course would
> depend on what version of Outlook you're using.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm
>
>
> "masani paresh" <masaniparesh DeleteThis @discussions.microsoft.com> wrote in message
> news:D6834BA1-7058-4EEE-A47C-5666BFA560C9@microsoft.com...
> > Hi Friends,
> >
> > I am new to Outlook customization world. I have designed and publish the
> > complete form at Tools->Forms->ChooseForm->Calender->ConfRoom by using P.2
> > tab which have some checkboxes(to select phone, projector, white board
> > etc)
> > and one list box to display the results and one button "Find Now". My main
> > purpose is below:
> >
> > "User will click on the checkboxes as per their requirements followed by
> > FindNow button. When user click this button it should call a function
> > which
> > contacts exchange to get the information and display the result in list
> > box."
> >
> > Could anyone please tell me in which language and how can I write this
> > code
> > to meet my requirements. Is there any standard way to contact exchange
> > server
> > for required information.
> >
> > Thanks in advanced,
> > Paresh
> >
>
>
Back to top
Login to vote
masani paresh

External


Since: Oct 07, 2007
Posts: 66



(Msg. 4) Posted: Fri Aug 01, 2008 5:00 am
Post subject: Re: Proceeding in outlook forms customization's code [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ken,

One more difficulty I am facing is, I am not able to access the ListBox that
i have kept in my customized form. How to access this listbox to insert the
values like "ListBox1.AddItem conf". Currently it says object required or
ListBox1 is not defined error.

Thanks,
Paresh

"Ken Slovak - [MVP - Outlook]" wrote:

> Any form code must be only in VBScript, you don't get a choice. The form
> code can use the Outlook object model, CDO 1.21, or a COM wrapper for
> Extended MAPI such as Redemption (www.dimastr.com/redemption).
>
> See the forms information at www.outlookcode.com for lots of forms
> information and code samples.
>
> I'm not sure what you want to get from Exchange, but normally almost all
> code running in a form would use the Outlook object model unless what you
> need isn't available from the object model. A lot of that of course would
> depend on what version of Outlook you're using.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm
>
>
> "masani paresh" <masaniparesh DeleteThis @discussions.microsoft.com> wrote in message
> news:D6834BA1-7058-4EEE-A47C-5666BFA560C9@microsoft.com...
> > Hi Friends,
> >
> > I am new to Outlook customization world. I have designed and publish the
> > complete form at Tools->Forms->ChooseForm->Calender->ConfRoom by using P.2
> > tab which have some checkboxes(to select phone, projector, white board
> > etc)
> > and one list box to display the results and one button "Find Now". My main
> > purpose is below:
> >
> > "User will click on the checkboxes as per their requirements followed by
> > FindNow button. When user click this button it should call a function
> > which
> > contacts exchange to get the information and display the result in list
> > box."
> >
> > Could anyone please tell me in which language and how can I write this
> > code
> > to meet my requirements. Is there any standard way to contact exchange
> > server
> > for required information.
> >
> > Thanks in advanced,
> > Paresh
> >
>
>
Back to top
Login to vote
Ken Slovak - [MVP - Outlo

External


Since: Oct 17, 2003
Posts: 2898



(Msg. 5) Posted: Fri Aug 01, 2008 8:50 am
Post subject: Re: Proceeding in outlook forms customization's code [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In the form code for that item you refer to the item as Item. Item.Start is
the start time, Item.End is the end time of the appointment.

Attendees are the Recipients, so you iterate the Item.Recipients collection.
For each Recipient object you check Recipient.Type. Each would have a value
from the OlMeetingRecipientType enum: olOptional, olOrganizer, olRequired or
olResource.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"masani paresh" <masaniparesh.RemoveThis@discussions.microsoft.com> wrote in message
news:9D458D39-0D83-4266-B49D-56BFB23EA9B9@microsoft.com...
> Thanks a lot Ken, I have written the VBScript and it is working fine now.
> I
> need one tiny favour. Could you please tell me how can i access "Start
> Time"
> and "End Time" values of Calender->new->Appointment tab and TextBox(All
> attendees) of Scheduling tab from my VBSCript. Actually my goal is to read
> start time and end time from Appointment tab, list the conference rooms in
> list box in customized tab P.2 and when user double click on any
> conference
> room it should appear in All attendees text box in Scheduling tab.
>
> Thanks,
> Paresh
Back to top
Login to vote
Ken Slovak - [MVP - Outlo

External


Since: Oct 17, 2003
Posts: 2898



(Msg. 6) Posted: Fri Aug 01, 2008 8:53 am
Post subject: Re: Proceeding in outlook forms customization's code [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

How you access any control on the form depends on what the tab name is of
the tab where the control is located. For example, if the tab is named
"TestTab" and the control is "ListBox1" then you'd use
Item.GetInspector.ModifiedFormPages("TestTab").Controls("ListBox1").

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"masani paresh" <masaniparesh DeleteThis @discussions.microsoft.com> wrote in message
news:C06196E4-4BA9-4302-BC09-4BA69781A816@microsoft.com...
> Ken,
>
> One more difficulty I am facing is, I am not able to access the ListBox
> that
> i have kept in my customized form. How to access this listbox to insert
> the
> values like "ListBox1.AddItem conf". Currently it says object required or
> ListBox1 is not defined error.
>
> Thanks,
> Paresh
Back to top
Login to vote
masani paresh

External


Since: Oct 07, 2007
Posts: 66



(Msg. 7) Posted: Mon Aug 04, 2008 12:34 am
Post subject: Re: Proceeding in outlook forms customization's code [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks Ken, Everything is working fine. Smile

Could you help on followings last things (hopefully):

1. Actually I want to add recipients like: Item.Recipients.AddItem "Test".
I tried this but the method is not supported.
2. How to send the meeting request programatically? If user click send
button it should send to all the recipients.

Ken, also could you please let me know the documentation/material/book that
I can follow where all these things mentioned? I am refers two different
books "Microsoft OUTLOOK Programming" by Microsof Press and another by Sue
Mosher.

Thanks,
Paresh


"Ken Slovak - [MVP - Outlook]" wrote:

> In the form code for that item you refer to the item as Item. Item.Start is
> the start time, Item.End is the end time of the appointment.
>
> Attendees are the Recipients, so you iterate the Item.Recipients collection.
> For each Recipient object you check Recipient.Type. Each would have a value
> from the OlMeetingRecipientType enum: olOptional, olOrganizer, olRequired or
> olResource.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm
>
>
> "masani paresh" <masaniparesh.TakeThisOut@discussions.microsoft.com> wrote in message
> news:9D458D39-0D83-4266-B49D-56BFB23EA9B9@microsoft.com...
> > Thanks a lot Ken, I have written the VBScript and it is working fine now.
> > I
> > need one tiny favour. Could you please tell me how can i access "Start
> > Time"
> > and "End Time" values of Calender->new->Appointment tab and TextBox(All
> > attendees) of Scheduling tab from my VBSCript. Actually my goal is to read
> > start time and end time from Appointment tab, list the conference rooms in
> > list box in customized tab P.2 and when user double click on any
> > conference
> > room it should appear in All attendees text box in Scheduling tab.
> >
> > Thanks,
> > Paresh
>
>
Back to top
Login to vote
Ken Slovak - [MVP - Outlo

External


Since: Oct 17, 2003
Posts: 2898



(Msg. 8) Posted: Mon Aug 04, 2008 8:55 am
Post subject: Re: Proceeding in outlook forms customization's code [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Recipients has no AddItem method, look in the VBA object browser for what's
available to you. The Add() method of the Recipients collection takes either
an email address ("test@foo.com") or a name that will resolve to an email
address, such as a name in your Contacts or Exchange global address list.

When you add a recipient make sure to use the returned Recipient object from
the Add() function and call the Resolve method on that recipient. Also, make
sure to set the Type property. A To recipient is required, a CC recipient is
optional and a BCC recipient is a resource.

Again the object browser is your friend, use the Send() method to send the
meeting invitation.

The MS Press book is aimed at the professional level, Sue's book is more
geared to macros and forms and covers things for beginners. Sue's book
doesn't cover COM addins, the MS Press book does.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"masani paresh" <masaniparesh RemoveThis @discussions.microsoft.com> wrote in message
news:72E73BC1-2439-4AA6-9C65-29B8DE4CFBA6@microsoft.com...
> Thanks Ken, Everything is working fine. Smile
>
> Could you help on followings last things (hopefully):
>
> 1. Actually I want to add recipients like: Item.Recipients.AddItem
> "Test".
> I tried this but the method is not supported.
> 2. How to send the meeting request programatically? If user click send
> button it should send to all the recipients.
>
> Ken, also could you please let me know the documentation/material/book
> that
> I can follow where all these things mentioned? I am refers two different
> books "Microsoft OUTLOOK Programming" by Microsof Press and another by Sue
> Mosher.
>
> Thanks,
> Paresh
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Program Forms All times are: Eastern Time (US & Canada) (change)
Goto page 1, 2
Page 1 of 2

 
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
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET