• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2958
  • Last Modified:

MS Access - Display hyperlink target within a form...

How can I make the target of a hyperlink display within a form?
0
jimcochran
Asked:
jimcochran
  • 3
  • 2
1 Solution
 
saragoseCommented:
When drawing the form, choose any text, right click it and choose properties. In properties, one of the first ones is Hyperlink address. Type the webpage that you want, and you can do it from there.

To go to another webpage through the link, do the same thing, but type it under Hyperlink subaddress.

The last possibility is that there is a variable type hyperlink that you can use.

ERic
0
 
jimcochranAuthor Commented:
My orginal question may have been too ambiguous,or I may not be understanding your comment, Eric.  If its the latter, apologies up front...

I currently do have a hyperlink field in my table, and that field does appear on the form.  Also, I do understand how to embed a hyperlink address/subaddress into a text box.

Here's where I need help.  I want the target of the above hyperlink to display on the form.  The target in this case is a web page.  I want the actual web page to be visible on the form.

How do I make that happen?

Jim

0
 
saragoseCommented:
Well, in the help files for MS-Access 2000, I found this, but I don't have the time to test it.



Display a Web page on a form
Before you can add the Microsoft Web Browser control to a form, you must have Microsoft Internet Explorer version 3.0 or later installed. Learn about installing Microsoft Internet Explorer.

Open the form in Design view.


In the toolbox, click the More Controls tool .
A menu appears that lists all the registered ActiveX controls in your system.

On the menu of ActiveX controls, click Microsoft Web Browser.


On the form, click where you want to place the control.


Move and size the control if necessary.




I used a similar object with VisualC++, and found that you can actually imbed most windows objects in your web page, such as media player, or windows explorer.

Good-luck
Eric
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
jimcochranAuthor Commented:
I have embedded the Microsoft Web Browser control before, but I do not know how to get it to display the url.  Do you have to create a Macro or VB?  That would be info needed to answer the question.

Regards,
Jim
0
 
Bruce CadizQuality SpecialistCommented:
After you add your ActiveX control (Microsoft Web Browser) create a button and give it the following code.
You could easily modiy this to be a select box the reads the URL text from your table.

Private Sub Command1_Click()
Me.ActiveXCtl1.Navigate "http://www.experts-exchange.com/"
End Sub
0
 
jimcochranAuthor Commented:
Thanks!  That's exactly what I needed.
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now