A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

SueHelpMe



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 13th 07, 07:05 AM posted to microsoft.public.outlook.program_forms
OfficeWannaBe via OfficeKB.com
external usenet poster
 
Posts: 2
Default SueHelpMe

Using Sue Mosher's excellent book "Microsoft Outlook Programming", I added
the following code to my form:

Sub lblLink_Click()
Set objWeb = CreateObject("InternetExplorer.Application")
objWeb.Navigate Item.GetInspector.ModifiedFormPages ("Message"). _
Controls("lblLink").Caption
objWeb.Visible = True
End Sub

This forces a hyperlink to the object named "lblLink" on the form. However,
when the form is sent, the recipient of the e-mail can see the link, but it
does not work. It only works from the compose page after I run the form from
the menu bar.

I am a complete novice at all of this stuff but I love the book!

Thanks

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...forms/200705/1

Ads
  #2  
Old May 13th 07, 02:40 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default SueHelpMe

Code runs only on published forms that are not one-offs. This means that the form must be published to the Organizational Forms library or each users's Personal Forms library with the "Send form definition with item" box on the (Properties) page unchecked.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"OfficeWannaBe via OfficeKB.com" u34098@uwe wrote in message news:7219690b5a205@uwe...
Using Sue Mosher's excellent book "Microsoft Outlook Programming", I added
the following code to my form:

Sub lblLink_Click()
Set objWeb = CreateObject("InternetExplorer.Application")
objWeb.Navigate Item.GetInspector.ModifiedFormPages ("Message"). _
Controls("lblLink").Caption
objWeb.Visible = True
End Sub

This forces a hyperlink to the object named "lblLink" on the form. However,
when the form is sent, the recipient of the e-mail can see the link, but it
does not work. It only works from the compose page after I run the form from
the menu bar.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:20 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.