473,698 Members | 2,156 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# ASP.Net interop with MsWord

Hi,

I have no problem in creating or modifying a word document in ASP.Net, using
C#.
However, I don't know how to export database in SQL 2000 or MSAccess to
MSWord, given in the ASP.Net and C# environment.
I surfed the net and found some articles about interop ASP.Net with the
MSWord.
But I didn't find resource regarding using the MSWord as the ASP.Net C#
report.
Would someone give me some advice?
Any help will be appreciated.

Jason
Nov 17 '05 #1
1 2065
You do not want to run run Word interop (for creating and modifying
documents) on the server.
Its not supported and has serious issues with stability (multithreading
etc.) and this is why you couldnt find any resources regarding using Word
interop in ASP.NET.

--
Eran Kampf
eran.kampf AT sap.com
http://www.ekampf.com/blog/

"Jason Huang" <Ja************ @hotmail.com> wrote in message
news:%2******** **********@TK2M SFTNGP12.phx.gb l...
Hi,

I have no problem in creating or modifying a word document in ASP.Net,
using C#.
However, I don't know how to export database in SQL 2000 or MSAccess to
MSWord, given in the ASP.Net and C# environment.
I surfed the net and found some articles about interop ASP.Net with the
MSWord.
But I didn't find resource regarding using the MSWord as the ASP.Net C#
report.
Would someone give me some advice?
Any help will be appreciated.

Jason

Nov 17 '05 #2

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

Similar topics

0
1651
by: Tom Gao | last post by:
hi guys I'm trying to export an aspx page to msword. ############# I know you can do Response.Clear(); Response.ContentType="application/msword";
1
1700
by: Eilsa | last post by:
I want to perform a full-text search for a lot of MSWord documents. So that I have to read the MSWord content and store it to the database. However, I cannot find any solution on it. What should I do if I want to perform a full-text search for these MSWord documents? or any alternative solution for me?? Thanks Best Regards, Eilsa
7
2058
by: lkr | last post by:
hi is there is anyway to capture the document events of a MSWord?eg:I have to handle the event awhen WM_KEYUP or anyother events will occur. give me a solution............ thanks in advance lkr
1
2752
by: Luis Esteban Valencia | last post by:
I have a WebApplication (ASP.NET) that uses Word 2000 (COM , via Interop.Word.dll). I want to deploy it to a computer, but Word is not installed there. I tried to register the MSWORD.OLB (and his dependencies) with regsvr32 I keep getting the same error: invalid DLL what should I do?? Then once , it will be registered should I re-reference my references?
1
984
by: Bill S. | last post by:
Hi, I compile my program and install it on another machine, but I get this error "File or assembly name interop. Word, or one of its dependencies, was not found." I can install VB.NET on the other machine and compile it and still get this error. However, when run the program from the IDE, on this other machine, it runs fine. Is there something that I need to register? If so, what? I remove all the references and replace them, which still...
6
1822
by: Peter | last post by:
I have to write a ASP.NET application that creates MSWord document from a template and populated with data from the webpage. (Templates can reside on the server or client's hard drive.) What is the best way to do this? Is it good idea to have MSWord installed on the server? If it's not a good idea or if MSWord is not installed on the server what are the alternatives? I am using Office 2003. Thank You
7
3683
by: rinku123 | last post by:
suppose in vb form are more then one textbox which is contain data and i want i click command button it save in msword file and it can replace many times suppose just like we make report). i have no experience about it i seen a exe file of vb6. which contain a msword file in this file some label & textbox control is placed i dont know how is it. and when i press commnd button which is in vb6 form. its data display i msword file Label...
0
1035
by: arkark | last post by:
Hi I Need Very Urgent In My Project I access the msword, in Msword header section just i insert the text only. I unable to insert the images.how can i insert the image in msword header using asp dotnet and vb code?
1
2591
by: Matt Curreri | last post by:
I'm trying to automate the creation of a MSWord document with C#; however, when I start creating the MSWord document, I occassionly have a MSWord dialog box displaying a warning of low memory and asking if I would like to continue (Yes, No, Cancel). Is there a way to send the "Enter" or mouse click to this MSWord Dialog Box to invoke the "Yes" option, which will allow the MS Word to continue? I would appreciate any help... Matt
0
8603
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
9157
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...
1
8895
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
7725
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
6518
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
5860
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
4369
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
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2001
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.