a couple vis. web developer queastions

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

I've got Visual Web Developer 2005 express. Is there a rich textbox
object anywhere? where?

I use a streamwriter to write a file, is there a way after I write
and save the file I can then print the file as well?

here is what I am doing, just to write the file, but I would like my
program to automatically print the file after it writes it:

Using sw As IO.StreamWriter = New IO.StreamWriter("c:\Form.doc")
sw.WriteLine("")
sw.WriteLine("")
sw.WriteLine("MYForm")
sw.WriteLine("=====================")
sw.WriteLine("Name: " & txtName.Text)
sw.WriteLine("Address1: " & txtAddress.Text)
sw.WriteLine("Address2: " & txtAddress2.Text)
sw.WriteLine("City: " & txtCity.Text)
sw.WriteLine("State: " & txtState.Text)
sw.WriteLine("Zip Code: " & txtZipCode.Text)
sw.WriteLine("Telephone: " & txtTelephone.Text)

thanks
 
I've got Visual Web Developer 2005 express. Is there a rich textbox
object anywhere? where?

FreeTextBox is quite good.
I use a streamwriter to write a file, is there a way after I write
and save the file I can then print the file as well?

Yes, but you'll need additional code. Are you printing to the server or
the client PC?
 
Back
Top