PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Resources

Reply

Resources

 
Thread Tools Rate Thread
Old 13-02-2004, 07:54 PM   #1
Michael K.
Guest
 
Posts: n/a
Default Resources


We have create email accounts for our Video Conference
Boardrooms. We want to be able to go to the attendee
availability page and view which ones are busy. Created
code that can add an address to the TO (recipients) field
and also code that can eliminate it if we deselect that
boardroom, but the TO field is not where we need to add
the address, it is the Resource (Location) field. The
code we used to add a boardroom to the TO field is:

Item.Recipients.Add ("edmontonvc@pwgsc.gc.ca")

How can we change that as a Resource Option, so we can
check the availability of the room? Thanks.

Michael K.
  Reply With Quote
Old 15-02-2004, 08:45 PM   #2
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Resources

After adding and resolving the Recipient object, you can change the type to
olResource (3) to make it a resource.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Michael K." <anonymous@discussions.microsoft.com> wrote in message
news:f5fc01c3f26b$37b028e0$a101280a@phx.gbl...
> We have create email accounts for our Video Conference
> Boardrooms. We want to be able to go to the attendee
> availability page and view which ones are busy. Created
> code that can add an address to the TO (recipients) field
> and also code that can eliminate it if we deselect that
> boardroom, but the TO field is not where we need to add
> the address, it is the Resource (Location) field. The
> code we used to add a boardroom to the TO field is:
>
> Item.Recipients.Add ("edmontonvc@pwgsc.gc.ca")
>
> How can we change that as a Resource Option, so we can
> check the availability of the room? Thanks.
>
> Michael K.



  Reply With Quote
Old 16-02-2004, 03:32 PM   #3
Michael K.
Guest
 
Posts: n/a
Default Re: Resources

Thanks for your reply Sue. This line of code:

Item.Recipients.Add ("edmontonvc@pwgsc.gc.ca")

adds the address we want, but I don't understand how I
change it to Resource(3). I am assuming it is a line of
code after the "Add" code?

I read one of your responses to someone here and wanted to
let you know that I would be very interested to take your
online training of Outlook programming of forms. Could
you put this option on your SlipStick site when you are
ready to roll this out? I'll be one of the first ones to
sign up.

Thanks.

Michael K.
>-----Original Message-----
>After adding and resolving the Recipient object, you can

change the type to
>olResource (3) to make it a resource.
>--
>Sue Mosher, Outlook MVP
>Author of
> Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx
>
>
>"Michael K." <anonymous@discussions.microsoft.com> wrote

in message
>news:f5fc01c3f26b$37b028e0$a101280a@phx.gbl...
>> We have create email accounts for our Video Conference
>> Boardrooms. We want to be able to go to the attendee
>> availability page and view which ones are busy. Created
>> code that can add an address to the TO (recipients)

field
>> and also code that can eliminate it if we deselect that
>> boardroom, but the TO field is not where we need to add
>> the address, it is the Resource (Location) field. The
>> code we used to add a boardroom to the TO field is:
>>
>> Item.Recipients.Add ("edmontonvc@pwgsc.gc.ca")
>>
>> How can we change that as a Resource Option, so we can
>> check the availability of the room? Thanks.
>>
>> Michael K.

>
>
>.
>

  Reply With Quote
Old 16-02-2004, 08:24 PM   #4
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Resources

Set objRecip = Item.Recipients.Add("edmontonvc@pwgsc.gc.ca")
objRecip.Type = olResource ' or 3 if this is VBScript code

We're months and months away from having any online training, alas. But my
book would probably serve you well.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"Michael K." <anonymous@discussions.microsoft.com> wrote in message
news:1137c01c3f4a2$25774a80$a601280a@phx.gbl...
> Thanks for your reply Sue. This line of code:
>
> Item.Recipients.Add ("edmontonvc@pwgsc.gc.ca")
>
> adds the address we want, but I don't understand how I
> change it to Resource(3). I am assuming it is a line of
> code after the "Add" code?
>
> I read one of your responses to someone here and wanted to
> let you know that I would be very interested to take your
> online training of Outlook programming of forms. Could
> you put this option on your SlipStick site when you are
> ready to roll this out? I'll be one of the first ones to
> sign up.
>
> Thanks.
>
> Michael K.
> >-----Original Message-----
> >After adding and resolving the Recipient object, you can

