Solved

Best Road To Take

Posted on 2012-04-11
10
274 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
[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
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 70

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
 

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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Suggested Solutions

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.
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 video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…

726 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