Solved

Best Road To Take

Posted on 2012-04-11
10
269 Views
Last Modified: 2012-04-13
I am wondering if I am taking the correct approach to a program.  I produce documents for clients based upon the state requirements and by project name (construction related).  So I have a folder per state with several Word documents.  These documents contain links to a table that the user fills out specifying names, addresses, work description, etc.  This works fine but I want to write a program that is easier for my clients to use.  

I am thinking that I need to build datatables in VB (one for each contact type ie "Owner", "Contractor", "Architect", etc.)  I wish for my clients to be able to "add" information that will then become part of a drop down menu as many have repeat customers, contractors, etc.

I then want to be able to copy these fields into the Word document (either by bookmark or others have suggested mail merge).

Another expert told me to build a text file in VB but I don't think that is necessary.  I want to make sure I start this with a good foundation so any advise would be helpful.  You guys have been awesome thus far in helping me and I really appreciate it.
0
Comment
Question by:noticetoowner
10 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 37835271
Is it going to be a single user app? If so, Access can serve you adequately. You would need tables for entities as you said and forms to add/edit/view these entities.
0
 

Author Comment

by:noticetoowner
ID: 37835380
The problem I am having is that most of my clients do not have or use Access.  So I am trying to work exclusively with VB 2010 Express and Word 2010.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 37835432
They do not need to have Access. They just need to have Jet database engine(included in Windows) or Office connectivity components based on version of Access that you choose to use.
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 37835472
you can use OpenXML (freely) to fill a Word document, check http://www.emoreau.com/Entries/Articles/2011/03/Using-OpenXML-to-fill-a-Word-document-from-a-Net-application.aspx

another way to go if you can afford its price is to use aspose.com
0
 

Author Comment

by:noticetoowner
ID: 37837233
Okay I set up a database in Access with the appropriate tables.  I then mail merged them in Word.  I have a few questions as to how to go from here.  If I just want to use Access and Word how do I prompt users for information if they do not have Access?  Also a few of the documents will be used several times with different data throughout the project.  I will need to prompt user for that info also, how is that built?  I am looking at the Access posts here to see if I can find the info and links on my own.  I have attached file to clarify what I mean.
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:noticetoowner
ID: 37837242
dont think it attached my doc...
program-diagram.docx
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 37839609
You would be better off building an application which allows users to manage their information and then export to word. You have multiple options for this export functionality including mail merge, bookmarks, openxml etc.
0
 
LVL 31

Expert Comment

by:Helen_Feddema
ID: 37843881
See my Code Sample #24 (Four Ways to Merge to Word):

http://www.helenfeddema.com/Files/code24.zip

or my more recent ebook, Working with Word (can't give the link, but it is available from the Office Watch Website).  This book covers methods and techniques through Word 2010.
0
 

Author Comment

by:noticetoowner
ID: 37843908
I think codecruiser has the right idea.  I will need to use Access and Word but I want this to be a VB exe program.  I am just lost as to where to begin so I started with Access and am learning more about it.  I guess I will post another question as to the best layout as I am confused on how to organize my data.
0
 

Author Closing Comment

by:noticetoowner
ID: 37843910
Codecruiser has been awesome in helping me, not just with code but set up and basics...
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

706 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now