Jump to content

Recommended Posts

Posted (edited)

If I use the ShellExecute() function to access a URL, it opens IE and directs the browser to the page. This method seems to work flawlessly, but I was wondering whether it would be better to open the link using a different method, or if there is a preferred method? If anyone can advise me on this, I'd be grateful. Thanks.

Edited by czardas
Posted (edited)

Thanks JohnOne, I know these alternatives, but I don't need to do anything other than access an online resource, which is just a page link (for now at least). I wanted to know if there was anything wrong with using ShellExecute(). If not, then I think I'd prefer it. You have more experience with IE functions because I hardly ever use them. It appears to me that UDF functions are not really needed for such simple a task.

Edited by czardas
Posted (edited)

It's not a web application, so the default browser would be best. The message will suggest the user opens the link in their default browser by clicking a button, if they are missing a particular resource. Go and download it. Thanks for the tips. :)

Edited by czardas
Posted

  On 1/6/2013 at 12:09 AM, 'JohnOne said:

You could use IE.udf or Run("Pathtobrowser.exe www.website.ext")

So long as the browser supports a URL being passed as a commandline parameter. Haven't come across a major browser not supporting this as of yet.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

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
×
×
  • Create New...