473,396 Members | 2,082 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,396 software developers and data experts.

Automate word


How can I automate Microsoft Word from ASP.NET.

My requirement is like this

I have Datagrid with checkboxes... I need to export checkbox selected rows
into Microsoft Word.

I tried to automate using vbscript got some problems on ASP.NET page the
same code worked fine in .html file.

Even automating at server-side and download and open in external window is
also ok.

I'm using vb.net code behind

Please any one help me to solve my problem.

Thank you
Vijay Neelam
Nov 20 '05 #1
1 1913
Cor
Hi Vijjam Neelam

I don't think you can do that on the serverside.
I never did it, but there will be a way to start MS.Word from JavaScript on
the clientside.

That script you can start from your code behind using something like the
example I did put beneath, I think you can put in there your data from your
chexboxes too.

But for the rest, I would ask this question to in the
public.dotnet.framework.aspnet newsgroup or in some more JavaScript related
newsgroup also. But maybe someone here can tell you how to start msWord from
JavaScript on a Html page. Then I know it also. And when you get the answer
it in an other newsgroups, post it back here please?

\\\
Dim str As String
str = "<script language=javascript> {window.open('http://www.google.com');}
</script>"
RegisterStartupScript("Startup", str)
///

I hope this helps a little bit?
Cor

How can I automate Microsoft Word from ASP.NET.
My requirement is like this
I have Datagrid with checkboxes... I need to export checkbox selected rows
into Microsoft Word.
I tried to automate using vbscript got some problems on ASP.NET page the
same code worked fine in .html file.
Even automating at server-side and download and open in external window is
also ok.
I'm using vb.net code behind

Nov 20 '05 #2

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

Similar topics

1
by: mario | last post by:
Does anybody know if exist an help for microsoft word 10 object library?? I have to automate word from a visual c++ .NET solution. Tanks! Mario.
16
by: cyranoVR | last post by:
This is the approach I used to automate printing of Microsoft Access reports to PDF format i.e. unattended and without annoying "Save As..." dialogs, and - more importantly - without having to use...
2
by: Steve Barnett | last post by:
Hi, I'm attempting to automate word to load a document. I have no problem if Word isn't loaded yet as creating a new Word.ApplicationClass() loads it for me. However, there will be times when Word...
1
by: Steve Barnett | last post by:
Hi, I'm attempting to automate word to load a document. I have no problem if Word isn't loaded yet as creating a new Word.ApplicationClass() loads it for me. However, there will be times when Word...
0
by: Vijay Neelam | last post by:
How can I automate Microsoft Word from ASP.NET. My requirement is like this I have Datagrid with checkboxes... I need to export checkbox selected rows into Microsoft Word. I tried to...
0
by: Martin Feuersteiner | last post by:
Dear Group I wondered whether there's an ASP.NET example on how to automate word to perform a client-side mail merge? It looks like many people are asking the same question but haven't found a...
8
by: Vijay Neelam | last post by:
How can I automate Microsoft Word from ASP.NET. My requirement is like this I have Datagrid with checkboxes... I need to export checkbox selected rows into Microsoft Word. I tried to...
15
by: Karl | last post by:
Hi all, I regularly use FTP to place Self Extracting Zip files on the web for remote users to update their datafiles. Works very nicely. I have automated the creation of the initial zip file (...
9
by: Ots | last post by:
I'm using SQL 2000, which is integrated with a VB.NET 2003 app. I have an Audit trigger that logs changes to tables. I want to apply this trigger to many different tables. It's the same trigger,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
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...
0
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...

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.