PC Review


Reply
Thread Tools Rate Thread

Control the values in thread of the Read Page

 
 
Sandi V
Guest
Posts: n/a
 
      1st Dec 2008
I've customized the mail form as a conference room request, with drop-downs
that let users select the room they want, date & times, and setup (Coffee,
beer, wine, projector, laptop). They send the form to the receptionist after
they fill it out. When the receptionist receives it, she selects, File, Move
to Folder and moves it the calendar for the appropriate room.

The new calendar item contains the original email object and what I'm
calling the "thread" -- with From, Sent, To, and Subject fields at the top.
Following that are new fields I made, shown in alphabetical order. I'd like
to control that order (ie., Beer is the first field, but I want
ConferenceRoom, MtgDate, MtgStartTime, MtgEndTime, etc.). I also want to
remove several fields from the thread.

(I already tried to rename the controls numerically. That didn't work, so I
think it's the field name not the control name that is being sorted; and I
don't see a way to rename fields).

Can anybody help me out? Thanks in advance!
Sandi
 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      2nd Dec 2008
You need to get the Body property of the appointment item and read that into
a string variable. Then you can parse it and move sentences around to your
heart's desire. What you have in the Body is just one long string separated
by newlines (carriage return, linefeed).

--
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


"Sandi V" <(E-Mail Removed)> wrote in message
news:AA4830D0-563C-4E51-9851-(E-Mail Removed)...
> I've customized the mail form as a conference room request, with
> drop-downs
> that let users select the room they want, date & times, and setup (Coffee,
> beer, wine, projector, laptop). They send the form to the receptionist
> after
> they fill it out. When the receptionist receives it, she selects, File,
> Move
> to Folder and moves it the calendar for the appropriate room.
>
> The new calendar item contains the original email object and what I'm
> calling the "thread" -- with From, Sent, To, and Subject fields at the
> top.
> Following that are new fields I made, shown in alphabetical order. I'd
> like
> to control that order (ie., Beer is the first field, but I want
> ConferenceRoom, MtgDate, MtgStartTime, MtgEndTime, etc.). I also want to
> remove several fields from the thread.
>
> (I already tried to rename the controls numerically. That didn't work, so
> I
> think it's the field name not the control name that is being sorted; and I
> don't see a way to rename fields).
>
> Can anybody help me out? Thanks in advance!
> Sandi


 
Reply With Quote
 
Sandi V
Guest
Posts: n/a
 
      3rd Dec 2008
Thank you, Ken. I'm not sure how I would get to the body of the appointment
item; since I'm relying on the user to select File, Move to folder after she
receives the form.

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

> You need to get the Body property of the appointment item and read that into
> a string variable. Then you can parse it and move sentences around to your
> heart's desire. What you have in the Body is just one long string separated
> by newlines (carriage return, linefeed).
>
> --
> 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
>
>
> "Sandi V" <(E-Mail Removed)> wrote in message
> news:AA4830D0-563C-4E51-9851-(E-Mail Removed)...
> > I've customized the mail form as a conference room request, with
> > drop-downs
> > that let users select the room they want, date & times, and setup (Coffee,
> > beer, wine, projector, laptop). They send the form to the receptionist
> > after
> > they fill it out. When the receptionist receives it, she selects, File,
> > Move
> > to Folder and moves it the calendar for the appropriate room.
> >
> > The new calendar item contains the original email object and what I'm
> > calling the "thread" -- with From, Sent, To, and Subject fields at the
> > top.
> > Following that are new fields I made, shown in alphabetical order. I'd
> > like
> > to control that order (ie., Beer is the first field, but I want
> > ConferenceRoom, MtgDate, MtgStartTime, MtgEndTime, etc.). I also want to
> > remove several fields from the thread.
> >
> > (I already tried to rename the controls numerically. That didn't work, so
> > I
> > think it's the field name not the control name that is being sorted; and I
> > don't see a way to rename fields).
> >
> > Can anybody help me out? Thanks in advance!
> > Sandi

>
>

 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      3rd Dec 2008
You could get it as it comes into Inbox, using an Inbox.Items.ItemAdd()
handler or a NewMailEx() handler. Or you could use Items.ItemAdd() handlers
for each target resource calendar folder.

--
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


"Sandi V" <(E-Mail Removed)> wrote in message
news:AD68EB5F-3155-43BA-A345-(E-Mail Removed)...
> Thank you, Ken. I'm not sure how I would get to the body of the
> appointment
> item; since I'm relying on the user to select File, Move to folder after
> she
> receives the form.


 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ShowDialog - Cross-thread operation not valid: Control'CheckAccountInfo' accessed from a thread other than the thread it was createdon. Tom C Microsoft C# .NET 9 20th Feb 2008 08:15 PM
Adding tab page to tab control from non UI thread =?Utf-8?B?QW50b24=?= Microsoft Dot NET Compact Framework 1 10th Apr 2007 01:05 AM
Cross-thread operation not valid: Control '' accessed from a thread other than the thread it was created on Joe Microsoft C# .NET 4 12th Mar 2007 09:59 AM
Cannot read ItemTemplate control values from Datagrid Borked Pseudo Mailed Microsoft ASP .NET 0 7th Feb 2007 02:17 PM
Read Page Control Values from Javascript User Control =?Utf-8?B?Um95?= Microsoft ASP .NET 10 1st Nov 2006 10:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:55 AM.