I require sub routines to enable me to process MS Word documents in VB. I require routines for each of these operations:
Open a word document for reading
Read paragraphs from the document and return them as text in a string.
Close a word document that has been opened for reading
Open a new word document for writing
Write a text string to a new word document
Send a formatting instruction to the word document being written
Close the word document that has been written
Some of these are under 10 lines of code. The programs you write should be well documented with sensible names for variables (‘f’ as a string for a file name is lazy, ‘strinputstream’ is a better alternative and will make your code easier to read and understand). Please include enough comments to enable me easily to use the routines in my own programs.
Fuller information is included in the attached zip file, which also contains together with some test files. Correct output of the test files with decent, well documented code, is the test I will apply.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).