DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2004
    Posts
    23

    Editing a word template form from VB6

    I need to know how to open a word templete that is a form and fill in certain fields, check a few check boxs and then print the form out filled out


    I got something to work, but it just isn't as clean as I'd like

  2. #2
    Join Date
    Apr 2004
    Posts
    23
    No one knows the how to edit the form fields in a word doc from VB.

    I just need to know how to refernce and edit them from there bookmark

  3. #3
    Join Date
    Apr 2004
    Posts
    23
    Ok an update - I cleaned it up a little by removing the text boxes and putting in book marks. I also andded code to check the check boxes...It looks like this: (Note it's all dynamic from a database)

    Doc.Bookmarks(rField!strformfield).Range.Text = rst!strField

    Doc.FormFields(rField!strFormField).checkbox.value = true


    I would love though to know how to get the formfields to edit the textbox

Similar Threads

  1. Replies: 0
    Last Post: 05-16-2003, 10:02 AM
  2. Speaking of strings...
    By Harlow in forum .NET
    Replies: 246
    Last Post: 10-26-2002, 12:30 AM
  3. Implementing a converted VB6 fat client
    By Michael in forum .NET
    Replies: 1
    Last Post: 09-22-2001, 03:44 PM
  4. Place a MS Access report on a VB6 form
    By Keith in forum VB Classic
    Replies: 7
    Last Post: 02-05-2001, 02:32 AM
  5. I am helpless - Edit Info form
    By Dan in forum VB Classic
    Replies: 0
    Last Post: 03-17-2000, 05:14 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links