Can't get revBrowserOpen to work

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Billziegler
Posts: 2
Joined: Sat Apr 07, 2007 3:17 pm

Can't get revBrowserOpen to work

Post by Billziegler » Sun Jan 04, 2009 7:49 am

I've tried...

create stack "new browser"
put revbrowseropen(the windowID of stack "new browser","http://www.runrev.com
") into theIdentifier

and

put the windowid of this stack into tWinID
put "http://www.runrev.com" into tAddress
put revBrowserOpen(tWinID,tAddress) into tBrowserID

and even Ken's script from 11/13/07

on preOpenCard
-- We pass the windowId of the stack to revBrowser
-- so that it can determine which window to place the
-- browser object into
put the windowid of this stack into tWinID

-- Open the browser, using the windowId and initial url
put revBrowserOpen (the windowid of this stack,"http://www.google.com
") into sBrowserId
set the uBrowserID of this stack to sBrowserID

-- Set some basic properties for the browser
--revBrowserSet sBrowserId,"rect",rect of img "browserimage"
revBrowserSet sBrowserId,"showborder","true"
put "" into fld "Location"
enable group "WebBar"
end preOpenCard


I ALWAYS get an Function Execution error on the "revBrowserOpen" line
(see below)


stack "Untitled 1": execution error at line 8 (Function: error in
function handler) near "revBrowserOpen", char 7



What am I doing wrong.

Thanks, Bill

Macbook Pro, Leopard
Bill Ziegler

sm
Posts: 14
Joined: Sun Oct 22, 2006 1:17 pm

Post by sm » Mon Jan 12, 2009 10:44 am

I am also having problems with using the 'browser". A very simple script I made some time ago to display a local pdf file does not work now. The Browser Sample in the tutorials is not working- it will not display data for me although it looks as though the data has downloaded. I downloaded a fresh copy of the tutorial and the problem persisted.

Any suggestions? Is something "broken" in rev 3.0 (Mac)?

siphon
Posts: 1
Joined: Thu Mar 05, 2009 3:46 am

Post by siphon » Thu Mar 05, 2009 3:59 am

The revOpenBrowser function will work for me when I am in the development environment (Revolution Studio in my case) or when I save the stack as a standalone .exe. It will not work, however, if I try to launch the stack using the Revolution Player. I'm using Vista SP1, Rev Studio 3.0 and have the latest Rev Player. I've downloaded supposedly working examples from RevOnline (look for Browser Test.rev under user "Mark") and get the same result. I suspect this is a bug?

Bernard
Posts: 351
Joined: Sat Apr 08, 2006 10:14 pm

Post by Bernard » Fri Mar 13, 2009 1:35 am

I also have problems with the browser - OS 10.4.11 PPC. It's unusable for me even in the IDE.

Please post your problems in the quality control center. And don't forget to vote for your bug.

I'll vote for it too.

http://quality.runrev.com

Post Reply