Results 1 to 19 of 19

Thread: Webbrowser Control Hung On Specific Page :(

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Exclamation Webbrowser Control Hung On Specific Page :(

    Greetings everyone ..

    hope all are fine on this forum.

    i am facing a wired issue..

    am i tiring to load a page in web browser control but it goes hung for few sec 10-25sec then it get ready/loads..
    but in Firefox the page loaded instantly..

    can any one tell me where is the issue?

    i have attached the web page that i trying...

    thanks in advance for upcoming help..

    best regards
    Attached Files Attached Files

  2. #2
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    4,060

    Re: Webbrowser Control Hung On Specific Page :(

    What is your Internet Explorer and Windows version (plus service packs, if any)? Can you post the code you're using to load that web page? What's the URL for that site? What else do you think we should know about your problem so that a quick solution can be proposed?
    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Re: Webbrowser Control Hung On Specific Page :(

    Quote Originally Posted by Bonnie West View Post
    What is your Internet Explorer and Windows version (plus service packs, if any)? Can you post the code you're using to load that web page? What's the URL for that site? What else do you think we should know about your problem so that a quick solution can be proposed?
    thanks for your reply
    my os is winddows xp sp3

    no code..
    just try with webbrowser.navigate "the full path for that html file" and you will see what is the problem..

    i hope i m clear..

    best regards

  4. #4
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    4,060

    Re: Webbrowser Control Hung On Specific Page :(

    I tried your HTML file on a WebBrowser control that uses IE v8 and it didn't hang while loading your file. I'm sorry, I could not replicate your issue...
    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Re: Webbrowser Control Hung On Specific Page :(

    Quote Originally Posted by Bonnie West View Post
    I tried your HTML file on a WebBrowser control that uses IE v8 and it didn't hang while loading your file. I'm sorry, I could not replicate your issue...
    by hung i means it not responsive..

    after pass the navigate url it seems that the page loaded instantly but you can't interact with that page and it will take some time before you interact with that page.

    i hope i m clear..
    best regards

  6. #6
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    4,060

    Re: Webbrowser Control Hung On Specific Page :(

    Quote Originally Posted by Shohag_ifas View Post
    ... but you can't interact with that page and it will take some time before you interact with that page.
    Perhaps it may have something to do with the value of input name="javax.faces.ViewState".
    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Re: Webbrowser Control Hung On Specific Page :(

    Quote Originally Posted by Bonnie West View Post
    Perhaps it may have something to do with the value of input name="javax.faces.ViewState".
    any help please?

  8. #8
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    4,060

    Re: Webbrowser Control Hung On Specific Page :(

    Unfortunately, I don't know JavaScript and I've also run out of ideas, so I'm sorry I can't be of more help...
    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Re: Webbrowser Control Hung On Specific Page :(

    Quote Originally Posted by Bonnie West View Post
    Unfortunately, I don't know JavaScript and I've also run out of ideas, so I'm sorry I can't be of more help...
    thanks a lot and it's completely ok.. as you already tried enough

    any help from anyone else please?

    best regards

  10. #10

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Re: Webbrowser Control Hung On Specific Page :(

    please anyone help me out as i m stuck on my project..

    thanks in advance

    best regards

  11. #11

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Re: Webbrowser Control Hung On Specific Page :(

    hello?

  12. #12
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Webbrowser Control Hung On Specific Page :(

    Quote Originally Posted by Shohag_ifas View Post
    hello?
    Perhaps it is something in your code that is causing problems since Bonnie couldn't replicate the problem. Could you either please upload the project or code here so we can see it for ourselves rather than having to guess as to what you might have done to cause the problem.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  13. #13

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Question Re: Webbrowser Control Hung On Specific Page :(

    Quote Originally Posted by Nightwalker83 View Post
    Perhaps it is something in your code that is causing problems since Bonnie couldn't replicate the problem. Could you either please upload the project or code here so we can see it for ourselves rather than having to guess as to what you might have done to cause the problem.
    hi, sir, where have you been? i was expecting your presence
    however sir, it's nothing to do with code, but still as you asked for.. here is the code.. (attached)

    1. in the source click on "11" button. IT seems that the page is loaded instantly but try to interact with the page.. you see you can't because it goes hung for few sec i hope i m clear.. sorry for my bad English

    please check out and leave a reply asap..

    once again thanks in advance for your presence and also for upcoming help
    best regards
    Attached Files Attached Files

  14. #14
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Webbrowser Control Hung On Specific Page :(

    I am thinking that it might be a problem with the web browser control itself. Yes, I see what you mean about it is not the code causing the problem.

    vb Code:
    1. WebMain.Navigate App.Path & "\HTML\UK Border Agency _ Apply online _ Select an appointment.htm"

    I was thinking you were using over complicating code. After pressing the "11" commandbutton do you receive a popup box?
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  15. #15

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Re: Webbrowser Control Hung On Specific Page :(

    Quote Originally Posted by Nightwalker83 View Post
    I am thinking that it might be a problem with the web browser control itself. Yes, I see what you mean about it is not the code causing the problem.

    vb Code:
    1. WebMain.Navigate App.Path & "\HTML\UK Border Agency _ Apply online _ Select an appointment.htm"

    I was thinking you were using over complicating code. After pressing the "11" commandbutton do you receive a popup box?
    yes just common java script error dialong and that's not the issue

    because i can skip that error.. but still the problem is there

    i hope i m clear..

    even sir, if you try just to lunch that webpage in your IE browser i think same problem also there (at least in my case)

    and also if you run/open that page in FF (firefox) you will notice that it run smoothly as it should

    would you please check?

    and also.. any solution please to that problem?

    however thanks again for your reply

    best regards

  16. #16
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    4,060

    Re: Webbrowser Control Hung On Specific Page :(

    I've tried your attachment and I can't find anything wrong with the code nor did the WebBrowser control hang at any point.

    You haven't mentioned yet the version of your Internet Explorer. Can you clarify that? Have you tried running your program in another computer? If so, what is the version of IE used there? There might be something broken with your IE installation or configuration. Have you tried upgrading to the highest supported IE version of your OS?

    In case you didn't know yet, you can suppress the JavaScript error dialog boxes by setting the WebBrowser's Silent property to True.
    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

  17. #17

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Re: Webbrowser Control Hung On Specific Page :(

    Quote Originally Posted by Bonnie West View Post
    I've tried your attachment and I can't find anything wrong with the code nor did the WebBrowser control hang at any point.

    You haven't mentioned yet the version of your Internet Explorer. Can you clarify that? Have you tried running your program in another computer? If so, what is the version of IE used there? There might be something broken with your IE installation or configuration. Have you tried upgrading to the highest supported IE version of your OS?

    In case you didn't know yet, you can suppress the JavaScript error dialog boxes by setting the WebBrowser's Silent property to True.
    thanks again for your reply.
    1. You haven't mentioned yet the version of your Internet Explorer.?
    ans: it is IE 8

    2. Have you tried running your program in another computer?
    ans: yes my client use windows 7 os and he facing the same problem too

    3: There might be something broken with your IE installation or configuration.?
    ans: i don't think so, and i also told that, site seems to loaded instantly but you cant use that page (like scroll down etc) , you can't. And few days ago you replied that you facing the same error and now not ? how? Please see post number #6

    4: and also check sir, "Nightwalker83" reply (post number #14) he faced the same error:

    5. and if you don't mind can you send me a email so, we can do teamviwer session so, i can show you what is the eror is?

    thanks again for your kind reply

    best regards

  18. #18
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    4,060

    Re: Webbrowser Control Hung On Specific Page :(

    Quote Originally Posted by Shohag_ifas View Post
    ans: i don't think so, and i also told that, site seems to loaded instantly but you cant use that page (like scroll down etc) , you can't. And few days ago you replied that you facing the same error and now not ? how? Please see post number #6
    I suppose you misunderstood me, but I never said your HTML file made my WebBrowser hang. I just can't reproduce the hanging issue you're experiencing on my computer. Sorry.

    Have you seen the contents of that file? The value after the input name="javax.faces.ViewState" looks suspicious to me. But since I don't know JavaScript, I can't be sure if that's causing the problem for you.

    Quote Originally Posted by Shohag_ifas View Post
    5. and if you don't mind can you send me a email so, we can do teamviwer session so, i can show you what is the eror is?
    Sorry, I don't have or know what teamviewer is.
    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

  19. #19
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Webbrowser Control Hung On Specific Page :(

    Quote Originally Posted by Bonnie West View Post
    Sorry, I don't have or know what teamviewer is.
    This is Team Viewer.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width