Google Chrome Problem
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Google Chrome Problem

  1. #1
    Join Date
    Aug 2003
    Location
    Sydney, Australia
    Posts
    1,853

    Google Chrome Problem

    I have previously been able to launch a web page via VB6 with the following code

    Code:
            ShellExecute Me.hwnd, "Open", "http://www.intelemarketing.com.au/demo.htm", vbNullString, "C:\", 1
    Previously Internet Explorer would open up and I would see the page

    Somehow Google chrome has now become my preferential browser and now it doesnt work - I get the result - "Website has become unresponsive - Kill Pages OR Wait"

    (Neither of these options work)

    Is there a different sequence required when launching Google chrome Browser

    Which also asks a question -

    What is my default browser ?

    Thanks for any ideas

  2. #2
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008
    Location
    WV
    Posts
    4,813

    Re: Google Chrome Problem

    Sounds like google chrome is set as the default. Is simple enough to change it to a different browser.
    Always use [code][/code] tags when posting code.

  3. #3
    Join Date
    Aug 2003
    Location
    Sydney, Australia
    Posts
    1,853

    Re: Google Chrome Problem

    Correct - Chrome is

    What has me concerned is that the website link is passed correctly to the address bar in Chrome, but it is still giving the error

    I will change back to Internet Explorer as the default but it still doesn't explain why I have the problem

    Perhaps I should send a question to Google

    Or even more radically, GOOGLE for a possible answer !!!!!!

    Thanks (Cheers)

  4. #4
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,960

    Re: Google Chrome Problem

    Google worked...
    Code:
    shell("C:\Users\USERNAME\AppData\Local\Google\Chrome\Application\Chrome.exe -url http:google.ca")
    http://stackoverflow.com/questions/5...from-vba-excel
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center