Results 1 to 8 of 8

Thread: example VB.NET webbrowser???

  1. #1

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    example VB.NET webbrowser???

    guys, I can't find a vb.net webbrowser example ?I looked up the web but seems all deals with vb6
    anyone got such example plz

  2. #2
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    Through COM Interop, you can use the same control as you did in VB6. The code will be exactly alike, except for the .net syntax changes.

  3. #3

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I am in making my own broswer but faced many problems dealing with download progress , resizing the controls that I couldn't figure out! so I need to start over.
    thanx for the reply.

  4. #4
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    I still don't understand what problems you had with resizing. I have a webbrowser in my app, and just use the standard anchoring. For some reason I have had no problems, but you have. Maybe there is something that I did slightly different. I didn't have to write any resize code for it to work. I wrote the app in C#, but that shouldn't make a difference.

  5. #5

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    the webbrowser control overrides the vertical and horizntal scroll bars ? the other problem , how to show the progress of the page on the status bar. That's all
    I would appreciate it if anyone helps.

  6. #6
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    well that happened me once too...u'll have to hard-code the resize engine and put to resize to webbrowser.width and height + some thing that is what u'll have to discover
    \m/\m/

  7. #7
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Ok, this is a very simple example of how to use the web browser control and anchoring. Like I said, I didn't have the same problems as you have... Are you using docking? Cause that will mess some things up.
    Attached Files Attached Files

  8. #8

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    thanx guys for these tips.I guess I have to build my proj from scratch and see what it ends up with.

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