Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

C#.NET - MS Word print batch job

Posted on 2011-03-12
2
Medium Priority
?
596 Views
Last Modified: 2013-12-17
Hi Gurus ~

I'm learning C# and want to implement a program in the office.  I'm just a beginner so if you could provide any guidance, I would greatly appreciate it.  Here's what I'm trying to do:
*  I've created a windows form with a drop-down list and a submit button.
*  The drop down list should be populate with a list of employees.  (The data can be taken from an excel file or from an SQL DB.  I assume it might be easier to read an excel file.
*  If I do open the excel file, it has to be in "read-only" mode.  That file is constantly being updated and I don't want to halt the production system.
*  Based on the selected employee (sales employee), I want to read a list of company names (from excel file or SQL DB).  I'm guessing that I can store the list of names in an array temporarily.
*  Now, based on the company names array, I want to print the word documents associated with the company name to the local printer, i.e. the sales document for "ABC".  (It would be nice if I could print the documents without opening MS Word, but not a must)
*  While all this happening, I would like to update the progress bar on the windows form notifying the user of its progress.

Once again, thank you in advance.  If there is anything unclear, please let me know & I'll try my best to explain further.
0
Comment
Question by:gcastong
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 30

Accepted Solution

by:
SiddharthRout earned 1000 total points
ID: 35116234
0
 

Author Closing Comment

by:gcastong
ID: 35116283
Thanks, i used winbatch to do the work, and visio studio 2010 to manage the user interaction with the app.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question