Yes I do have the evaluate function.

 I was replacing browse with do-browser so 
that I could pass up code to the html page 
to load the page in the _main browser 
window. The search bar, which you see when 
you click on the search button on your 
browsers chrome, is in a window named 
_search, so if you want to open a page in 
the main window that called the search 
window you have to have the following:

window.open(url,"_main");


anyway I really don't understand how do-
browser should be affecting this, I mean 
that do-browser should only be called when I 
click on a button in the rebol view form. 

yet nonetheless if I start that page I get 
the errors outlined on loading the page, yet 
as also noted these errors are not 100% of 
the time, but around 70%. The most logical 
thing would be a memory leak somewhere, but 
my system doesn't seem to be using any 
excessive resources. 


> Hello! Two questions:
> 
> 1) Do you have the evaluate function in 
your HTML page code?
> 2) Why are you replacing browser with do-
browser? browse still works
> great for launching the web browser.
> 
> Josh
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:rebol-
[EMAIL PROTECTED] On Behalf
> Of [EMAIL PROTECTED]
> Sent: Sunday, March 21, 2004 7:12 AM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Rebol/ View dll do-
browser crashing browser
> 
> Hi, I was adapting Kevin Adams search2.r 
to 
> be a searchbar in explorer, pretty much I 
> just went through and replaced browse/only 
> with do-browser some extra joins, it works 
> only, not very often, about 70% of the 
time 
> it crashes the browser, if the browser 
opens 
> with the searchbar window open it crashes 
as 
> well basically if the searchbar crashes 
the 
> browser once, it will restart about 3-4 
> times before it stops crashing. 
> 
> I sort of find that annoying. 
> 
> now it was completely fine before I added 
in 
> do-browser, only then of course every time 
I 
> did a search and clicked on the button it 
> opened a new browser instance. So I assume 
> it has to be do-browser, only as one can 
see 
> from the code here do-browser is also 
called 
> by buttons being pushed:
> 
> 
> about: layout [ 
>  backdrop 219.219.219
>  h1 "Search Center" 28.52.86
>  text "Version 1.2.0"
>  text "written by Kevin Adams, 
> [EMAIL PROTECTED]" 
>  button "okay" [unview] 70x20 effect 
> [gradient 0.0.0] 
> ] 
> 
> win1: layout/size [ 
>     backdrop 219.219.219
>     h1 "Search Center" 28.52.86
>     guide
>     pad 20
>     button "Section  One" [panels/pane: 
> panel1  show panels] 85x20 effect 
> 
> [gradient 0.0.0] 
>     button "Section  Two" [panels/pane: 
> panel2  show panels] 85x20 effect 
> 
> [gradient 0.0.0] 
>     button "About" [view/new center-face 
> about] 85x20 effect [gradient 0.0.0] 
>     button "Quit" [quit] 85x20 effect 
> [gradient 0.0.0] 
>     return
>     box 2x270 28.52.86
>     return
>     panels: box 180x280
> ] 350x350 
> 
> panel1: layout [ 
>         backdrop 219.219.219
> across
> 
> h2 "Dictionary Search" 28.52.86
> return
> 
>     word_to_lookup2: field 120 [ 
>          ] 
>          button "Go" 30 effect [gradient 
> 0.0.0] [ 
>                 do-browser join "go('" 
join 
> 
> [http://www.m-w.com/cgi-bin/dictionary "?
> book=dictionary&va=" 
> 
> word_to_lookup2/text] "')"
> 
>     ]
> 
> return
> h2 "Google Search" 28.52.86
> return
> 
>     word_to_lookup3: field 120 [ 
>     ] 
>     button "Go" 30 effect [gradient 0.0.0] 
[ 
>         do-browser join "go('" join 
> ["http://www.google.com/search?q="; 
> 
> 
word_to_lookup3/text "&btnG=Google+Search"] "
> ')"
> ]
> 
> return
> h2 "Yahoo Search" 28.52.86
> return
> 
>     word_to_lookup6: field 120 [ 
>     ] 
>     button "Go" 30 effect [gradient 0.0.0] 
[ 
>         do-browser join "go('" join  
> ["http://search.yahoo.com/bin/search?p="; 
> 
> word_to_lookup6/text ] "')"
> ]
> 
> return
> h2 "Slashdot Search" 28.52.86
> return
> 
>     word_to_lookup1: field 120 [ 
>     ] 
>     button "Go" 30 effect [gradient 0.0.0] 
[ 
>        do-browser join "go('" join  
> 
> ["http://slashdot.org/search.pl?
> query="word_to_lookup1/text ] "')"
> ]
> 
> ]
> 
> panel2: layout [
> backdrop 219.219.219
> across
> 
> return
> h2 "Image Search" 28.52.86
> return
> 
>     word_to_lookup4: field 120 [ 
>     ] 
>     button "Go" 30 effect [gradient 0.0.0] 
[ 
>         do-browser join "go('" join 
> 
> ["http://images.google.com/images?
num=20&q=" 
> word_to_lookup4/text 
> 
> "&btnG=Google+Search"] "')"
> ]
> 
> return
> h2 "Usenet Search" 28.52.86
> return
> 
>     word_to_lookup5: field 120 [ 
>     ] 
>     button "Go" 30 effect [gradient 0.0.0] 
[ 
>        do-browser join "go('" join  
> ["http://groups.google.com/groups?q="; 
> 
> 
word_to_lookup5/text "&hl=&btnG=Google+Search
> "] "')"
> ]
> 
> return
> h2 "eBay Search" 28.52.86
> return
> 
>     word_to_lookup7: field 120 [ 
>     ] 
>     button "Go" 30 effect [gradient 
0.0.0]  
> [ 
>        do-browser join "go('" join 
> 
> ["http://search.ebay.com/search/search.dll?
> MfcISAPICommand=GetResult&ht=1&Sor
> 
> tProperty=MetaEndSort&query=" 
> word_to_lookup7/text "&x=-567&y=-92"] "')"
> ]
> 
> return
> h2 "Stock Quote" 28.52.86
> return
> 
>     word_to_lookup8: field 120 [ 
>     ] 
>     button "Go" 30 effect [gradient 0.0.0] 
[ 
>         do-browser join "go('" join 
> ["http://finance.yahoo.com/q?s="; 
> 
> word_to_lookup8/text "&d=v3"] "')"
> ]
> 
> ]
> 
>     panel1/offset: 0x0
>     panel2/offset: 0x0
> 
>     panels/pane: panel1
> 
> view center-face win1          
> 
> 
> 
> 'go' is just a function in my javascript, 
as 
> follows:
> function go(url){
> 
> window.open(url,"_main","");
> 
> }
> 
> to get it to open in the new browser 
window. 
> 
> The helpful IE error message is:
> 
> ---------------------------
> iexplore.exe - Application Error
> ---------------------------
> The instruction at "0x77fcb007" referenced 
> memory at "0x00650070". The memory could 
not 
> be "written".
> 
> 
> Click on OK to terminate the program
> ---------------------------
> OK   
> ---------------------------
> 
> 
> 
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to