cdo.message

H

Hugh Welford

Can someone explain the with/end with operative used with cdo.message. I
havent come across this before. Thanks

Hugh
 
T

Tom B

When you have an object, you can shorten up your code by using With.

For example:

With Response
.Write "I'm using the Response object and the Write method"
.Write "<br>Notice the dot at the beginning. If you are using Interdev
you'll get Intellisesnse"
End With

.Write "This will result in an error"
 
H

Hugh Welford

thanks tom. should have been able to figure out that myself. time to retire,
maybe. Hugh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Help Please On 2 of my Websites 1
CDO.message 4
CDO.MESSAGE 1
cdo.message 1
Sending Mail Problem with NTLM 0
CDO.Message 6
Help with datascraping script 1
CDO.Message problems 1

Members online

Forum statistics

Threads
474,141
Messages
2,570,814
Members
47,358
Latest member
AlexSon

Latest Threads

Top