Export from vb.net to word or something simular..

Restinpeaces

New member
Joined
Aug 2, 2007
Messages
1
Programming Experience
Beginner
Hello everyone,

I'm working on a program, and i'm rather stuck at the moment..

I'm making a program with Visual Studio 2005 - VB.Net, but i'm rather stuck
at the moment...

It's a program where you have to write your name and such in normal textboxes, then go to the next page where you click on an item in a datagridview, after that some other stuff too, but it's basicly the same thing.

When that's done, i should get an overview of everything that i wrote in the textboxes and selected in the datagridview in a nice layout
(nice layout = some parts should be aligned to the left, some right, some words should be underlined, etc)

So far i managed to put everything in a normal multilined textbox and use "controlchars.newline" & "controlchars.tab" a lot..

But i was hoping there was a better way to do this because this isn't too great..

I was thinking about using a richTextBox, but i don't know if you can underline or align words with a command.. I've read that you can for ex. align a part of the text, but you have to select the text first.. And that isn't what I need.

Then i was thinking that there might be a way to open a MS Word file (2003 or 2007) and copy the stuff that i have, into that word file.. But i'm not sure if that's posible..

I really hope that some1 can help me with this because i'm desperate at the moment! Every little thing can help!!!

Thx in advance! :)

Ciao
 
Back
Top