Click here to Skip to main content
15,905,679 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: how do you set an item to be selected in the combobox in vb6? Pin
bonosa14-Dec-05 15:06
bonosa14-Dec-05 15:06 
Questionmodifying dll Pin
uktrips00712-Dec-05 0:06
uktrips00712-Dec-05 0:06 
AnswerRe: modifying dll Pin
Gerben Jongerius13-Dec-05 4:16
Gerben Jongerius13-Dec-05 4:16 
Questionerror in regenerating pdb file Pin
uktrips00711-Dec-05 20:40
uktrips00711-Dec-05 20:40 
AnswerRe: error in regenerating pdb file Pin
Dave Kreskowiak12-Dec-05 5:48
mveDave Kreskowiak12-Dec-05 5:48 
JokeRe: error in regenerating pdb file Pin
uktrips00713-Dec-05 0:03
uktrips00713-Dec-05 0:03 
QuestionHTML report in VB 6.0 Pin
tusar12311-Dec-05 20:15
tusar12311-Dec-05 20:15 
AnswerRe: HTML report in VB 6.0 Pin
uktrips00711-Dec-05 20:33
uktrips00711-Dec-05 20:33 
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 Blush | :O



try to be the best... whereever you go,
AnswerRe: HTML report in VB 6.0 Pin
MarcelErz12-Dec-05 4:32
MarcelErz12-Dec-05 4:32 
QuestionPrinting with vb.net (Urgent) Pin
HemaRawat11-Dec-05 20:06
HemaRawat11-Dec-05 20:06 
AnswerRe: Printing with vb.net (Urgent) Pin
uktrips00711-Dec-05 20:53
uktrips00711-Dec-05 20:53 
GeneralRe: Printing with vb.net (Urgent) Pin
HemaRawat11-Dec-05 21:05
HemaRawat11-Dec-05 21:05 
GeneralRe: Printing with vb.net (Urgent) Pin
uktrips00711-Dec-05 23:16
uktrips00711-Dec-05 23:16 
AnswerRe: Printing with vb.net (Urgent) Pin
Briga12-Dec-05 1:37
Briga12-Dec-05 1:37 
GeneralRe: Printing with vb.net (Urgent) Pin
HemaRawat12-Dec-05 17:33
HemaRawat12-Dec-05 17:33 
QuestionTooltip for datagridview Pin
LongNguyen11-Dec-05 18:52
LongNguyen11-Dec-05 18:52 
AnswerRe: Tooltip for datagridview Pin
uktrips00711-Dec-05 21:02
uktrips00711-Dec-05 21:02 
QuestionRe: Tooltip for datagridview Pin
LongNguyen11-Dec-05 22:25
LongNguyen11-Dec-05 22:25 
QuestionSound Pin
Polymorpher11-Dec-05 17:57
Polymorpher11-Dec-05 17:57 
AnswerRe: Sound Pin
Briga11-Dec-05 22:40
Briga11-Dec-05 22:40 
GeneralRe: Sound Pin
Polymorpher13-Dec-05 15:42
Polymorpher13-Dec-05 15:42 
QuestionCreating windows service in vb.net Pin
tusar12311-Dec-05 17:40
tusar12311-Dec-05 17:40 
AnswerRe: Creating windows service in vb.net Pin
Steve Pullan11-Dec-05 17:46
Steve Pullan11-Dec-05 17:46 
Questionpassword setting ...for pocket pc Pin
eileenpp11-Dec-05 16:16
eileenpp11-Dec-05 16:16 
QuestionCommon Language Runtime Debugging Services(error) Pin
Mazitan11-Dec-05 15:43
Mazitan11-Dec-05 15:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.