![]() |
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
| Tags: communicate, form, region |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I am using Business Contact Manager.
I have creatred a "Seperate Region" called "Group" tied to "Accounts" "IPM:Contact" This works fine. Now a have a second windows application that makes reference to the office core and outlook 12 libraries. In this application i can communicate with "UserProperties" this will let me talk to and UDFs that are tied to the "Account" Form, but what i need to do and can't is find a way to talk to the Region (Group Form) that is tied to the Account. I hope i have said all this correctly. Any help or suggestions would be great. Summary: I have a application that needs to pass in data to a Form Region in Outlook. |
| Ads |
|
#2
|
|||
|
|||
|
The easiest way to handle this would be to make sure the controls that you want to pass data to are bound to Outlook properties. THen, you can set the property values through the UserProperties collection.
-- 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 "Vbasiccode" wrote in message ... I am using Business Contact Manager. I have creatred a "Seperate Region" called "Group" tied to "Accounts" "IPM:Contact" This works fine. Now a have a second windows application that makes reference to the office core and outlook 12 libraries. In this application i can communicate with "UserProperties" this will let me talk to and UDFs that are tied to the "Account" Form, but what i need to do and can't is find a way to talk to the Region (Group Form) that is tied to the Account. I hope i have said all this correctly. Any help or suggestions would be great. Summary: I have a application that needs to pass in data to a Form Region in Outlook. |
|
#3
|
|||
|
|||
|
Thank you at least i know it can be done!
However i am unfortunatly try to learn a year of info in a week (as usual). So if you could give me direction on how to or where to look to find out how to bind a Seperate region to user properties of the Account form, i would appreciate it. Thanks for your continued help. "Sue Mosher [MVP-Outlook]" wrote: The easiest way to handle this would be to make sure the controls that you want to pass data to are bound to Outlook properties. THen, you can set the property values through the UserProperties collection. -- 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 "Vbasiccode" wrote in message ... I am using Business Contact Manager. I have creatred a "Seperate Region" called "Group" tied to "Accounts" "IPM:Contact" This works fine. Now a have a second windows application that makes reference to the office core and outlook 12 libraries. In this application i can communicate with "UserProperties" this will let me talk to and UDFs that are tied to the "Account" Form, but what i need to do and can't is find a way to talk to the Region (Group Form) that is tied to the Account. I hope i have said all this correctly. Any help or suggestions would be great. Summary: I have a application that needs to pass in data to a Form Region in Outlook. |
|
#4
|
|||
|
|||
|
It's no different from binding a control on a traditional Outlook form. In the Outlook form designer where you're working on the region, right-click each control, choose Properties, and switch to the Value tab. Click New to create a new property and bind it to that control. Repeat for each control.
-- 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 "Vbasiccode" wrote in message ... Thank you at least i know it can be done! However i am unfortunatly try to learn a year of info in a week (as usual). So if you could give me direction on how to or where to look to find out how to bind a Seperate region to user properties of the Account form, i would appreciate it. "Sue Mosher [MVP-Outlook]" wrote: The easiest way to handle this would be to make sure the controls that you want to pass data to are bound to Outlook properties. THen, you can set the property values through the UserProperties collection. "Vbasiccode" wrote in message ... I am using Business Contact Manager. I have creatred a "Seperate Region" called "Group" tied to "Accounts" "IPM:Contact" This works fine. Now a have a second windows application that makes reference to the office core and outlook 12 libraries. In this application i can communicate with "UserProperties" this will let me talk to and UDFs that are tied to the "Account" Form, but what i need to do and can't is find a way to talk to the Region (Group Form) that is tied to the Account. Summary: I have a application that needs to pass in data to a Form Region in Outlook. |
|
#5
|
|||
|
|||
|
So far everything is great.
One last issue. I would like to put a grid on the form and talk to it, but since their doesn't seem to be one i am tryiing to use a list box. When i set the list box with no values, then biind it to 'Benefits' Property (text type) then pass in the string "Life;Health;Dentail" nothing happens nothing gets displayed in the list box, do you know why? "Sue Mosher [MVP-Outlook]" wrote: It's no different from binding a control on a traditional Outlook form. In the Outlook form designer where you're working on the region, right-click each control, choose Properties, and switch to the Value tab. Click New to create a new property and bind it to that control. Repeat for each control. -- 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 "Vbasiccode" wrote in message ... Thank you at least i know it can be done! However i am unfortunatly try to learn a year of info in a week (as usual). So if you could give me direction on how to or where to look to find out how to bind a Seperate region to user properties of the Account form, i would appreciate it. "Sue Mosher [MVP-Outlook]" wrote: The easiest way to handle this would be to make sure the controls that you want to pass data to are bound to Outlook properties. THen, you can set the property values through the UserProperties collection. "Vbasiccode" wrote in message ... I am using Business Contact Manager. I have creatred a "Seperate Region" called "Group" tied to "Accounts" "IPM:Contact" This works fine. Now a have a second windows application that makes reference to the office core and outlook 12 libraries. In this application i can communicate with "UserProperties" this will let me talk to and UDFs that are tied to the "Account" Form, but what i need to do and can't is find a way to talk to the Region (Group Form) that is tied to the Account. Summary: I have a application that needs to pass in data to a Form Region in Outlook. |
|
#6
|
|||
|
|||
|
Pass in the string how? To fill the rows of a list box programmatically, you would need to work with the control object, setting its List property or using the AddItem method. To do that, you need to implement the FormRegionStartup interface, as shown in the article at http://msdn2.microsoft.com/en-us/library/ms788695.aspx.
Alternatively, set the rows using the Possible Values property on the same control Properties dialog where you bound the Outlook property. -- 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 "Vbasiccode" wrote in message ... So far everything is great. One last issue. I would like to put a grid on the form and talk to it, but since their doesn't seem to be one i am tryiing to use a list box. When i set the list box with no values, then biind it to 'Benefits' Property (text type) then pass in the string "Life;Health;Dentail" nothing happens nothing gets displayed in the list box, do you know why? "Sue Mosher [MVP-Outlook]" wrote: It's no different from binding a control on a traditional Outlook form. In the Outlook form designer where you're working on the region, right-click each control, choose Properties, and switch to the Value tab. Click New to create a new property and bind it to that control. Repeat for each control. "Vbasiccode" wrote in message ... Thank you at least i know it can be done! However i am unfortunatly try to learn a year of info in a week (as usual). So if you could give me direction on how to or where to look to find out how to bind a Seperate region to user properties of the Account form, i would appreciate it. "Sue Mosher [MVP-Outlook]" wrote: The easiest way to handle this would be to make sure the controls that you want to pass data to are bound to Outlook properties. THen, you can set the property values through the UserProperties collection. "Vbasiccode" wrote in message ... I am using Business Contact Manager. I have creatred a "Seperate Region" called "Group" tied to "Accounts" "IPM:Contact" This works fine. Now a have a second windows application that makes reference to the office core and outlook 12 libraries. In this application i can communicate with "UserProperties" this will let me talk to and UDFs that are tied to the "Account" Form, but what i need to do and can't is find a way to talk to the Region (Group Form) that is tied to the Account. Summary: I have a application that needs to pass in data to a Form Region in Outlook. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Country/Region in Contacts | Jack | Outlook - General Queries | 3 | March 24th 07 01:00 PM |
| forward an attachment with form region | Nikolas | Outlook - Using Forms | 4 | March 16th 07 11:44 AM |
| forward a mail item with form region | Nikolas | Outlook - Using Forms | 7 | December 1st 06 07:34 PM |
| only one instance of form region is displayed | Nikolas | Outlook - Using Forms | 4 | October 6th 06 04:37 PM |
| OL 2007 - Set custom form region as default | Fidget Brain | Outlook - Using Forms | 8 | July 6th 06 04:36 PM |