Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using IE on a Access Form

Status
Not open for further replies.

calian

Programmer
Jun 6, 2000
50
US
Is there a FAQ or tutorial available that explains how to display HTML pages in a control on an Access form?

For user-related reasons we won't go into here, toggling between Access and Explorer seems to be too complex. I'd like to display some pages on an Access form, possibly as a popup, but possibly just as another control on a form with a series of buttons to select the page.

I could not find this topic in the FAQs, but may have overlooked it, or it may be something no normal person would fool with.

Thanks for any help.

-terry
 
Terry,

Try looking up help on the Follow method. This is a way of assigning a hyperlink to an HTML document to a command button. When the button is pressed, IE will pop up (in a separate window) with the contents.

Is this what you are trying for?
 
wemeier,

That's the way I set things up to begin with - buttons with hyperlinks to the common docs, pull down lists of the less common. That way when box-of-hammers, er, the boss, wanted to switch from the data application, he clicked a button to get to the menu, then clicked another to load the page.

Problem is, from box-of-rocks point of view, that has two applications open. Annoying, I'm told. Hammerhead has seen that I can add a form control that displays images based on pull-downs or names entered in a textbox control. Surely I can add a control to the form to display HTML pages the same way. Right? That way there's only a need for one application. Much better. Right?

Anyway.

I've tried adding the Microsoft WebBrowser control, then using a command like this

ctlBrowser.Navigate "\\docsFolder\blah.htm"

which I thought was the correct method. However, I get error messages indicating that this method is not supported, and none of the elements on the property form has anything to do with displaying pages.

I'm at a loss. Must please high-density supervisor, but everything I know is wrong.

Thanks for any help.

-Terry
 
The IEXPLORE.HLP file on the Microsoft Office 97 Professional Edition compact disc in the Valupack\Access\Webhelp subfolder, contains topics that tell you how to set up a Web Browser control. I haven't read through it yet, but you might want to check it out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top