BruceSteers wrote: ↑Monday 13th December 2021 1:10am
It works as expected for me with that url.
do you get a result if you use xdg-open in a terminal?
xdg-open https://startpage.com/
Desktop.Open() uses xdg-open
Yes, works fine in terminal with xdg-open
https://startpage.com/.
I have this in the notes of my UrlLabel
Code: Select all
Public Sub ulbStartPage_Click()
'' If you add the 'gb.desktop' component you can use (this worked with 3.14.3)
'' After updating to 3.16.3 this crashes and needed the component gb.pcre
'' sudo apt-get install gambas3-gb-pcre
'' This now works but opens 2 of the same web page < add Wait = True to correct
Desktop.Open("https://startpage.com/", True)
End
But then I realized that the UrlLabel ignores the Desktop.Open("
https://startpage.com/", True) and uses whatever is in the text of the label.
I also didn't understand what the gb.pcre had to do with anything and it's not checked in Project > Components, but it did stop the crashing.
I was just wanting to open a couple different web pages programmatically. If it works for you it makes me wonder if that little green circle to the right of gb.desktop in Project > Components being only half green means I'm missing something?
Thanks for your response.