Printing directory of MS Word docs?

centurion

New member
Joined
Jul 22, 2009
Messages
2
Programming Experience
Beginner
Hello, I have background in ASP/VbScript, and i have studying a little of VB.net. So hope you can help?

my process is:

1) user uploads ms word doc
2) document is printed out automatically or admin clicks on a button then printing begins.
3) then the uploaders name is printed out straight after.

I have stage one sorted and need to understand how to write an application that will read my directory to check if a newley uploaded document has been created and then print it. I am not sure if i need to have refresh or whether this will be automatic?

I dont want to open the ms word document, i just want to use the application to print it. I also want to be able to assign different printers. But for the time being id like to print anything that is uploaded.

for my upload i will use ASP.net, for simplicity i will upload to a folder but later on i will want to upload to SQL Server database.

Any advice, guidance, sample code, areas to study is greatly appreciated.

Centurion :)
 
Here are some tips.
1) use a Background worker for this time consuming process,
2) word does not have to be visible,
VB.NET:
oWord = New Microsoft.Office.Interop.Word.Application
oWord.Visible = False
3) Print word document.:cool:
 
Back
Top