473,404 Members | 2,170 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Diaplying HTML

I need to display html info on an Access form. To do this I am using
the Micorsoft Web Browser control which uses shdocvw.dll

The problem with this is that

a. the control is not resizable. Once it has been position on the form
it cannot be resized and needs to be deleted and then reinserted. but
more importantly if the user resizes a form the control cannot be
resized accordingly

b. there is no way of printing the contents of the html on a report

Does anyone know of an alternative compenent (dll or ocx) that I could
use to solve either of these issues.
Alex
Nov 13 '05 #1
4 1664
Alex wrote:
I need to display html info on an Access form. To do this I am using
the Micorsoft Web Browser control which uses shdocvw.dll

The problem with this is that

a. the control is not resizable. Once it has been position on the form
it cannot be resized and needs to be deleted and then reinserted. but
more importantly if the user resizes a form the control cannot be
resized accordingly

b. there is no way of printing the contents of the html on a report

Does anyone know of an alternative compenent (dll or ocx) that I could
use to solve either of these issues.
Alex


I resize as:

Private Sub Form_Open(Cancel As Integer)
Me.wbHDSBHelp.Width = 480
End Sub

where wbHDSBHelp points to the Web Browser Control.

I'm not sure what you mean by "no way of printing the contents of the
html on a report" ... but you can print the html on the browser control
by right clicking and choosing print from the pop up menu.

I expect that with a little dickering one could grab the innerText or
innerHTML of the control and do whatever you wanted with it.

For any report you need a record source, ... or you can manipulate the
various methods of the report or even, in later versions of Access, its
recordset ... these last two do not seem to be extensively documented
and they can be tedious.

--
--
Lyle
--
From ADO28.chm

Deprecated Components
Each of the following components is considered obsolete. While these
components are still supported in this release of the Microsoft® Data
Access Components (MDAC), they may be removed in the future. When
writing new applications, you should avoid using these deprecated
components. When modifying existing applications, you are strongly
encouraged to remove any dependency on these components.

ODBC Provider (MSDASQL)
You are strongly encouraged to use one of the native OLE DB Providers
instead of the Microsoft Open Database Connectivity (ODBC) Provider.
Native OLE DB Providers provide better application stability and
performance. Furthermore, native OLE DB Providers will be supported in
the future, whereas MSDASQL will not have any new features added to it,
will not be available on 64-bit, and will not be accessible from the OLE
DB NET Data Provider.

Remote Data Services (RDS)
Remote Data Services (RDS) is a proprietary Microsoft mechanism for
accessing remote data across the Internet or intranet. Microsoft is now
shipping the Microsoft Simple Object Access Protocol (SOAP) Toolkit 2.0
that enables you to access remote data using an open, XML-based
standard. Given the availability of the SOAP Toolkit 2.0, you should
migrate from RDS to SOAP. The SOAP 2.0 Toolkit 2.0 also includes sample
code for remotely accessing Microsoft ActiveX® Data Objects (ADO)
Recordsets.

Jet and Replication Objects (JRO)
The Microsoft Jet OLE DB Provider and other related components were
removed from MDAC 2.6. Microsoft has deprecated the Microsoft Jet
Engine, and plans no new releases or service packs for this component.
As a result, the Jet and Replication Objects (JRO) is being deprecated
in this release and will not be available in any future MDAC releases.

.....
Nov 13 '05 #2
On 23 Feb 2005 05:17:33 -0800, al********@hotmail.com (Alex) wrote:

Be grateful that it works at all.

You could automate a browser window, but of course not inside a form.

-Tom.

I need to display html info on an Access form. To do this I am using
the Micorsoft Web Browser control which uses shdocvw.dll

The problem with this is that

a. the control is not resizable. Once it has been position on the form
it cannot be resized and needs to be deleted and then reinserted. but
more importantly if the user resizes a form the control cannot be
resized accordingly

b. there is no way of printing the contents of the html on a report

