Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: ObjectRenderer


Message #1 by "Joe Ingle" <joe@k...> on Wed, 12 Sep 2001 17:01:00
Hi Folks



I'm a relatively newbie to CDO Rendering and Exchange. My problem is 

this......I have set up Outlook Web Access to talk to our Exchange Server 

(*5.5), and everything's fine and dandy, I've even managed to add a few 

additional features to it, but would like more control over it's 

appearance. 



I know that ObjectRenderer properties are extensible and have customised 

properties such as 'ActMsgPR_SUBJECT', 'ActMsgPR_MESSAGE_SIZE' etc. but as 

yet I haven't come accross a full list of all Outlook properties (i.e. the 

technical term for 'first name' in contacts view).



Does anyone have a full list of these??



Any help would be greatly appreciated.



Kind Regards



Joe 
Message #2 by "Daniel Schwarze" <dschwarze@h...> on Thu, 13 Sep 2001 08:54:23
Hello Joe,



look at the WebAccess Folder (WebData\USA). There is a file named 

AMPROPS.INC that includes many constants.



Daniel







> Hi Folks

> 

> I'm a relatively newbie to CDO Rendering and Exchange. My problem is 

> this......I have set up Outlook Web Access to talk to our Exchange 

Server 

> (*5.5), and everything's fine and dandy, I've even managed to add a few 

> additional features to it, but would like more control over it's 

> appearance. 

> 

> I know that ObjectRenderer properties are extensible and have customised 

> properties such as 'ActMsgPR_SUBJECT', 'ActMsgPR_MESSAGE_SIZE' etc. but 

as 

> yet I haven't come accross a full list of all Outlook properties (i.e. 

the 

> technical term for 'first name' in contacts view).

> 

> Does anyone have a full list of these??

> 

> Any help would be greatly appreciated.

> 

> Kind Regards

> 

> Joe 
Message #3 by Joe Ingle <Joe@k...> on Thu, 13 Sep 2001 10:09:42 +0100
Cheers Daniel



That's exactly what I need!!



Joe



-----Original Message-----

From: Daniel Schwarze [mailto:dschwarze@h...]

Sent: Thursday, September 13, 2001 09:54

To: ASP CDO

Subject: [asp_cdo] Re: ObjectRenderer





Hello Joe,



look at the WebAccess Folder (WebData\USA). There is a file named 

AMPROPS.INC that includes many constants.



Daniel







> Hi Folks

> 

> I'm a relatively newbie to CDO Rendering and Exchange. My problem is 

> this......I have set up Outlook Web Access to talk to our Exchange 

Server 

> (*5.5), and everything's fine and dandy, I've even managed to add a few 

> additional features to it, but would like more control over it's 

> appearance. 

> 

> I know that ObjectRenderer properties are extensible and have customised 

> properties such as 'ActMsgPR_SUBJECT', 'ActMsgPR_MESSAGE_SIZE' etc. but 

as 

> yet I haven't come accross a full list of all Outlook properties (i.e. 

the 

> technical term for 'first name' in contacts view).

> 

> Does anyone have a full list of these??

> 

> Any help would be greatly appreciated.

> 

> Kind Regards

> 

> Joe 

 




Message #4 by Joe Ingle <Joe@k...> on Thu, 13 Sep 2001 18:14:44 +0100
Cheers for the tip Daniel. 



Everything is now formatted nicely, but do you know whether there is a

constant for a contacts email addy? i.e ActMsgPR_EMAIL_ADDRESS. I have tried

a few combos but keep getting an error alert.



Joe



-----Original Message-----

From: Daniel Schwarze [mailto:dschwarze@h...]

Sent: Thursday, September 13, 2001 09:54

To: ASP CDO

Subject: [asp_cdo] Re: ObjectRenderer





Hello Joe,



look at the WebAccess Folder (WebData\USA). There is a file named 

AMPROPS.INC that includes many constants.



Daniel







> Hi Folks

> 

> I'm a relatively newbie to CDO Rendering and Exchange. My problem is 

> this......I have set up Outlook Web Access to talk to our Exchange 

Server 

> (*5.5), and everything's fine and dandy, I've even managed to add a few 

> additional features to it, but would like more control over it's 

