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

Home Posts Topics Members FAQ

How to show a word document in a panel ?

Hi All,

I have created a asp.net page. In that page I have added a Panel. On button
click I need show a word document in that panel. Please let me know how to do
that. I don't want to open word document Separately rather I need to show
only in that panel.

Thanks in advance.

Harsha.
Jul 8 '08 #1
4 2700
I don't think there is a way to tell the browser to open only a particular
document in a browser window.

You can place an iframe instead of a panel and set its src attribute to the
document to load. But it will open the document in the iframe only if you
setup your computer to open all word documents in a browser window. This, on
its own, is not a trivial task and probably is not what you want.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Harsha" <Ha****@discuss ions.microsoft. comwrote in message
news:7B******** *************** ***********@mic rosoft.com...
Hi All,

I have created a asp.net page. In that page I have added a Panel. On
button
click I need show a word document in that panel. Please let me know how to
do
that. I don't want to open word document Separately rather I need to show
only in that panel.

Thanks in advance.

Harsha.

Jul 8 '08 #2
"Harsha" <Ha****@discuss ions.microsoft. comwrote in message
news:7B******** *************** ***********@mic rosoft.com...
I have created a asp.net page. In that page I have added a Panel. On
button
click I need show a word document in that panel. Please let me know how to
do
that. I don't want to open word document Separately rather I need to show
only in that panel.
There's no native way to do this. However, several 3rd-party utilities exist
which may meet your requirements - I can't recommend any of them...

http://www.officeocx.com/Word_ActiveX.htm
http://www.textcontrol.com/blog/permalink/2006061401/
http://www.google.co.uk/search?sourc...nt+viewer+Word
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jul 8 '08 #3
Would you make the distinction between can't recommend and won't recommend
as your words may imply what you did not intend to imply.
"Mark Rae [MVP]" <ma**@markNOSPA Mrae.netwrote in message
news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
"Harsha" <Ha****@discuss ions.microsoft. comwrote in message
news:7B******** *************** ***********@mic rosoft.com...
>I have created a asp.net page. In that page I have added a Panel. On
button
click I need show a word document in that panel. Please let me know how
to do
that. I don't want to open word document Separately rather I need to show
only in that panel.

There's no native way to do this. However, several 3rd-party utilities
exist which may meet your requirements - I can't recommend any of them...

http://www.officeocx.com/Word_ActiveX.htm
http://www.textcontrol.com/blog/permalink/2006061401/
http://www.google.co.uk/search?sourc...nt+viewer+Word
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
Jul 8 '08 #4
"clintonG" <so******@somew here.comwrote in message
news:uZ******** ******@TK2MSFTN GP02.phx.gbl...

[top-posting recommended]
>I can't recommend any of them...

Would you make the distinction between can't recommend and won't recommend
as your words may imply what you did not intend to imply.
I can't recommend any of them because I haven't tried any of them.

Nor would I ever recommend ActiveX for ASP.NET...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jul 8 '08 #5

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

Similar topics

4
3965
by: Adam Knight | last post by:
I am trying to create a word document via asp. I keep getting this error: Server object, ASP 0178 (0x80070005) The call to Server.CreateObject failed while checking permissions. Access is denied to this object. I am running window 2000 professional with IIS 5.0 installed. I know it is a ntfs permissions error and that IUSR_ComputerName needs
7
2532
by: Andy Davis | last post by:
I have a table of data in Access 2002 which is used as the source table for a mail merge document using Word 2002 on my clients PC. The data is transferred OK but I've noticed that any dates which fall between 1stday/anymonth/any year and 12thday/anymonth/any year are rearranged in the wrong format. For example 4th July 2005 from the database would be displayed as 07/05/2005 in the merged document. In addition blank date fields from the...
0
1335
by: jkricka | last post by:
Hi! Can someone please explain me how to show/hide word toolbars? I'm oppening new word doc with follownig code. public class classWordDoc { private Word.ApplicationClass WordApp = new Word.ApplicationClass(); Word.Document bDoc = new Word.Document();
2
1153
by: Alejandra Parra | last post by:
Hi everyone Well, I'm trying to make an application where people can configurate a MS Word template from the application, and then that they can access to it also from the application. I've already searched, but in Microsoft site, there's only a part of the code, and I don't understand it very well. Please I need help Alejandra Parra
1
1570
by: Bob | last post by:
I have the follwing snippet of code, lets me find a document and then open it, but thw word application does not show up. I had similara to this in vb6 and it worked, but I can't get it to show in Vs2005 Vb.Net Can anyone tell me how to show the word application from within VB.net. I need this and I need to be able to add a new file. I'll have two diffrent menu items. the edit existing file and the add new word file menu.
1
1832
by: shapper | last post by:
Hello, I created an Asp:Repeater where I have an Asp:Panel and an Asp:Label. In each record of the repeater I want to have a small button which hides or shows the panel in that record. If possible with no postback. And it would be great to have a button like "Show" which would change to "Hide". Well, but this is not so important.
17
8152
by: alxasa | last post by:
Hi, can someone please show me how to most elegently do this?..... I have a textbox, and I want to search the contents of it and replace all instances of a certain word, and replace that word with something else. For the purposes of this it could be replacing "green" with "blue". Can someone please show me how to properly do this? :) Sincerest regards, Alxasa.
0
7108
by: anuj13singhal | last post by:
Hi, I am trying to open a word document on the client machine. the document is present on the oracle application server (on windows). For that I have created a java class file wordbean.class. (Source code below) package oracle.forms.demos.ole; import com.jacob.activeX.ActiveXComponent; import java.awt.Panel; import com.jacob.com.*;
7
5489
by: brynne | last post by:
I run a recruitment service for which, years ago, I set up an Access database to record details of job applications and run various mail merge functions including interview invitations, reference requests and panel letters. However, my letters contain only the details that can be recorded in single fields. e.g. title, first name, last name, address1, address2, etc. Currently, where lists are involved, e.g. names of the interview panel, lists...
0
10164
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
9985
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
11173
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
11352
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
9895
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
8256
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
6118
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...
2
4540
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3544
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.