473,320 Members | 1,817 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Property name for text field in Outlook 2k2/2k3 Contacts?

Hi, all!! Anyone know what the property name is for the large text field in
an Outlook 2k2/2k3 Contact is? Tried numerous things and I'm not even close
so far...

Thanks!
Jack
Nov 21 '05 #1
5 1547
Jack,
This sounds like a question better asked in one of the Outlook newsgroups,
as this is a newsgroup dedicated to Visual Basic .NET.
Have you tried the Body property?
--
Hope this helps
Jay
T.S. Bradley - http://www.tsbradley.net
"Jack Black" <ja********@hotmail.com> wrote in message
news:uY**************@TK2MSFTNGP11.phx.gbl...
| Hi, all!! Anyone know what the property name is for the large text field
in
| an Outlook 2k2/2k3 Contact is? Tried numerous things and I'm not even
close
| so far...
|
| Thanks!
| Jack
|
|
Nov 21 '05 #2
Thanks for replying, Jay!

Yes, I've tried the Body property; unfortunately that isn't it. And the
reason I'm asking here is because I just put together a quick VB.Net app
(VS.Net 2k3) to import a batch of VCF cards into Outlook, and assumed that
was the best place for asking about it... I'll certainly ask in an Outlook
group also...

Thanks!
Jack

"Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.net> wrote in
message news:uN**************@TK2MSFTNGP14.phx.gbl...
Jack,
This sounds like a question better asked in one of the Outlook newsgroups,
as this is a newsgroup dedicated to Visual Basic .NET.
Have you tried the Body property?
--
Hope this helps
Jay
T.S. Bradley - http://www.tsbradley.net
"Jack Black" <ja********@hotmail.com> wrote in message
news:uY**************@TK2MSFTNGP11.phx.gbl...
| Hi, all!! Anyone know what the property name is for the large text
field
in
| an Outlook 2k2/2k3 Contact is? Tried numerous things and I'm not even
close
| so far...
|
| Thanks!
| Jack
|
|

Nov 21 '05 #3
Jack,
Can you show code where you are using the Body property?

In every version of Outlook I have (O97 to O2003) ContactItem.Body returns
the "body" of the Contact, which is displayed in the large text box in the
lower right quadrant of the O2003 Contact Form.

Its also how you set the "Body" of the contact. However I believe you may
have a security prompt...

--
Hope this helps
Jay
T.S. Bradley - http://www.tsbradley.net
"Jack Black" <ja********@hotmail.com> wrote in message
news:eV**************@TK2MSFTNGP12.phx.gbl...
| Thanks for replying, Jay!
|
| Yes, I've tried the Body property; unfortunately that isn't it. And the
| reason I'm asking here is because I just put together a quick VB.Net app
| (VS.Net 2k3) to import a batch of VCF cards into Outlook, and assumed that
| was the best place for asking about it... I'll certainly ask in an
Outlook
| group also...
|
| Thanks!
| Jack
|
|
|
| "Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.net> wrote in
| message news:uN**************@TK2MSFTNGP14.phx.gbl...
| > Jack,
| > This sounds like a question better asked in one of the Outlook
newsgroups,
| > as this is a newsgroup dedicated to Visual Basic .NET.
| >
| >
| > Have you tried the Body property?
| >
| >
| > --
| > Hope this helps
| > Jay
| > T.S. Bradley - http://www.tsbradley.net
| >
| >
| > "Jack Black" <ja********@hotmail.com> wrote in message
| > news:uY**************@TK2MSFTNGP11.phx.gbl...
| > | Hi, all!! Anyone know what the property name is for the large text
| > field
| > in
| > | an Outlook 2k2/2k3 Contact is? Tried numerous things and I'm not even
| > close
| > | so far...
| > |
| > | Thanks!
| > | Jack
| > |
| > |
| >
| >
|
|
Nov 21 '05 #4
Jay, thanks for responding!

In my code I'm writing new records via the CreateItem method of the
Outlook.Application object (Outlook.ContactItem). Sample code follows:

Dim oCT As Outlook.ContactItem =
oApp.CreateItem(Outlook.OlItemType.olContactItem)
With sttUser
If .strFullName <> "" Then oCT.FullName = .strFullName
If .strFirstName <> "" Then oCT.FirstName = .strFirstName
If .strNote <> "" Then oCT.Body = .strNote
If .strTitle <> "" Then oCT.Title = .strTitle
oCT.Save()
End With

"sttUser" is a structure that contains data imported from another contact
manager application; some lines have been deleted to save bandwidth. There
are no errors thrown during the Save operation, and all data (except .Body)
are written correctly.

Thoughts? Thanks!
Jack
"Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.net> wrote in
message
Can you show code where you are using the Body property?

Nov 21 '05 #5
Jack,
| Thoughts?
I suspect that sttUser.strNote is an empty string, as the following code
works as I stated:

Dim app As New Outlook.Application
Dim contact As Outlook.ContactItem =
DirectCast(app.CreateItem(Outlook.OlItemType.olCon tactItem),
Outlook.ContactItem)
contact.FirstName = "Jack"
contact.LastName = "Black"
contact.Body = "This is the body of the contact!"
contact.Save()
Return

Are you certain, positive, without a shadow of a doubt, that sttUser.strNote
is not an empty string?

--
Hope this helps
Jay
T.S. Bradley - http://www.tsbradley.net
"Jack Black" <ja********@hotmail.com> wrote in message
news:OQ**************@TK2MSFTNGP14.phx.gbl...
| Jay, thanks for responding!
|
| In my code I'm writing new records via the CreateItem method of the
| Outlook.Application object (Outlook.ContactItem). Sample code follows:
|
| Dim oCT As Outlook.ContactItem =
| oApp.CreateItem(Outlook.OlItemType.olContactItem)
| With sttUser
| If .strFullName <> "" Then oCT.FullName = .strFullName
| If .strFirstName <> "" Then oCT.FirstName = .strFirstName
| If .strNote <> "" Then oCT.Body = .strNote
| If .strTitle <> "" Then oCT.Title = .strTitle
| oCT.Save()
| End With
|
| "sttUser" is a structure that contains data imported from another contact
| manager application; some lines have been deleted to save bandwidth.
There
| are no errors thrown during the Save operation, and all data (except
..Body)
| are written correctly.
|
| Thoughts? Thanks!
| Jack
|
|
| "Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.net> wrote in
| message
| > Can you show code where you are using the Body property?
|
|
Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Anushya | last post by:
Hi How to get the id of a name in contact items in outlook. How to do it thru redemption in .net?? i tried the code below. but it shows the error. pls have a look at the code ...
7
by: Shimon Sim | last post by:
I have a custom composite control I have following property
0
by: TM | last post by:
I was able to find the code to list the name and email from the contacts in Outlook 2003, but the sort property is not working. Here is my sample code. For now I am just adding an item to a...
9
by: George McCullen | last post by:
I have an Outlook 2003 using Exchange Server 2003 Public Contacts Folder containing 20,000 Contacts. I am writing a VB .Net 2003 program that loops through all the contacts in a "for each oCt in...
2
by: Stefan | last post by:
Hello, at the moment i'm exporting outlook contacts to .csv files and then import the file into a sql contact table. i do this only once, so the inputter has to add new contacts twice. Now i...
9
by: Stefan De Schepper | last post by:
Should I use: Private m_Name As String Public Property Name() As String Get Return m_Name End Get Set(ByVal Value As String) m_Name = Value
2
by: charliej2001 | last post by:
Hi all Im copying details from an Outlook contact address book into an Access database. Originally I was only copying about 10 fields across, using the the following method, with a line of code...
1
by: charliej2001 | last post by:
Hi all My access database has import/export capabiltiy of contact details between outlook. The database is getting big now (1000+ contacts) and so are the outlook address books that have the...
11
by: Bill Davy | last post by:
I am trying to edit Contacts in Outlook. This is so I can transfer numbers from my address book which is an Excel spreadsheet to my mobile phone. I came across the following snippet of code which...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.