Does anyone know of an alternative compenent (dll or ocx) that I could
use to solve either of these issues.
Alex


Nov 13 '05 #3
The resize code does not work. The browser control stays at the size it was
inserted on the form. Have you tried it?

The printing issue relates to printing the html info on a report that also
contains other info. i.e. not just the html
Alex

"Lyle Fairfield" <ly******@yahoo.ca> wrote in message
news:%L*******************@read2.cgocable.net...
Alex wrote:
I need to display html info on an Access form. To do this I am using
the Micorsoft Web Browser control which uses shdocvw.dll

The problem with this is that

a. the control is not resizable. Once it has been position on the form
it cannot be resized and needs to be deleted and then reinserted. but
more importantly if the user resizes a form the control cannot be
resized accordingly

b. there is no way of printing the contents of the html on a report

Does anyone know of an alternative compenent (dll or ocx) that I could
use to solve either of these issues.
Alex


I resize as:

Private Sub Form_Open(Cancel As Integer)
Me.wbHDSBHelp.Width = 480
End Sub

where wbHDSBHelp points to the Web Browser Control.

I'm not sure what you mean by "no way of printing the contents of the
html on a report" ... but you can print the html on the browser control
by right clicking and choosing print from the pop up menu.

I expect that with a little dickering one could grab the innerText or
innerHTML of the control and do whatever you wanted with it.

For any report you need a record source, ... or you can manipulate the
various methods of the report or even, in later versions of Access, its
recordset ... these last two do not seem to be extensively documented
and they can be tedious.

--
--
Lyle
--
From ADO28.chm

Deprecated Components
Each of the following components is considered obsolete. While these
components are still supported in this release of the Microsoft® Data
Access Components (MDAC), they may be removed in the future. When
writing new applications, you should avoid using these deprecated
components. When modifying existing applications, you are strongly
encouraged to remove any dependency on these components.

ODBC Provider (MSDASQL)
You are strongly encouraged to use one of the native OLE DB Providers
instead of the Microsoft Open Database Connectivity (ODBC) Provider.
Native OLE DB Providers provide better application stability and
performance. Furthermore, native OLE DB Providers will be supported in
the future, whereas MSDASQL will not have any new features added to it,
will not be available on 64-bit, and will not be accessible from the OLE
DB NET Data Provider.

Remote Data Services (RDS)
Remote Data Services (RDS) is a proprietary Microsoft mechanism for
accessing remote data across the Internet or intranet. Microsoft is now
shipping the Microsoft Simple Object Access Protocol (SOAP) Toolkit 2.0
that enables you to access remote data using an open, XML-based
standard. Given the availability of the SOAP Toolkit 2.0, you should
migrate from RDS to SOAP. The SOAP 2.0 Toolkit 2.0 also includes sample
code for remotely accessing Microsoft ActiveX® Data Objects (ADO)
Recordsets.

Jet and Replication Objects (JRO)
The Microsoft Jet OLE DB Provider and other related components were
removed from MDAC 2.6. Microsoft has deprecated the Microsoft Jet
Engine, and plans no new releases or service packs for this component.
As a result, the Jet and Replication Objects (JRO) is being deprecated
in this release and will not be available in any future MDAC releases.

....

Nov 13 '05 #4
You cannot use the WebBrowser control on a report. I have not seen any
other HTML compatible ActiveX control that will work on an Access
Report.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Paradigm" <al********@hotmail.com> wrote in message
news:Bc*************@newsfe1-gui.ntli.net...
The resize code does not work. The browser control stays at the size it was inserted on the form. Have you tried it?

The printing issue relates to printing the html info on a report that also contains other info. i.e. not just the html
Alex

"Lyle Fairfield" <ly******@yahoo.ca> wrote in message
news:%L*******************@read2.cgocable.net...
Alex wrote:
I need to display html info on an Access form. To do this I am using the Micorsoft Web Browser control which uses shdocvw.dll

The problem with this is that

