You either have to write VBScript behind the published form or, if you're building an add-in, manipulate the UI on the published form's controls when the item opens in its own window (i.e. start with the Inspectors.NewInspector event). The standard Outlook form controls are all part of the MSForms library.
For submission, you'd handle the Write event for the item. (Send doesn't fire for meeting requests, at least not at the form level. I've never tried to sink it from an add-in.) That gets complicated, because you need a wrapper class to handle the possibility of having multiple items open at one time. This sample should give you an idea of what's involved with working with Outlook Inspector and item objects in C#
-- 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 "PS" <pratikrshah[ at ]gmail.com> wrote in message news:1179772478.364242.200880[ at ]36g2000prm.googlegroups.com...
[Quoted Text] > Sue > > Thanks so much for the reply. > > As I mentioned above - there were 2 aspects to this project > > 1. Launching the customized Meeting Request (from Tools --> Custom AAA > Meeting Request. > As per your post - this can be done by launching a published > Outlook Form programtically. > > 2. Having custom DropDown fields (pulling data from a Data Source > (mostly SQL). and then when the user has updated the required info > (all the required dropdown values) - these values need to be submitted > back to a database for reporting purposes > > After your suggestion, I read some links on Published Outlook Forms > and it seems you can program only in VBScript. > > My only concern is that can it handle all the complexities needed. > Please excuse me for my inexperience - I have been working with VSTO > and C# for some time now but never had exposure to using Published > Outlook forms programtically. > > So any info you (or anybody) shares will be really helpful. > > Thanks > Pratik >
|