View Single Post
  #4  
Old June 5th 09, 04:34 PM posted to microsoft.public.outlook.program_forms
Amy Brooks
external usenet poster
 
Posts: 16
Default Creating hyperlinks

Just tried using a URL instead of the windows folder path, and that shows
perfectly. If that helps at all.


"Amy Brooks" wrote:

Hi again Sue

I used the code on your site:
__________________________________________________ __________________
Sub CallReports_Click()
Set objWeb = CreateObject("InternetExplorer.Application")
objWeb.Navigate Item.GetInspector.ModifiedFormPages _
("General").Controls("CallReports").ControlTipT ext
objWeb.Visible = True
End Sub
__________________________________________________ __________________

The command box I am using is called CallReports (thats the control name).
My folder path is stored in the ControlTipText of Advanced Properties,
because I wanted a different caption to show.

When I ran the form and clicked the button, it brought up Internet Explorer,
but wouldn't show the folder. Am I doing something wrong? Should I change the
InternetExplorer.Application to something different?

Thanks,
Amy

"Sue Mosher [MVP]" wrote:

Yes, you can use the file:// hyperlink syntax, e.g.:

file://c:\data\my%20folder

Replace any spaces in folder names with the %20 character sequence.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Amy Brooks" wrote in message
...
Hi,

Is it possible to (on a contacts form) create a hyperlink that links to a
windows folder, either by:
a) using a command button
b) entering text into the notes box

Thanks,
Amy




Ads