Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

How to view an HTML Document in a Datawindow

2 posts in DataWindow Last posting was on 2009-05-19 13:38:41.0Z
Larry Peters Posted on 2009-05-19 00:51:19.0Z
From: Larry Peters <peterslarry@hotmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: How to view an HTML Document in a Datawindow
Message-ID: <4tv315l58b9m8k6dd9lrnnc2pkmireqdit@4ax.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: vip152.sybase.com
X-Original-Trace: 18 May 2009 16:39:43 -0700, vip152.sybase.com
Lines: 16
X-Original-NNTP-Posting-Host: forums-3-dub.sybase.com
X-Original-Trace: 18 May 2009 17:50:47 -0700, forums-3-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 18 May 2009 17:51:19 -0700
X-Trace: forums-1-dub 1242694279 10.22.108.75 (18 May 2009 17:51:19 -0700)
X-Original-Trace: 18 May 2009 17:51:19 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89328
Article PK: 418568

My app is NOT web-enabled.
It is traditional client-server.

I wish to view HTML in a window.
I have separately posted to the ole forum asking for help using an ole
control.
Here I am asking for help using a datawindow.

How can I view standard HTML in a datawindow?
For example, I have a file "lcp.html" and I wish to display it within
a datawindow - complete with all html rendering. Is this possible? If
so, then how?

TIA

Larry


Mitch Posted on 2009-05-19 13:38:41.0Z
Sender: 3691.4a129da8.1804289383@sybase.com
From: Mitch
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: How to view an HTML Document in a Datawindow
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4a12a53e.3c58.1681692777@sybase.com>
References: <4tv315l58b9m8k6dd9lrnnc2pkmireqdit@4ax.com>
X-Original-NNTP-Posting-Host: forums-3-dub.sybase.com
X-Original-Trace: 19 May 2009 05:25:34 -0700, forums-3-dub.sybase.com
Lines: 27
X-Original-NNTP-Posting-Host: forums-3-dub.sybase.com
X-Original-Trace: 19 May 2009 06:36:39 -0700, forums-3-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 19 May 2009 06:38:41 -0700
X-Trace: forums-1-dub 1242740321 10.22.108.75 (19 May 2009 06:38:41 -0700)
X-Original-Trace: 19 May 2009 06:38:41 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89333
Article PK: 418577

To use OLE:
1. Drop a "Microsoft Web Browse" OLE control on a window.
2. Where you want to display the file:
string ls_Url
ls_Url = 'C:\Temp\cp.html' // must be full path
ole_web_browser.object.Navigate(ls_Url)

This is your friend:
http://msdn.microsoft.com/en-us/library/aa752043(VS.85).aspx

> My app is NOT web-enabled.
> It is traditional client-server.
>
> I wish to view HTML in a window.
> I have separately posted to the ole forum asking for help
> using an ole control.
> Here I am asking for help using a datawindow.
>
> How can I view standard HTML in a datawindow?
> For example, I have a file "lcp.html" and I wish to
> display it within a datawindow - complete with all html
> rendering. Is this possible? If so, then how?
>
> TIA
>
> Larry