OpenURL() function under Windows
OpenURL() function under Windows
Hello,
OpenURL() does nothing on my Windows XP or Windows 7 machine. Does Windows require third-party components of some sort?
OpenURL() does nothing on my Windows XP or Windows 7 machine. Does Windows require third-party components of some sort?
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
http://myevolve.wordpress.com
Re: OpenURL() function under Windows
Surprised to see it run under Windows 8 (!).. same behaviour.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
http://myevolve.wordpress.com
Re: OpenURL() function under Windows
Here it is working with Windows XP SP3. It opens the domain in the defined "standard browser". Maybe in your case no browser is set as "default browser" so windows do not know what to do or where to open it.
Re: OpenURL() function under Windows
Here on Windows7 and Vista no problems at all, OpenURL() runs fine
----------------------------
[Allanon] Fabio Falcucci | GitHub (leaving) | Gitea (my new house) | My Patreon page | ☆★ All my links ★☆
[Allanon] Fabio Falcucci | GitHub (leaving) | Gitea (my new house) | My Patreon page | ☆★ All my links ★☆
Re: OpenURL() function under Windows
Okay, I'll have to take a look.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
http://myevolve.wordpress.com
Re: OpenURL() function under Windows
I have problems on xp pro sp2 too with urlopen.
I made this workaround and it works even on win7.
("localhost" is th url)
I made this workaround and it works even on win7.
("localhost" is th url)
Code: Select all
x=GetVersion()
If x.platform="Win32"
Run (ReplaceStr(ReadRegistryKey(#HKEY_CLASSES_ROOT,"http/shell/open/command/"),"%1","localhost"))
Else
OpenURL("localhost")
EndIf
- airsoftsoftwair
- Posts: 5933
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: OpenURL() function under Windows
OpenURL() is not really designed to handle URLs like "localhost". It expects http:// style URLs... if it really doesn't work with a http:// style URL, let me know 
Re: OpenURL() function under Windows
It seems that it isn't so trusty. Sometimes just don't work, but after a reboot it works again.
Can't see how I could be more helpful
(Of course changed to http:// style)
Can't see how I could be more helpful
(Of course changed to http:// style)
- airsoftsoftwair
- Posts: 5933
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: OpenURL() function under Windows
Hmm, strange. Is it clearly reproducable on your system? Then we could do some tests.
Re: OpenURL() function under Windows
Unfortunately no. I don't use regularly windows, so can't help currently.