> change the type to
> >olResource (3) to make it a resource.
> >--
> >Sue Mosher, Outlook MVP
> >Author of
> > Microsoft Outlook Programming - Jumpstart for
> > Administrators, Power Users, and Developers
> > http://www.outlookcode.com/jumpstart.aspx
> >
> >
> >"Michael K." <anonymous@discussions.microsoft.com> wrote

> in message
> >news:f5fc01c3f26b$37b028e0$a101280a@phx.gbl...
> >> We have create email accounts for our Video Conference
> >> Boardrooms. We want to be able to go to the attendee
> >> availability page and view which ones are busy. Created
> >> code that can add an address to the TO (recipients)

> field
> >> and also code that can eliminate it if we deselect that
> >> boardroom, but the TO field is not where we need to add
> >> the address, it is the Resource (Location) field. The
> >> code we used to add a boardroom to the TO field is:
> >>
> >> Item.Recipients.Add ("edmontonvc@pwgsc.gc.ca")
> >>
> >> How can we change that as a Resource Option, so we can
> >> check the availability of the room? Thanks.
> >>
> >> Michael K.

> >
> >
> >.
> >



  Reply With Quote
Old 19-02-2004, 08:56 PM   #5
Michael K.
Guest
 
Posts: n/a
Default Re: Resources

This works Sue, but only if you click on the SEND button
very quickly after selecting a boardroom (posts the
appointment to the calendar and not to the Inbox). If you
don't click quickly on the SEND button, the resource "name
address" goes away and then it is only sent to the Inbox
of that mailbox. Do you know why by any chance? Thanks.

I do have your book and also go onto the SlipStick site
lots. Your expertise is fantastic!

Michael K.

>-----Original Message-----
>Set objRecip = Item.Recipients.Add

("edmontonvc@pwgsc.gc.ca")
>objRecip.Type = olResource ' or 3 if this is VBScript code
>
>We're months and months away from having any online

training, alas. But my
>book would probably serve you well.
>--
>Sue Mosher, Outlook MVP
>Author of
> Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx
>
>
>
>"Michael K." <anonymous@discussions.microsoft.com> wrote

in message
>news:1137c01c3f4a2$25774a80$a601280a@phx.gbl...
>> Thanks for your reply Sue. This line of code:
>>
>> Item.Recipients.Add ("edmontonvc@pwgsc.gc.ca")
>>
>> adds the address we want, but I don't understand how I
>> change it to Resource(3). I am assuming it is a line of
>> code after the "Add" code?
>>
>> I read one of your responses to someone here and wanted

to
>> let you know that I would be very interested to take

your
>> online training of Outlook programming of forms. Could
>> you put this option on your SlipStick site when you are
>> ready to roll this out? I'll be one of the first ones

to
>> sign up.
>>
>> Thanks.
>>
>> Michael K.
>> >-----Original Message-----
>> >After adding and resolving the Recipient object, you

can
>> change the type to
>> >olResource (3) to make it a resource.
>> >--
>> >Sue Mosher, Outlook MVP
>> >Author of
>> > Microsoft Outlook Programming - Jumpstart for
>> > Administrators, Power Users, and Developers
>> > http://www.outlookcode.com/jumpstart.aspx
>> >
>> >
>> >"Michael K." <anonymous@discussions.microsoft.com>

wrote
>> in message
>> >news:f5fc01c3f26b$37b028e0$a101280a@phx.gbl...
>> >> We have create email accounts for our Video

Conference
>> >> Boardrooms. We want to be able to go to the attendee
>> >> availability page and view which ones are busy.

Created
>> >> code that can add an address to the TO (recipients)

>> field
>> >> and also code that can eliminate it if we deselect

that
>> >> boardroom, but the TO field is not where we need to

add
>> >> the address, it is the Resource (Location) field.

The
>> >> code we used to add a boardroom to the TO field is:
>> >>
>> >> Item.Recipients.Add ("edmontonvc@pwgsc.gc.ca")
>> >>
>> >> How can we change that as a Resource Option, so we

can
>> >> check the availability of the room? Thanks.
>> >>
>> >> Michael K.
>> >
>> >
>> >.
>> >

>
>
>.
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off