473,378 Members | 1,578 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,378 software developers and data experts.

Open a PDF file inside browser?

I have a asp web page with a link point to a file which depend on the
database information.

Sometime is a picture file sometime a word and some time is a PDF file.
For picture file, when user click the link, it will open the picture inside
the IE browser.

Now here is my problem:

On some of the computers, for PDF file only, it opens outside of the IE
browser. Like the Acrobat program is not in the browser. With the same code,
some computer works good.

But I want to force it open inside the browser.

Does anyone knows why and how to fix it?

Thanks in advance.

Lin


Jul 19 '05 #1
2 4367
"Lin Ma" <a@a.com> wrote in message
news:eU**************@TK2MSFTNGP09.phx.gbl...
I have a asp web page with a link point to a file which depend on the
database information.

Sometime is a picture file sometime a word and some time is a PDF file.
For picture file, when user click the link, it will open the picture inside the IE browser.

Now here is my problem:

On some of the computers, for PDF file only, it opens outside of the IE
browser. Like the Acrobat program is not in the browser. With the same code, some computer works good.

But I want to force it open inside the browser.


It's a client/browser issue. Not sure why that's happening.

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #2
"Lin Ma" <a@a.com> wrote in message
news:eU**************@TK2MSFTNGP09.phx.gbl...
But I want to force it open inside the browser.

This is a setting in Acrobat Reader (at least it is in version 6.0). Don't
try to force it. It can't be done.

Does anyone knows why and how to fix it?


There's nothing to fix. This is by design. The end user can decide to open
it in the browser by going to Edit > Preferences > Internet in Acrobat
Reader, and selecting "Display PDF in browser".

Regards,
Peter Foti
Jul 19 '05 #3

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

Similar topics

18
by: Paul | last post by:
I link to a web site from an Excel spreadsheet. The page i link to is getCookie.asp which sets a cookie then returns back some html which opens a new window, to the same site but a different page...
2
by: ajay | last post by:
Sorry for asking a simple and easily find-able Q. How to open a document link with it's application? Say i have link for .ppt file and i want to open it with MS Power point. By default it opens...
3
by: VbUser25 | last post by:
hi.. i have a form i accept some user inputs in the form. there is a link on the form from where i open the excel file in the same browser (not in a new page...simply using a href. i am also...
4
by: Anand Ganesh | last post by:
Hi All, I want to open a .pdf file from my C# application and show to the user. I have acrobat reader in the client's computer. How to do this? Any suggestions please ? Thanks for your...
6
by: Tim Cowan | last post by:
Hi I have the following code to write an error file and it is supposed to open the HTML file in a browser when an error occurs. It creates the file Ok but doesn't open the new browser and doesn't...
18
by: len.hartley | last post by:
Hi, I am trying to pop-up a window when the user clicks on an image. The problem is that when the user clicks on the image and the window pops up OK, but the window underneath also proceeds to...
2
by: mike | last post by:
Hi, I have surfed through several posting about exporting gridview to excel and it works great. using the following code... response.Clear() response.ContentType = "application/vnd.ms-excel"...
1
by: pronerd | last post by:
Ok, I am looking for way to have a user download a file, and have it open the apprpreate client side application. For instance lets say a user is downloading an MS Word file. I want the user...
6
by: mistral | last post by:
what is correct way open a PDF document in new window use hyperlink? I want show images thumbnails linked with PDF files, when click on thumbnail, PDF will be opened in new window. Some of PDF...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.