Create a report in an .HTML file?

  • Thread starter Thread starter stripes
  • Start date Start date
S

stripes

Guest
I have a simple .NET Visual Basic program which creates a report in a .TXT file. Id really like to create it in an .HTML file which could be loaded to the web. Any suggestions on what I would do differently?

Thanks for the help.
 
You wouldnt have to do anything differently, except when writing
to the file you would have to add tags around all your data to
format it to your liking. I suggest you plan out a page with some
fake data, then move it over to your code. Writing to an HTML file is
exactly the same as writing to a text file, since an HTML file IS text.

Be sure to use the stream classes in the System.IO namespace for
file output and input.
 
Bucky - thanks for the guidance. Im not familiar enough with .net to understand what the "System.IO namespace" is. Where can I find more info on it?
 
Assuming you have the .NET Framework SDK help files installed,
browse on over to this page for information on file input and output.

ms-help://MS.NETFrameworkSDK/cpguidenf/html/cpconworkingwithio.htm
 
Back
Top