473,811 Members | 2,756 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hosting Microsoft Word in my program?

Hi,

How to embed microsoft word in my program so that the
user can edit word files?

Thanks a lot,

Pengyu
Nov 16 '05 #1
1 1436
Pengyu,

There is nothing to do this now. However, the next release of .NET is
slated to have an ActiveXDocument Host control (I think it is named that),
where you could do this.

You could try and implement the interfaces needed to host this on your
own, but that's a major headache, something I wouldn't recommend.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Pengyu Hong" <ho**@stat.harv ard.edu> wrote in message
news:e6******** *************** *****@phx.gbl.. .
Hi,

How to embed microsoft word in my program so that the
user can edit word files?

Thanks a lot,

Pengyu

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
1618
by: Xah Lee | last post by:
Dear Joe, It is well known that you are an avid hater of Microsoft, from their technologies to their leader to their business practices. I have now and then seen your impassioned expression of this hatred, scattered among your newsgroup posts. Personally, i have an inherent distrust toward big organizations. This applies to Microsoft. Since perhaps 1995, MS has become more and more large, and as well becoming a hate target especially...
6
1321
by: Victor Hadianto | last post by:
Hi, I wonder if the following is possible to do. Say I have created my own document format and a document handler, much like Microsoft Word doc and Microsoft Word itself. Now is it possible to make my application hosted in IE just like MS Word? So if a user click on a link that points to my document it knows which app it needs to load in its body and pass this document to the app to be rendered. So imagine like MS Word in IE. Is this...
5
2180
by: Niklas Uhlin | last post by:
Someone please explain why Session_Start fires multiple times / retains SessionID values between sessions, when you open an ASP.NET page from MS Word. For details of the problem, see below: 1. Create a new C# ASP.NET web application named "demo" and modify Session_Start in Global.asax.cs as follows: protected void Session_Start(Object sender, EventArgs e) { Response.Write("Session_Start event fired at "+
3
1434
by: Paul Louth | last post by:
Hi, I'm looking for a bit of advice. I have word-docs saved in a SQL Server database on my web-server. I would like to either stream this to a web-form directly or open it from a temporary file on the server for the client to edit. Then once the client has finished editing the document, I want the results to be sent back to the server. Is this possible? And what would the best method be of achieving this? Kind Regards,
0
906
by: Paul Bromley | last post by:
OCX for Hosting Word - but a problem! I came across this on the MS site after a search on Google, and it looks ideal for my purpose for hosting word and other Office applications in my application. Using the Webbrowser I found was problematic, especially when I found that it decided when the Word document would be displayed inside
2
11484
by: William LaMartin | last post by:
I have created a program that allows for the automation of things in Word documents, like changing the values of DocVariables and the links to Excel Sheets. I did it using interoperoperatability, where, after adding a reference to Microsoft.Office.Core and a reference to Microsoft Word I declare objects as follows: Dim oWordApp As New Microsoft.Office.Interop.Word.Application, . Everything works fine on the development computer...
3
3655
by: Dennis | last post by:
I would like to host a word document in a windows form. Can anyone give me any guidance on how to do this, i.e., a control that accepts and displays a word document? -- Dennis in Houston
0
6715
by: JCD | last post by:
I am using Office XP Professional on Windows XP Home. When I try to open a Word document, I get a Microsoft Visual C++ Debug Library window stating Debug Error! Program:C\Program Files\Microsoft Office\Office10\WINWORD.EXE abnormal program termination Clicking on Abort or Retry returns me to the Word document icon I was trying to open. Clicking on Ignore generates a Microsoft Visual C++ Runtime Library stating Runtime Error!...
2
2324
by: djamila | last post by:
Hi, I work in a c# project that uses Microsoft Word to generate report. In my program I use Interop.Word reference. When I run the program in my PC with Microsoft Word 2003, all work well. But when I execute the program in another PC with Microsoft word 2002, I had the following exception: Error in frmDataReview.Report(). System.AccessViolation Exception: Attempted to read or write protected memory. This is often an
0
9727
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10647
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10133
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9204
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7669
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6889
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5554
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.