Results 1 to 6 of 6

Thread: VB6 & Word

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2005
    Posts
    2

    VB6 & Word

    Hello all you Gurus. I was wondering if anyone has got code that creates an embedded (or whatever)word doc, allows editing, and allows saving to a particular file name? Any assistance would be greatly appreciated.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: VB6 & Word

    "Embedded" in what?

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2005
    Posts
    2

    Re: VB6 & Word

    In a VB Executable app. Can be emddded or linked. No pref. Just need to create it, allow the user to edit it withing the app and then save it to a .doc file.

  4. #4
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: VB6 & Word

    You can have the document installed with the P&D setup program. Just add it when you package the program. You can also open the document either in your program, or in word from your program.

  5. #5
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429

    Re: VB6 & Word

    1. You could add the OLE object to the VB app and manipulate the .doc that way.

    However, I have read that it (OLE) is cumbersome and unstable.


    2. Load the .doc into a RichTextBox, edit as required.


    What kind of editing do you want to do?
    Simple stuff could be done similar to using the VBA (Macro) coding.




    Bruce.

  6. #6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width