Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Issue with embedding a Microsoft Web Browser object in a DWO

60 views
Skip to first unread message

Dave

unread,
Aug 13, 2009, 7:37:51 PM8/13/09
to
Hello,
I have embedded a browser control in a DataWindow object. In
PowerScript, I would like to specify a URL to navigate to. I
see that I cannot use the Navigate function directly (i.e.
dw_1.Object.my_olebrowser.Navigate(ls_URL) will not work and
that I need to connect a new OLE object to this active OLE
control and call the function that way. I haven't figured
out how to make that work. Would anyone happen to have a
code sample?
Thank you for your help.

Roland Smith [TeamSybase]

unread,
Aug 25, 2009, 10:41:54 PM8/25/09
to
I haven't tried it within a DataWindow but here is an example of using it as
a separate control.

http://www.topwizprogramming.com/freecode_webbrowser.html

<Dave> wrote in message news:4a84a3cf.3f9...@sybase.com...

Aron Cox

unread,
Sep 7, 2009, 1:30:22 PM9/7/09
to
I may be wrong but I seem to remember I did somwething like
ole_ie.object.Navgate(ls_url) and it worked just fine

Dave

unread,
Sep 11, 2009, 6:21:26 AM9/11/09
to
Hi Aron,
How did you get the reference to the object sitting on the
DW control? i.e. how did you get dw_1.ole_object into
ole_ie?
Dave
0 new messages