A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , ,

Communicate with a Form Region





 
 
Thread Tools Display Modes
  #1  
Old May 8th 07, 10:34 PM posted to microsoft.public.outlook.program_forms
Vbasiccode
external usenet poster
 
Posts: 14
Default Communicate with a Form Region

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  
Old May 8th 07, 10:43 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Communicate with a Form Region

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  
Old May 9th 07, 03:10 PM posted to microsoft.public.outlook.program_forms
Vbasiccode
external usenet poster
 
Posts: 14
Default Communicate with a Form Region

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  
Old May 9th 07, 03:20 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Communicate with a Form Region

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  
Old May 9th 07, 06:10 PM posted to microsoft.public.outlook.program_forms
Vbasiccode
external usenet poster
 
Posts: 14
Default Communicate with a Form Region

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  
Old May 9th 07, 11:51 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Communicate with a Form Region

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

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

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


All times are GMT +1. The time now is 02:46 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Bad Credit Loan - Loan - Loans - MPAA - Bad Credit Loan