Sign in to follow this  
Followers 0
Penisaurus

ShellExecute

3 posts in this topic

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.

Posted Image

I'm not really sure what the problem is.

Can someone help.

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by electrico

Share this post


Link to post
Share on other sites

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.

Posted Image

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0