473,947 Members | 1,835 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Two questions about office word programming...

I can't find a good example for this:

1. Can someone help me find a good example for writing to a Word
document and displaying it?

2. I was told and read that a WebForm can't do this because that would
be like the server executing Word on the local computer to have the Web
App to manipulate and display a Word document.
If this is not impossible, can someone point me toward an example or a
helpful description?

Thank you very much,
Trint

Nov 17 '05 #1
3 1433
Trint:

The link below may answer part of your first question. I do not have
anything yet regarding your second question.

http://support.microsoft.com/default...b;en-us;316384

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.
"trint" <tr***********@ gmail.com> wrote in message
news:11******** *************@z 14g2000cwz.goog legroups.com...
I can't find a good example for this:

1. Can someone help me find a good example for writing to a Word
document and displaying it?

2. I was told and read that a WebForm can't do this because that would
be like the server executing Word on the local computer to have the Web
App to manipulate and display a Word document.
If this is not impossible, can someone point me toward an example or a
helpful description?

Thank you very much,
Trint
Nov 17 '05 #2
In message <11************ *********@z14g2 000cwz.googlegr oups.com>, trint
<tr***********@ gmail.com> writes
I can't find a good example for this:

1. Can someone help me find a good example for writing to a Word
document and displaying it?

2. I was told and read that a WebForm can't do this because that would
be like the server executing Word on the local computer to have the Web
App to manipulate and display a Word document.
If this is not impossible, can someone point me toward an example or a
helpful description?


You can automate Word from client-side script, but you will need your
users to allow you to run unsafe activeX controls in Internet Explorer.
This effectively limits you to intranet scenarios where you can control
both the brower and the security settings. We used to provide a
mechanism for users to export data to Excel by emitting an XML data
island into the page and using javascript to navigate the document and
write the data to Excel. Same principle could be applied to Word.

I read somewhere recently that Microsoft will at some point be providing
the means for creating office documents server-side.

--
Steve Walker
Nov 17 '05 #3
Thank you both for being very helpful.
Trint

Net programmer
tr***********@g mail.com

*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #4

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

Similar topics

20
3390
by: Olav.NET | last post by:
I am a .NET/C++ developer who is supposed to do some work with Access. I do not know much about it except for the DB part. Questions: *1* I am looking for INTENSIVE books to get quickly up to speed. I like books with practical exercises, and also with test questions (like cert books) *2*
2
11510
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...
19
1946
by: MP | last post by:
I'm interested to learn how to use mdb files via ado/adox via vb6 Since I'm not using Access are those types of questions o.t. here? I see very few ado questions here. But there's a lot more traffic here than the ado groups. :-) Thanks Mark
1
2692
by: Paul H | last post by:
I am developing a simple database (a list of names and addresses), no reports, but a requirement to integrate with word for a simple mail merge. 10 users, no one has access, all Windows XP machines Questions: 1. I want to use the runtime version of Access, which version of the runtime should I use? 1a. I want to make the installation as easy as possible for the users, so to
3
937
by: Scott H | last post by:
I've been developing an app that makes use of MS Word 11 Object Library, it creates a Word.Application, loads a doc and prints it, and it works very well on several PCs we have here that have Office 2003 installed. I've installed it (using ClickOnce) on a new PC without office, and the app works fine, except when it comes to do some printing using the above mentioned thing. it says it can't create activeX object. If I were to install...
4
1693
by: Lyle Fairfield | last post by:
I asked this question in Microsoft.Public.Word two days ago but I have not received an answer. I believe there are Office Experts here who may be able to help. --------- "A friend has Office 2000. She is a high school student. English is not her first language. I find the "Lookup" facility in Word 2003 very useful. I think she woud
4
1886
by: =?Utf-8?B?U2hhbm5vbiBMIEI=?= | last post by:
Well I must be the only one that cant print in office 2007!! lol.. I cant find the printer icon in office word 07????its nowhere!! i cant even find the file tab!! please help!!! i feel so stupid!! tks shannon l b
2
1610
by: Alan T | last post by:
I recently programming Word application/document in CSharp but got several problem. Any pointer to get started?
0
2251
by: athirukk | last post by:
Hi, I am doing Office (Word) programming in .Net with Microsoft.Office.Interop.Word. My C# code highlights the a text range in a Word document with the following snippet. MyFoundRange.HighlightColorIndex = Microsoft.Office.Interop.Word.WdColorIndex.wdBlue; MyFoundRange.Font.ColorIndex = Microsoft.Office.Interop.Word.WdColorIndex.wdWhite;
0
10163
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
9982
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
11160
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11347
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10692
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...
1
8255
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
7430
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
6332
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3543
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.