Results 1 to 4 of 4

Thread: [RESOLVED] Popup - Webbrowser Help

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2009
    Posts
    968

    Resolved [RESOLVED] Popup - Webbrowser Help

    Im using a php/html file to display the latest thread that is posted on a particular forum. All the webpage displays is one single link.

    The visual basic app that im creating is a popup to let members know that theres a new thread posted.

    Ive got form1 and a webbrowser control in it, when the app pops up it displays this one single link (the link is clickable) in the webbrowser control. Is there anyway to make that link "a non clickable link" ?

    Because if the link is clickable it just opens up the page within the webbrowser which i dont want. I want to add my own buttons to re-direct the link.

    Or maybe is it possible to disable the webbrowser control so the user cannot interact with it ?


  2. #2
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: Popup - Webbrowser Help

    Remove the href attribute of the link and it will be not clickable.
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2009
    Posts
    968

    Re: Popup - Webbrowser Help

    Ive tried that i think , here the php line of code that displays the link:
    PHP Code:
    $list '';
        while(
    $fetch mysql_fetch_array($query))
        {
            
    $list .= "<strong><a href=http://www.mysite.com/showthread.php?tid={$fetch['tid']}\">".htmlspecialchars_uni($fetch['subject'])."</a></strong><br />"

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2009
    Posts
    968

    Re: Popup - Webbrowser Help

    Ok ive got it:

    PHP Code:
    $list '';
        while(
    $fetch mysql_fetch_array($query))
        {
            
    $list .=  "".htmlspecialchars_uni($fetch['subject'])."</a><br />"
    Thanks guys

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