a. the control is not resizable. Once it has been position on the form it cannot be resized and needs to be deleted and then reinserted. but more importantly if the user resizes a form the control cannot be
resized accordingly

b. there is no way of printing the contents of the html on a report
Does anyone know of an alternative compenent (dll or ocx) that I could use to solve either of these issues.
Alex


I resize as:

Private Sub Form_Open(Cancel As Integer)
Me.wbHDSBHelp.Width = 480
End Sub

where wbHDSBHelp points to the Web Browser Control.

I'm not sure what you mean by "no way of printing the contents of the html on a report" ... but you can print the html on the browser control by right clicking and choosing print from the pop up menu.

I expect that with a little dickering one could grab the innerText or innerHTML of the control and do whatever you wanted with it.

For any report you need a record source, ... or you can manipulate the various methods of the report or even, in later versions of Access, its recordset ... these last two do not seem to be extensively documented and they can be tedious.

--
--
Lyle
--
From ADO28.chm

Deprecated Components
Each of the following components is considered obsolete. While these
components are still supported in this release of the Microsoft® Data Access Components (MDAC), they may be removed in the future. When
writing new applications, you should avoid using these deprecated
components. When modifying existing applications, you are strongly
encouraged to remove any dependency on these components.

ODBC Provider (MSDASQL)
You are strongly encouraged to use one of the native OLE DB Providers instead of the Microsoft Open Database Connectivity (ODBC) Provider.
Native OLE DB Providers provide better application stability and
performance. Furthermore, native OLE DB Providers will be supported in the future, whereas MSDASQL will not have any new features added to it, will not be available on 64-bit, and will not be accessible from the OLE DB NET Data Provider.

Remote Data Services (RDS)
Remote Data Services (RDS) is a proprietary Microsoft mechanism for
accessing remote data across the Internet or intranet. Microsoft is now shipping the Microsoft Simple Object Access Protocol (SOAP) Toolkit 2.0 that enables you to access remote data using an open, XML-based
standard. Given the availability of the SOAP Toolkit 2.0, you should
migrate from RDS to SOAP. The SOAP 2.0 Toolkit 2.0 also includes sample code for remotely accessing Microsoft ActiveX® Data Objects (ADO)
Recordsets.

Jet and Replication Objects (JRO)
The Microsoft Jet OLE DB Provider and other related components were
removed from MDAC 2.6. Microsoft has deprecated the Microsoft Jet
Engine, and plans no new releases or service packs for this component. As a result, the Jet and Replication Objects (JRO) is being deprecated in this release and will not be available in any future MDAC releases.
....



Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: VK | last post by:
09/30/03 Phil Powell posted his "Radio buttons do not appear checked" question. This question led to a long discussion about the naming rules applying to variables, objects, methods and properties...
0
by: Boris Ammerlaan | last post by:
This notice is posted about every week. I'll endeavor to use the same subject line so that those of you who have seen it can kill-file the subject; additionally, Supersedes: headers are used to...
20
by: Al Moritz | last post by:
Hi all, I was always told that the conversion of Word files to HTML as done by Word itself sucks - you get a lot of unnecessary code that can influence the design on web browsers other than...
6
by: Ludwig77 | last post by:
When I was first taught html several years ago, I was taught that the following tags are standard for any html formatted message: <HTML> <HEAD> </HEAD> </BODY> </HTML> In fact, I was taught...
4
by: Francois Keyeux | last post by:
hello everyone: i have a web site built using vbasic active server scripting running on iis (it works on either iis 50 and 60, but is designed for iis 50) i know how to create a plain text...
5
by: serge calderara | last post by:
Dear all, I am new in asp.net and prepare myself for exam I still have dificulties to understand the difference between server control and HTML control. Okey things whcih are clear are the fact...
6
by: Guy Macon | last post by:
cwdjrxyz wrote: HTML 5 has solved the above probem. See the following web page: HTML 5, one vocabulary, two serializations http://www.w3.org/QA/2008/01/html5-is-html-and-xml.html
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.