CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2001
    Posts
    11

    Integrating HTML

    What if we wanted to include a sniplet of code, say a banner linking to the program's website.
    or just plain HTML formating in a frames

    What should we do?

    Thanks in advance


  2. #2
    Join Date
    Sep 2000
    Location
    Ottawa, Ontario
    Posts
    356

    Re: Integrating HTML

    For a banner just make a picturebox that contains the banner and then in the On_Click() event put this code in

    Dim lSuccess as Long
    lSuccess = ShellExecute(Me.hwnd, "Open", "http://yoursite.com", 0&, 0&, SW_SHOWDEFAULT)

    This will cause the default broswer to open to your url. If you want to embed html code you need to use the internet explorer ocx.

    Jean-Guy


  3. #3
    Join Date
    Jun 2001
    Posts
    11

    Re: Integrating HTML

    thanks guy
    so what if i wanted to embed HTML using internet explorer.ocx

    how do i do that?
    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

Featured