473,725 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Opening Office Application on client

Hi,
I have a peculiar problem. Hope some body can help.
I want to open up a word document on the client from a ASPX page. When a user clicks a button I want to show him a word document whose contents have to come from the server.
The problem is my server will not have any office application installed on it.
Is it possible?
Could somebody please help me with this.

thanks in advance.
Parag Joshi


Nov 18 '05 #1
2 1244
No problem. Since the user is downloading a Word document, all the user has
to have is Word installed on their machine. The browser will open it in
Wortd automatically. If they don't have Word on their machine, they will be
prlompted to save or open. I believe there is a free Reader that can be
downloaded from the Microsoft site.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Parag Joshi" <an*******@disc ussions.microso ft.com> wrote in message
news:38******** *************** ***********@mic rosoft.com...
Hi,
I have a peculiar problem. Hope some body can help.
I want to open up a word document on the client from a ASPX page. When a user clicks a button I want to show him a word document whose contents have
to come from the server. The problem is my server will not have any office application installed on it. Is it possible?
Could somebody please help me with this.

thanks in advance.
Parag Joshi

Nov 18 '05 #2
Thanks for your advice.
But even if Word in installed on the client machine.
The browser will ask the user if he want to view or save the file. I want to directly open the word document.
Just to give a clear idea - on the microsoft site on the following link http://office.microsoft.com/template...CT061995211033
There is a download button. When clicked it opens the template in word format on the client machine.

I just went through the view source of this page. The button seems to invoke a java script function.

Could you tell me how to get the same effect on my site.

thanks in advance

Parag Joshi

Nov 18 '05 #3

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

Similar topics

2
1417
by: Jane | last post by:
I have a web application, it opens up excel when you click on a button. It works fine on my local machine. But when I upload the application to the server, i get this error message: COM object with CLSID {00024500-0000-0000-C000-000000000046} is either not valid or not registered Do I need to install Microsoft Office in my production server? Is there anyway to bypass it? and allow client machines to open the excel file if they have...
1
503
by: zfeld | last post by:
1. Where do I get the Office 2003 PIAs? On the MSDN download site there are only downloads for XP office PIAs. Do they automatically get installed to the GAC with the installation of office 2003? 2. My problem is that I am developing an application in C# that does office automation using Word & Excel that needs to work for Office XP and Office 2003. After reading all the different posts I am still confused. My development computer has...
6
3856
by: Jason Steeves | last post by:
I am hoping someone can tell me how, or point me in the right direction for the following problem. I need to have word open a specified file, .mht, as a plug-in inside of IE so that I can edit this file within the word plugin within IE. I am not even sure how I can get this to work with a .doc file. I appreciate any help you can give......Thanks, Jason
4
11133
by: Yohancef Chin | last post by:
Hi, Being fairly new to .NET I am looking for a way to call MS Word from an event on a webform, and after the user is finished save that created document to an SQL Server database. Has anyone done this? Does it seem possible? I followed the instructions from a sample on the Microsoft knowledge base but it only seems to work when creating a VB.NET Windows .EXE, not an VB.NET ASP app.
3
6127
by: Yohancef Chin | last post by:
Hi, Being fairly new to .NET I am looking for a way to call MS Word from an event on a webform, and after the user is finished save that created document to an SQL Server database. Has anyone done this? Does it seem possible? I followed the instructions from a sample on the Microsoft knowledge base but it only seems to work when creating a VB.NET Windows .EXE, not an VB.NET ASP app.
0
1248
by: Marco Singer | last post by:
Hi all, I want to create an Office automation client for Office 97 (and newer) which should automate Access, Excel and Word. On my developer computer I have Office XP installed. In KB244167 (INFO: Writing Automation Clients for Multiple Office Versions) Microsoft tells to use the type libraries of the oldest office version the client should run with. So I copied the type library files from a Office 97 installed on another
4
2028
by: enak | last post by:
I need to open a Word template so that I can merge some data from a database with the document. I am using ASP.NET, VB.NET. I can not even get MS Word to be visible. I can see that an instance is created in Task Manager. Here is my code: Private Sub createReport() Dim missing As Object = System.Reflection.Missing.Value Dim file_name As String Dim file_path As String
0
5778
by: martinb2007 | last post by:
Hi everybody! From Buenos Aires. A brief explanation of the application I'm developing. Any help or discussion about welcomed. I'm developing a Documents Manager that allows to upload office and other vendors documents to SQL Server (Blobs) and enter the classification data for a document, an asign a circuit of persons who have to approve before being accesible to readers (lists of readers you can add too). I come up to serach for a...
2
10352
by: Jacob.Bruxer | last post by:
Hi everyone, I'm having trouble opening space delimited textfiles in Excel from Visual Basic.net. I'm able to control, open and modify Excel files from Visual Basic, so my Excel reference seems to be working ok. I just don't know what I'm doing when I try to open a space delimited file and want to put the data into columns. I tried recording a macro in VBA and going from there, but then I got stuff saying "Name 'xlDelimited' is not...
0
8889
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
9401
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
9257
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...
0
9116
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
8099
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...
0
6011
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();...
1
3228
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2637
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2157
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.