Results 1 to 8 of 8

Thread: Web Browser Control?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Location
    Perth - Australia
    Posts
    105

    Web Browser Control?

    Greetings,

    I was wondering how i would get the same effect in VB.NET as the web browser control in VB6?

    Essentially what i want to do is:

    Have a "text box" (or web browser control) to display a html page that is located locally...

    Any help would be greatly appreciated

    Thanks

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Your stuck using the same old COM component as you did in VB6. They didn't include a .Net version yet. You can get it by right-clicking in your toolbox, and selecting Customize Toolbox...

    On the COM tab, you will find it. Check the box next to it, and it will be added to your toolbox.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Location
    Perth - Australia
    Posts
    105
    thanks for the info

    However, i get this error when i add the web browser:

    An unhandled exception of type 'System.ExecutionEngineException' occurred in mscorlib.dll
    Any ideas?

    Thanks

  4. #4
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    i can't seem to find the control. I had to browse to that dll but it didn't add anything to my toolbox. Is it supposed to? I was expecting some kind of interface to place IN the form and it displays the internet explorer. Is this not what it does?

  5. #5
    Frenzied Member dynamic_sysop's Avatar
    Join Date
    Jun 2003
    Location
    Ashby, Leicestershire.
    Posts
    1,142
    you dont need to browse to it thephantom, if you right-click your toolbox , click customize, in the box that opens , scroll down the list till you see Microsoft Internet Control , thats what you need to get webbrowser for your forms.
    ~
    if a post is resolved, please mark it as [Resolved]
    protected string get_Signature(){return Censored;}
    [vbcode][php] please use code tags when posting any code [/php][/vbcode]

  6. #6
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    hmm. I did that and all i found was a microsoft internet TRANSFER control. it simply places a button-like control on the forms. Not the same, huh? where at on microsoft's web-site can we all download the common and not-so-common controls?

  7. #7
    Frenzied Member dynamic_sysop's Avatar
    Join Date
    Jun 2003
    Location
    Ashby, Leicestershire.
    Posts
    1,142
    if you use InternetExplorer , you must have the microsoft webbrowser control in the list here's a screenshot of where it usually is ....
    ~
    if a post is resolved, please mark it as [Resolved]
    protected string get_Signature(){return Censored;}
    [vbcode][php] please use code tags when posting any code [/php][/vbcode]

  8. #8
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    yeahhhhh. that works!! thanks!

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