×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

MS Word Functionality in a VB App

MS Word Functionality in a VB App

MS Word Functionality in a VB App

(OP)
Hi,

Can anyone offer an opinion as to the best way to implement MS Word 97 features in a VB Application.

My users need minimum:

Full Word character formatting
Interactive spell checking (underline style)
Autotext
Macros

I have looked at the OLE container but wasn't quite sure how this worked in terms of saving the Word document.

Are there better approaches using VB 6.0?

All users will have MS Word97 installed on their machines and I would like to make use of this rather than impelmenting a third party custom control. (The latter choice is not a complete no no).

TIA

Andrew

RE: MS Word Functionality in a VB App

I have done something which may be similiar to what you are trying to do. I have a VB app that uses Word functionality. Basically we have a database that among other things we use to create form letters which I use Word to do. I create an object of Word Basic in my VB app and using it I can create and save the resultant form letter on the network. I then use the OLE container to link the letter to a field in the database. The users then have a list of all form letters created for each client, and as they scroll down the list they can see a small preview in the OLE container window. If they want they can double-click the OLE container window and it opens that document in Word.

Hope that helps,

Paul

RE: MS Word Functionality in a VB App

(OP)
Thanks for the reply.....

Your application sounds exactly like one we written as well!

I need to go one step further and now give the users full WP facility which the app can use later...

Someone sent me this which may be of use generally for others:

----------
I've come across a download on the microsoft site which allows you to insert Word or Excel into a VB app. The link is http://support.microsoft.com/download/support/mslfiles/OFramer.exe
----------

Cheers

Andrew




Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close