I think I got this resolved, but wanted to post the result here in case it's useful to anyone else. The field name for the text area is
cdoPerson.Fields("urn:schemas:httpmail:htmldescription")
I am writing a server side program to update contacts in a public folder on Exchange 2000. Thanks to all that helped on my previous question, but I have one more question. Is there any way to import information into the Body (message) area of a contact on the server side?
I am using a...
Just a followup. I was trying to troubleshoot my problem and included a for-next loop to document all the values of the array after they were in the array. I had to include a line "On Error Resume Next" for this to work (this was included right after [arrsubstring = Split(s...
Thank you for the advice. Your naming conventions were right and I have adjusted them (shame on Microsoft for posting them as they were!)
Regarding your second item, the string sURL may change for each record--this controls which subfolder the record is supposed to go into. I have about 70...
Sorry it's taken me so long to get back. Yes, this is a server side app.
What took so long is that I was trying to pare down the code and see if I could spot where the problem is. I am currently importing 39 fields of information. When I reduced the number of fields, I was able to import...
I am writing a program (VB6) to import contacts into several public folders. I am getting a Error 6 - Overflow if I try to process more than about 325 records. (Works fine on less than 300 records.)
I am using ADO to create the link to the Exchange Public Folder and reading the names from a...
I am writing a program to import contacts into several public folders. I am getting a Error 6 - Overflow if I try to process more than about 325 records.
I am using ADO to create the link to the Exchange Public Folder and reading the names from a CSV file. I am using code from...
I am able to work out of my house for part of my time (yeah!) but am having problems getting e-mail in a timely fashion. I have my own network and domain at home. My company requires remote users to access Exchange through a VPN using Outlook offline.
When I click the toolbar button...
Thanks to everyone that replied. I tried taking out the array variable, and replaced it with strTEMP, which I forgot to declare. Believe it or not, it worked. Here's the code snippet:
Public strADArray(16) As String
Public strADldap As String
Sub Works()
strADldap = "LDAP://CN=Big...
Oops--forgot to include the new error code for the break for objUser.SetInfo
Runtime error '-2147016693(8007200b)'
Automation error
The attribute syntax specified to the directory service is invalid.
The error code is "Run time error '-2147467259 (800040050)' Automation error, unspecified error"
I think the declaration is where I have the problem. The VBScript that I used did not declare the variable other than "Set objUser = GetObject(strADldap)", and it ran fine.
I'm...
[blush]It was just pointed out to me that the step where the code is bombing is not the "Set" line but the "put" line:
objUser.Put "streetAddress",strADArray(3)
Any suggestions?
I know this isn't the forum for Visual Basic, but I have a VBScript that adds address information to the active directory. I am trying to use that script in a visual basic program (reading from one source and writing to AD). However, it crashes on the "set objUser = GetObject" line...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.