DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2005

    Windows form ( VB.NET ) with web Control


    I like to have some help with how to display HTML data page inside a vb.net windows application . I am trying to generate a report and show that in the web control on my vb.net windows form . I have added a COM web control to the form . I like to to use a SQL Server stored procedure to get the data and use HTML control to create the format for the report which will be displayed into the web control . When user click a button on the form the report will display in the Web control . How to do that .


  2. #2
    Join Date
    Aug 2005
    I don't know if you've already tried this but here goes: You can add a webpage browser by right clicking on the Windows form on the toolbox and selecting "add/remove items". A dialog box will appear and you'll want to locate the COM Components tab. Click that tab and find the Microsoft Web Browser and then select it. You'll then be able to add this to your form. Add the web browser to your form and then manipulate it in a button click event.

    Here's some example code:

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    WebBrowser.Navigate("insert a url or text with location here for the webbrowser to naviagate to")
    End Sub

Similar Threads

  1. Web form first control
    By Stephen Russell in forum .NET
    Replies: 1
    Last Post: 04-24-2003, 05:46 AM
  2. control position of web form in browser
    By John A Grandy in forum .NET
    Replies: 3
    Last Post: 07-06-2002, 11:45 PM
  3. New Web Form control for on-the-fly data retrieval
    By David Campbell in forum dotnet.announcements
    Replies: 0
    Last Post: 05-09-2002, 07:06 AM
  4. ActiveX control on Web Form?
    By Scott Sampson in forum ASP.NET
    Replies: 0
    Last Post: 05-25-2001, 12:10 AM
  5. getting the name of the application that contains my control
    By Floyd McDonald in forum VB Classic
    Replies: 1
    Last Post: 03-30-2001, 02:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.