> appearance. 

> 

> I know that ObjectRenderer properties are extensible and have customised 

> properties such as 'ActMsgPR_SUBJECT', 'ActMsgPR_MESSAGE_SIZE' etc. but 

as 

> yet I haven't come accross a full list of all Outlook properties (i.e. 

the 

> technical term for 'first name' in contacts view).

> 

> Does anyone have a full list of these??

> 

> Any help would be greatly appreciated.

> 

> Kind Regards

> 

> Joe
Message #5 by "Daniel Schwarze" <dschwarze@h...> on Fri, 14 Sep 2001 09:31:51
Hello Joe,



set the "varType" for this and all user-definied properties thru 

column.add. The varType is an optional (required for user-defined 

properties). Long. The property type of the property to be rendered in the 

new Column object. The varType parameter is only needed for custom 

properties, because the property type of a predefined property is already 

included in its property tag, which is passed in the varProperty 

parameter. 



You'll find a full list of Type Properties in the CDO.hlp file.



Syntax ==========================================



Set objColumn = objColumnsColl.Add(pszDisplayName, varProperty, lWidth, 

lFlags, lInsertAfter [, varType] ) 



Example ==========================================



Set objColumn = objTableView.Columns.Add("Email", _

      AMPidTag_EmailEmailAddress ,170, 8 ,1, 8)

objColumn.RenderUsing = "%value%"





I hope i'ts work.



Daniel





> Cheers for the tip Daniel. 

> 

> Everything is now formatted nicely, but do you know whether there is a

> constant for a contacts email addy? i.e ActMsgPR_EMAIL_ADDRESS. I have 

tried

> a few combos but keep getting an error alert.

> 

> Joe

> 

> -----Original Message-----

> From: Daniel Schwarze [mailto:dschwarze@h...]

> Sent: Thursday, September 13, 2001 09:54

> To: ASP CDO

> Subject: [asp_cdo] Re: ObjectRenderer

> 

> 

> Hello Joe,

> 

> look at the WebAccess Folder (WebData\USA). There is a file named 

> AMPROPS.INC that includes many constants.

> 

> Daniel

> 

> 

> 

> > Hi Folks

> > 

> > I'm a relatively newbie to CDO Rendering and Exchange. My problem is 

> > this......I have set up Outlook Web Access to talk to our Exchange 

> Server 

> > (*5.5), and everything's fine and dandy, I've even managed to add a 

few 

> > additional features to it, but would like more control over it's 

> > appearance. 

> > 

> > I know that ObjectRenderer properties are extensible and have 

customised 

> > properties such as 'ActMsgPR_SUBJECT', 'ActMsgPR_MESSAGE_SIZE' etc. 

but 

> as 

> > yet I haven't come accross a full list of all Outlook properties (i.e. 

> the 

> > technical term for 'first name' in contacts view).

> > 

> > Does anyone have a full list of these??

> > 

> > Any help would be greatly appreciated.

> > 

> > Kind Regards

> > 

> > Joe
Message #6 by Joe Ingle <Joe@k...> on Fri, 14 Sep 2001 10:54:47 +0100
Cheers Daniel



-----Original Message-----

From: Daniel Schwarze [mailto:dschwarze@h...]

Sent: Friday, September 14, 2001 10:32

To: ASP CDO

Subject: [asp_cdo] Re: ObjectRenderer





Hello Joe,



set the "varType" for this and all user-definied properties thru 

column.add. The varType is an optional (required for user-defined 

properties). Long. The property type of the property to be rendered in the 

new Column object. The varType parameter is only needed for custom 

properties, because the property type of a predefined property is already 

included in its property tag, which is passed in the varProperty 

parameter. 



You'll find a full list of Type Properties in the CDO.hlp file.



Syntax ==========================================



Set objColumn = objColumnsColl.Add(pszDisplayName, varProperty, lWidth, 

lFlags, lInsertAfter [, varType] ) 



Example ==========================================



Set objColumn = objTableView.Columns.Add("Email", _

      AMPidTag_EmailEmailAddress ,170, 8 ,1, 8)

objColumn.RenderUsing = "%value%"





I hope i'ts work.



Daniel






  Return to Index