[Openroad-users] Embedding a webpage into an OpenROAD frame

Bodo Bergmann Bodo.Bergmann at ingres.com
Fri Jun 8 18:32:35 EST 2007


One additon/correction:
 
You can use the webbrowser.Navigate() method directly in the initialize
block after doing CurFrame.Flush().
This works at least in OR2006 (not sure about OR4.1).
 
As I experienced problems with other ActiveX controls even after
CurFrame.Flush(),
I usually use the CurFrame.SendUserEvent() approach (sometimes even with
delay parameter)
when working with external fields.
 
Bodo
 
Bodo Bergmann
Senior Software Engineer
OpenROAD Worldwide Development
Ingres Corp.
 
 

________________________________

From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Bodo
Bergmann
Sent: Friday, June 08, 2007 10:23 AM
To: International OpenROAD Users
Subject: Re: [Openroad-users] Embedding a webpage into an OpenROAD frame


Colin,
you can follow the steps below:

1.	
	In your OpenROAD app create an ExternalClassLibrary using the
"Microsoft Internet Controls" TypeLib
2.	
	In the frame use menu "Insert->Field From External Object..."
and select the "webbrowser" control, draw the boundaries of the field.
3.	
	To load a webpage or file use the Navigate method, e.g.:
	
	    webbrowser_fld.Navigate('http://www.ingres.com/support'); //
use url syntax, e.g. 'file://c:\mypath\myfile.txt'
	
	Make sure the control is fully initialized before using the
Navigate method.
	That is - do not use it in the INITIALIZE block.
	If you want to load the webpage on framestart, then use
CurFrame.SendUserevent() and use the Navigate method
	in the according event block.

Hope this helps.
Best regards,
Bodo.
 
Bodo Bergmann
Senior Software Engineer
OpenROAD Worldwide Development
Ingres Corp.
 
 

________________________________

From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Colin Hay
Sent: Friday, June 08, 2007 3:28 AM
To: International OpenROAD Users
Subject: [Openroad-users] Embedding a webpage into an OpenROAD frame


Hello all,
 
Help - I want to embed a webpage or file into an OpenROAD 4.1 frame but
have no idea how to do this ....
 
________________________________


Colin Hay
Database Administrator

Fintechnix
 

Level 3,
55 Clarence Street,
Sydney


colin.hay at fintechnix.com <mailto:colin.hay at fintechnix.com>  
Phone: +61 2 8234 8276


________________________________

 

Specialist providers of back and front office systems for the financial
services industry.
Featuring: Fintechnix(r)
Disclaimer: 
Notice: This message contains privileged and confidential information
intended only for the use of the addressee named above. If you are not
the intended recipient of this message you are hereby notified that you
must not disseminate, copy or take any action in reliance on it.
Any views expressed in this message are those of the individual
sender,except where the sender specifically states them to be the views
of Fintechnix Pty Ltd.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20070608/de4e36b4/attachment.html 


More information about the Openroad-users mailing list