Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 230
  • Last Modified:

HTML-page on access-form?

Whell, just like the title:
is it possible to display a HTML-page on a Access-form, and if so, than how do i do that?
0
topkapi
Asked:
topkapi
1 Solution
 
slpatchesCommented:
If you're using Access 97, from the design view of your form, choose Insert...ActiveX Control.  Scroll down on the list util you find "Microsoft WebBrowser Control".

This control has various methods and properties for controlling what web page is displayed.  Check the help file for further details.

Hope this helps
0
 
topkapiAuthor Commented:
Whell, that's what i already know. but when i drop a Webserver control on a form, and set the options, and display the form i get an error stating (dutch) "dit besturingselement bevat geen object" english "does not contain an object".

0
 
topkapiAuthor Commented:
the helpfile is not very helpfull either. al it really does is send me to microsoft site that doesn't have any information on the topic

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!

 
CEBAKACommented:
When you use Microsoft Internet Explorer. You can use the Dll and .ocx of it.

Try to find it with insert control.

I have done the same thing.
0
 
topkapiAuthor Commented:
Read the answers and comments first please, before answering the same answer.
0
 
HelicopterCommented:
Create an unbound object frame and link in any html page in order to set all the properties.

To allow dynamic selection add a common dialog control and a command button

On the on click event of the button add

Private Sub cmdHtml_Click()

Me.cmdlg.ShowOpen
Me.oleHtml.SourceDoc = Me.cmdlg.FileName
Me.oleHtml.Action = 1 'acOLEcreatelink
End Sub

Make sure the ole control has locked set to No and enabled set to yes (which isn't the default)

This works, although it doesn't seem too hot at the pictures.
0

Featured Post

Independent Software Vendors: 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!

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