Solved

HTML-page on access-form?

Posted on 1998-05-20
6
218 Views
Last Modified: 2013-11-28
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
Comment
Question by:topkapi
6 Comments
 
LVL 3

Expert Comment

by:slpatches
ID: 1974185
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
 

Author Comment

by:topkapi
ID: 1974186
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
 

Author Comment

by:topkapi
ID: 1974187
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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 1

Expert Comment

by:CEBAKA
ID: 1974188
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
 

Author Comment

by:topkapi
ID: 1974189
Read the answers and comments first please, before answering the same answer.
0
 
LVL 8

Accepted Solution

by:
Helicopter earned 20 total points
ID: 1974190
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question