PC Review


Reply
Thread Tools Rate Thread

Creating hyperlinks

 
 
Amy Brooks
Guest
Posts: n/a
 
      5th Jun 2009
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
 
Reply With Quote
 
 
 
 
Sue Mosher [MVP]
Guest
Posts: n/a
 
      5th Jun 2009
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" <(E-Mail Removed)> wrote in message
news:E48EB23C-AD87-451E-A720-(E-Mail Removed)...
> 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



 
Reply With Quote
 
Amy Brooks
Guest
Posts: n/a
 
      5th Jun 2009
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").ControlTipText
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" <(E-Mail Removed)> wrote in message
> news:E48EB23C-AD87-451E-A720-(E-Mail Removed)...
> > 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

>
>
>

 
Reply With Quote
 
Amy Brooks
Guest
Posts: n/a
 
      5th Jun 2009
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").ControlTipText
> 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" <(E-Mail Removed)> wrote in message
> > news:E48EB23C-AD87-451E-A720-(E-Mail Removed)...
> > > 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

> >
> >
> >

 
Reply With Quote
 
Sue Mosher [MVP]
Guest
Posts: n/a
 
      5th Jun 2009
What is that folder path you have stored in the ControlTipText? Did you
include the file:// prefix? Does that path work if you enter it in Start |
Run or the IE address window?

--
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" <(E-Mail Removed)> wrote in message
news:40090450-DC47-400B-91D8-(E-Mail Removed)...
> 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").ControlTipText
> 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.
>>
>> "Amy Brooks" <(E-Mail Removed)> wrote in message
>> news:E48EB23C-AD87-451E-A720-(E-Mail Removed)...
>> > 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



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: creating hyperlinks stew Microsoft Excel Misc 0 21st Dec 2008 06:08 PM
Re: creating hyperlinks Dave Peterson Microsoft Excel Misc 0 21st Dec 2008 02:37 PM
Creating hyperlinks Fred Microsoft Excel Misc 0 21st Feb 2007 03:13 PM
Creating Hyperlinks =?Utf-8?B?S2lt?= Microsoft Frontpage 3 5th Sep 2006 01:25 PM
Creating a PDF from a PPT with Hyperlinks =?Utf-8?B?UGV0ZQ==?= Microsoft Powerpoint 2 12th Sep 2005 08:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:54 PM.