Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 21st, 2006, 10:34 AM
Registered User
 
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Create link in Outlook

Hi,

    I have one problem to ask. When I type http://google.com in outlook it appears as link, but when I type only google.com it does not appear as link. I want to know what determines this? I have a requirement to make a shortcut link for opening some file in my image editor. I want to make link like this clicking on which the file opens in my image editor. Any clue? I guess it can be done by thinking in direction “how does a file say .doc file is associated with MS Word”.

Regards,
Rajeev
 
Old March 21st, 2006, 11:53 AM
Authorized User
 
Join Date: Mar 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My best guess in this regard is that outlook editor (basically, an HTML editor), looks for each phrase (well, lets define a phrase as a string of characters which is followed by a space) and tries to match it with a regular-expression. In this case, it probably watches for a pattern like http://<chars>.<chars> or www.<chars>.<chars>

Once it finds such a pattern, lets say http://google.com, it edits the background html to be <a href="http://google.com">http://google.com</a>.

In your case, you can do the same thing by "looking through" the text being typed and replacing the keywords of interest and replacing them by a reference to the image file. For example, watching out for any appearance for a word like "sea" or "ocean", and replacing the word by a link to a picture from Hawaii :).

This editor of p2p.wrox.com would have done the same to some of the phrases in my reply.

Sreeram





Similar Threads
Thread Thread Starter Forum Replies Last Post
Link in Outlook Message forkhead HTML Code Clinic 0 March 6th, 2008 02:56 PM
Create properties for javascript link ismailc XSLT 3 December 10th, 2007 09:41 AM
create a moving link/image panuvin Javascript How-To 1 October 26th, 2007 07:09 AM
Link to Outlook Address book? Ron Howerton HTML Code Clinic 2 May 24th, 2007 07:30 AM
Create outlook 2003 distributionlist Alcapone C# 2 December 22nd, 2004 04:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.