473,385 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Host Win Word

How to host Word in my program? I also need to selectively show the toolbars
of Word.

Thanks a lot,

Pengyu
Nov 15 '05 #1
2 1562
You can't do that directly. One option is to use an ActiveX Web Browser
control that shows a Microsoft Word document. You'll get some of the menus
and toolbars, but not every one, as far as I know.

Your other option is to redesign your application as an add-in for Microsoft
Word, so Microsoft Word is hosting your application.

"Pengyu Hong" <ho**@stat.harvard.edu> wrote in message
news:eS**************@TK2MSFTNGP11.phx.gbl...
How to host Word in my program? I also need to selectively show the toolbars of Word.

Thanks a lot,

Pengyu

Nov 15 '05 #2

"Robert Jacobson" <rj**********************@nospam.com> wrote in message
news:eu**************@tk2msftngp13.phx.gbl...
You can't do that directly. One option is to use an ActiveX Web Browser
control that shows a Microsoft Word document. You'll get some of the menus and toolbars, but not every one, as far as I know.

Your other option is to redesign your application as an add-in for Microsoft Word, so Microsoft Word is hosting your application.
Well, you can host it directly IF you want to do all the work required. It
requires implementing a full Active Document host, which requires manually
converting the interfaces, etc. Using IE should work ok, though I don't know
how to control the visible toolbars(perhaps the Word UI itself handles
that).
The visual studio roadmap promises a managed Active Document host for the
2.0 framework, I believe, but that is irrelavent at this moment.

"Pengyu Hong" <ho**@stat.harvard.edu> wrote in message
news:eS**************@TK2MSFTNGP11.phx.gbl...
How to host Word in my program? I also need to selectively show the

toolbars
of Word.

Thanks a lot,

Pengyu


Nov 15 '05 #3

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

Similar topics

4
by: mmac | last post by:
When I use this command in a webpage Response.Write "<a href=""javascript:window.open('events/EventDetails.asp?EventID=" & theEventID & "' )"">" & theLinkText & "</a>" I get the new window to...
3
by: ytrewq | last post by:
Should dynamic ("expando") properties be restricted to native and user-defined objects? Or should host objects - such as references to the browser or a plug-in or to the document and its elements -...
2
by: Jeff | last post by:
I have an ASP.NET web page accessing a SQL database. I've used VS to build the app and stored it in the eNPTest02 directory of my localhost on my development machine. The database is on the web. ...
6
by: Brian Henry | last post by:
is there a way to get the host name of someone? like mine is 68-23-123-123-pitt-pa.adelphia.net? Request.UserHostName doesn't seem to return the host name like it states in the documentation,...
3
by: Jay | last post by:
Hi, Everybody: I have a script host that implemented in Java and using FESI to run JavaScript. The JavaScript files are separated into different files and putting together at run or load time....
4
by: jeffreywgraham | last post by:
A word of warning, I am new to .NET and fairly new to SQL Server. The problem I have must be a common one, but I am uable to make it work. I have a .NET project and have the user management and...
2
by: Frank Swarbrick | last post by:
I'm just learning about embedded SQL, so be gentle... My basic question is, if I use a fixed length host variable for a column defined as VARCHAR, will trailing spaces be removed (or not) upon...
7
by: misha | last post by:
Hello. I was wandering if someone could explain to me (or point to some manual) the process of mapping the addresses of host variables by DB2. Especially I would like to know when DB2 decides to...
5
by: Krice | last post by:
There is a component class inside the host class: class Host { Component *c; .... In some cases Component needs to call the host and I guess the only way is that you pass the host for it:
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.