HTML report in VB 6.0
-
Hi To all, can Anyone give me example of code to generate a html report in Vb 6.0 . Thanks In Advance manoj
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,
-
Hi To all, can Anyone give me example of code to generate a html report in Vb 6.0 . Thanks In Advance manoj