Results 1 to 5 of 5

Thread: WebControl Control? -- Always greyed out???

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Location
    Toronto, Ontario
    Posts
    12

    WebControl Control? -- Always greyed out???

    Hi everyone

    The company I work for is attemtping to upgrade our current application from VB6 to VB .NET.

    In my old app, we use the VB6 web browser control to display data.

    I'm thinking of using the same methods to display data but want to know what the equivalent of the MS Web Control is from VB6 to VB .NET.

    I don't want to use the COM VB6 control because I believe all the problems I had with the old control will be ported over to the new app. I found a WebControl control (This controls seems inherent in the .NET framework controls. I added it by adding an item/component from right clicking in the toolbox), but it is always greyed out? Any idea how I can use this control and is it similar to the Web Browser control of VB6?

    Am I on the right track? I am a VB .NET newbie, so please keep the flaming to a minimum.

    Thanks.
    Last edited by hshot_rooke; Jul 13th, 2004 at 11:19 AM.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    I do not believe that there is a web browser control in VB.NET (This came up in a thread a few days ago).

    You don't want to use the existing COM control.

    Perhaps you should work with IE then.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    And what's always grayed out? Maybe you're talking about the ASP.NET controls on the left hand side in VS.NET?

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Location
    Toronto, Ontario
    Posts
    12
    This is the process I went about.

    Created a new .NET windows application from VB .NET.

    Added (customize toolbox) a new item/component by right clicking on the toolbox and finding:

    .NET framework components tab - WebControl

    The item shows up in the toolbox but is always grayed out.

    From what I could find it seems as though this item is some sort of base class to derive other classes from. If so, why does it show up in the toolbox?

  5. #5
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    You can only use it in WebProjects
    \m/\m/

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