-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: jackforhelp
Message 1 in Discussion

Hi, i want to create a doc  file and show all the records in the doc file m in tha 
database there are address of all the members. I want to display in word file  i am 
using below folowing method but the problem is it doesn't take HtML tags suppose i 
define name of all the members bold  .......... i used following method...the line i  
am  trying to write i want it to be bold but shows as it is tht is  "<B> "then dispays 
the text</B> its doesn't show Bold  instead it displays "<B>" tag   plz if u know 
reply ASAP.   Thanks in advance   Rocky    
'NameSpace required to be imported to work with files 
Dim fs As New FileStream("d:\file.doc", FileMode.Create, FileAccess.Write) 
'declaring a FileStream and creating a word document file named file with access mode 
of writing 
Dim s As New StreamWriter(fs) 
'creating a new StreamWriter and passing the filestream object fs as argument 
s.Write(("<B>This is an example of using file handling concepts in VB NET.</B>") 
s.WriteLine("This concept is interesting.") 
'writing text to the newly created file 
s.Close() 
'closing the file  

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to