Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. HTML report in VB 6.0

HTML report in VB 6.0

Scheduled Pinned Locked Moved Visual Basic
htmltutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tusar123
    wrote on last edited by
    #1

    Hi To all, can Anyone give me example of code to generate a html report in Vb 6.0 . Thanks In Advance manoj

    U L 2 Replies Last reply
    0
    • T tusar123

      Hi To all, can Anyone give me example of code to generate a html report in Vb 6.0 . Thanks In Advance manoj

      U Offline
      U Offline
      uktrips007
      wrote on last edited by
      #2

      Dear tusar123 the best way to export ur report in html file is to create an html file and create table store ur data. but while saving u must save it with .html extension.use the following code to create a file and open it in word format. code for writing in data imports system.io dim fname as string dim ofile as filestream dim owriter as streamwriter fname = "search.html" ofile = New FileStream(fname, FileMode.Create, FileAccess.Write) owriter = New StreamWriter(ofile) owriter.write("ur html code goes here") owriter.close owriter=nothing ofile=nothing code for opening it in web browser System.Diagnostics.Process.Start("search.html") I've tried it in vb.net.try same way in vb. Happy Programming;P Thanks n Regards Uttam Kumar :-O try to be the best... whereever you go,

      1 Reply Last reply
      0
      • T tusar123

        Hi To all, can Anyone give me example of code to generate a html report in Vb 6.0 . Thanks In Advance manoj

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        WHat do you mean by report? A html document? please give me more details to help you!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups