?
Solved

Word OLE Conainer

Posted on 1997-06-12
2
Medium Priority
?
395 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 200 total points
ID: 1336980
You have to use OleContainer.CreateLinkToFile(WordFileName,FALSE) instead to hold the link to the original file.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

765 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