Editing a word template form from VB6


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Editing a word template form from VB6

  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, 11:02 AM
  2. Speaking of strings...
    By Harlow in forum .NET
    Replies: 246
    Last Post: 10-26-2002, 01:30 AM
  3. Implementing a converted VB6 fat client
    By Michael in forum .NET
    Replies: 1
    Last Post: 09-22-2001, 04: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, 03:32 AM
  5. I am helpless - Edit Info form
    By Dan in forum VB Classic
    Replies: 0
    Last Post: 03-17-2000, 06:14 AM

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center