Penisaurus Posted April 7, 2010 Share Posted April 7, 2010 So, I understand ShellExecute, and I've used it before. I've used it to open web URL's before, but now it's not working.It gives me this error if I try any link.I'm not really sure what the problem is.Can someone help. Link to comment Share on other sites More sharing options...
electrico Posted April 7, 2010 Share Posted April 7, 2010 (edited) Hi. 1) You must post a piece of code that contains your problem. 2) You can use Run (@ProgramFilesDir & "\Internet Explorer\" & "iexplore.exe " & "http://www.google.com") 3) ShellExecute can run everything that is already declared as system path - take "Start -> Run", type: "cmd /k set" and get info about it. (You can change these paremeters, but be careful with these settings) 4) Also may be the default browser settings are deleted at all from the registry, so system cannot find the default browser to launch the page your want with ShellExecute. Edited April 7, 2010 by electrico Link to comment Share on other sites More sharing options...
EndFunc Posted April 8, 2010 Share Posted April 8, 2010 So, I understand ShellExecute, and I've used it before. I've used it to open web URL's before, but now it's not working.It gives me this error if I try any link.I'm not really sure what the problem is.Can someone help.I also saw this problem in an app of mine. Then then a second later it opened. Are you running FireFox? It only did it when FF was the default browser and it had to do one it its numerous updates before it opened the page. EndFuncAutoIt is the shiznit. I love it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now