Solved

Word OLE Conainer

Posted on 1997-06-12
2
377 Views
Last Modified: 2010-04-06
I am using Delphi 3.0 C/S (although I get the same thing when using 2.0). I am using a TOleContainer, and loading a file into it using:
   OleContainer.CreateObjectFromFile(WordFileName);
When I double click on the OleContainer, Word's Toolbar appears. Some of the buttons, however, are not enabled (such as Save, Open, etc). Does anyone know why? How to enable them? If I cant, is there a way to do inplace activation w/o showing Word's toolbar?
0
Comment
Question by:vbfischer
2 Comments
 
LVL 1

Expert Comment

by:miv
ID: 1336979
Just following this thread...(Had to make a comment to get a e-mail notification)
0
 
LVL 1

Accepted Solution

by:
Gabor earned 100 total points
ID: 1336980
You have to use OleContainer.CreateLinkToFile(WordFileName,FALSE) instead to hold the link to the original file.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to use Hashing sha1 in Delphi 2010 4 209
Delphi XE2 application frozen on Windows 10 10 278
delphi exception 7 63
Run video youtube webbrowse 10 58
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now