HyperlinkAddress limitations?

J

Jonathan S

Hi,

I seem to have come across a limitation of the Hyperlink.Address property of a command button/image control which is causing me a little headache!

I am creating, through code, a dynamic list of email recipients so that a user can click an image and generate an email to a number of recipients, but have hit a problem.

The email addresses are extracted from a table and concantenated into a string in the form:

"mailto: (e-mail address removed);[email protected];[email protected];[email protected] ..." etc.

The object.HyperLinkAddress property is then set to this string and when this property is queried, the entire list of emails is present, but when I query the object.Hyperlink.Address property, only part of the list is returned.

Consequently, when the email client is fired up using object.HyperLink.Follow, the email address field contains upto approx 250 characters.

It appears that there is a 255 character limit to the object.Hyperlink.Address property itself but I cannot find any info about this in the help file or in the Microsoft Knowledgebase.

Can anyone confirm this, or this this "behaviour by design"?

Many thanks,
Jonathan S
 

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

Top