Results 1 to 10 of 10
  1. #1
    5 Star Lounger
    Join Date
    May 2001
    Location
    Patterson Lakes, Melbourne, Victoria, Australia
    Posts
    636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    My default browser is Firefox. But I want to open a particular web site in IE using FollowHyperlink. I can open IE using FollowHyperkink, but appending the web address stopped IE even loading.
    There is a shortcut on my desktop that opens the web page in IE, but transferring that to FollowHyperlink didn't work.
    The Desktop shortcut target is:
    "C:\Program Files\Internet Explorer\iexplore.exe" https://xplan2.iress.com.au/riaa.
    I tried this with and without quotes.
    Regards,
    Peter

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    Try using the Shell instruction:

    Shell "C:\Program Files\Internet Explorer\iexplore.exe https://xplan2.iress.com.au/riaa"

  3. #3
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts
    I'm not sure what your problem is, but I don't think it is Firefox. I can open a link from my application using the FollowHyperlink method, and I use Firefox.
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    [quote name='MarkLiquorman' post='798755' date='19-Oct-2009 14:07']I'm not sure what your problem is, but I don't think it is Firefox. I can open a link from my application using the FollowHyperlink method, and I use Firefox.[/quote]
    Peter wants to open a website in Internet Explorer while his default browser is Firefox.
    FollowHyperlink will open a website in the default browser, so he needs something else to open it in IE.

  5. #5
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts
    [quote name='HansV' post='798760' date='19-Oct-2009 08:33']Peter wants to open a website in Internet Explorer while his default browser is Firefox.
    FollowHyperlink will open a website in the default browser, so he needs something else to open it in IE.[/quote]
    I took what he said to mean that he could open the link using IE, but couldn't using Firefox.
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

  6. #6
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    [quote name='MarkLiquorman' post='798762' date='19-Oct-2009 14:38']I took what he said to mean that he could open the link using IE, but couldn't using Firefox.[/quote]
    Let's wait and see how Peter reacts...

  7. #7
    5 Star Lounger
    Join Date
    May 2001
    Location
    Patterson Lakes, Melbourne, Victoria, Australia
    Posts
    636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [quote name='HansV' post='798718' date='19-Oct-2009 16:59']Try using the Shell instruction:

    Shell "C:\Program Files\Internet Explorer\iexplore.exe https://xplan2.iress.com.au/riaa"[/quote]
    Thanks all.
    I have the web addresses in a table and use FollowHyperlink to go to an address when it is selected in a combo box. Some of the web addresses we have to use will only work 100% using IE. For those sites I was trying to use FollowHyperlink to open IE (instead of my default browser - Firefox), and go to the web address. The idea of using Shell is great, but I would need to have another field in the table to act as a key to use Shell instead of FollowHyperlink. Of course I would rather use the same technique for all, but if that's not possible, then Shell will do.
    Actually, no I wouldn't would I? I only need to test for the string 'iexplore', then use Shell if it exists.
    If you can think of a neater way to do it, let me know. If not then big thanks all round.
    Regards,
    Peter

  8. #8
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    The easiest option would be to use Shell to open ALL the web addresses in Internet Explorer.

    Otherwise, if it's OK to include C:\Program Files\Internet Explorer\iexplore.exe in the address field for those websites that need Internet Explorer, you can use a simple If statement to determine whether to use Shell or FollowHyperlink.

    If you prefer to store only the web addresses in the adress field, you could add a Yes/No field UseIE to the table and set it to Yes for websites that need Internet Explorer. The If statement would test the value of UseIE to determine whether to use Shell or FollowHyperlink.

  9. #9
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts
    I'm assuming that when you say "Some of the web addresses we have to use will only work 100% using IE" that you can open any of the websites using Firefox and the FollowHyperlink method, but they just might not render properly. I'd continue to store the website the way it is, and either use the SHELL function to use IExplore to open all websites, or include a new "MustUseIE" checkbox in your table and then open the website using FollowHyperLink (Firefox) or Shell (using IE).
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

  10. #10
    5 Star Lounger
    Join Date
    May 2001
    Location
    Patterson Lakes, Melbourne, Victoria, Australia
    Posts
    636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [quote name='HansV' post='798997' date='21-Oct-2009 00:42']The easiest option would be to use Shell to open ALL the web addresses in Internet Explorer.

    Otherwise, if it's OK to include C:\Program Files\Internet Explorer\iexplore.exe in the address field for those websites that need Internet Explorer, you can use a simple If statement to determine whether to use Shell or FollowHyperlink.

    If you prefer to store only the web addresses in the adress field, you could add a Yes/No field UseIE to the table and set it to Yes for websites that need Internet Explorer. The If statement would test the value of UseIE to determine whether to use Shell or FollowHyperlink.[/quote]
    Problem with Shell is that it opens a new instance of IE every time, whereas FollowHyperlink just opens a new tab.
    Testing for the existence of the string 'iexplore', and using Shell if it exits works beautifully.
    Thanks guys, as usual you're v knowledgeable.
    Attached Images Attached Images
    Regards,
    Peter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •