Page 1 of 1
OpenURL() function under Windows
Posted: Mon Dec 03, 2012 11:21 pm
by djrikki
Hello,
OpenURL() does nothing on my Windows XP or Windows 7 machine. Does Windows require third-party components of some sort?
Re: OpenURL() function under Windows
Posted: Tue Dec 04, 2012 11:39 am
by djrikki
Surprised to see it run under Windows 8 (!).. same behaviour.
Re: OpenURL() function under Windows
Posted: Tue Dec 04, 2012 4:03 pm
by fingus
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
Posted: Tue Dec 04, 2012 4:49 pm
by Allanon
Here on Windows7 and Vista no problems at all,
OpenURL() runs fine
Re: OpenURL() function under Windows
Posted: Tue Dec 04, 2012 6:11 pm
by djrikki
Okay, I'll have to take a look.
Re: OpenURL() function under Windows
Posted: Thu Dec 06, 2012 11:40 am
by lazi
I have problems on xp pro sp2 too with urlopen.
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
Re: OpenURL() function under Windows
Posted: Fri Dec 07, 2012 10:31 pm
by airsoftsoftwair
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
Posted: Tue Jan 08, 2013 10:59 pm
by lazi
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)
Re: OpenURL() function under Windows
Posted: Thu Jan 10, 2013 12:04 pm
by airsoftsoftwair
Hmm, strange. Is it clearly reproducable on your system? Then we could do some tests.
Re: OpenURL() function under Windows
Posted: Sun Jan 13, 2013 9:34 am
by lazi
Unfortunately no. I don't use regularly windows, so can't help currently.