Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / January 2005

Tip: Looking for answers? Try searching our database.

HTML appearance

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eyal - 17 Jan 2005 11:35 GMT
Hallo everybody
is there a way in access to view an HTML text
as it would apear in the HTML browser
Thanks, Eyal
Rob Oldfield - 17 Jan 2005 19:34 GMT
I've never used it in a production db but there's an ActiveX control
"Microsoft Web Browser".  It's used by doing something like....

Me.ctlName.Navigate2 "pathtoyourhtmlfile"

> Hallo everybody
> is there a way in access to view an HTML text
> as it would apear in the HTML browser
> Thanks, Eyal
John Nurick - 17 Jan 2005 19:59 GMT
Hi Eyal,

I've never tried, but the obvious approach is to put a web browser
control on a form and pass the HTML string to it.

>Hallo everybody
>is there a way in access to view an HTML text
>as it would apear in the HTML browser
>Thanks, Eyal

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
Eyal Semo - 18 Jan 2005 13:03 GMT
Hi John
How should I pass the HTML string to the web browser control (in a form) ?
Thanks Eyal

> Hi Eyal,
>
[quoted text clipped - 10 lines]
>
> Please respond in the newgroup and not by email.
John Nurick - 18 Jan 2005 19:27 GMT
Hi Eyal,

I don't know. As I said, I've never tried this. In a quick search of
MSDN the first example of using the web browser in VBA is
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnofftalk/html/
office06012000.asp

That's for Excel, and rather than passing strings to the browser the
author writes them to temporary HTML files and has the browser display
those. But other approaches may be possible: suggest you search
www.microsoft.com and further afield.

Good luck!

>Hi John
>How should I pass the HTML string to the web browser control (in a form) ?
[quoted text clipped - 14 lines]
>>
>> Please respond in the newgroup and not by email.

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
Stephen Lebans - 18 Jan 2005 20:32 GMT
If I remember correctly it is the InnerHTML prop you need to work with.
FOr sample code see the HTML editor on my site here:
http://www.lebans.com/htmleditor.htm

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.

> Hi John
> How should I pass the HTML string to the web browser control (in a form) ?
[quoted text clipped - 14 lines]
> >
> > Please respond in the newgroup and not by email.
Eyal Semo - 19 Jan 2005 11:29 GMT
Thanks a lot Stephen it's great
Eyal
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.