Hi all
I'm building a search page for documents and files on my server machine. The
search results will be displayed in the form of links on a page.
How can I make the user's computer open the appropriate application, whenever
a use clicks on a link to access the file? For example, the link points to a .
doc file, how can I make word open on the client machine and display the file?
Thanks
--
Message posted via DotNetMonster.c om http://www.dotnetmonster.com/Uwe/For...p-net/200511/1 2 1100
Hi Rey,
This is something that will happen automatically. If you point to a DOC
file, then in general cases, the browser will display the DOC file itself
with the Word Plugins it has. If they don't have the plugin, then the file
gets downloaded and opened automatically. Same for PDFs, XLS, and any other
file extension you can think of.
If this wasn't what you were asking, please clarify.
-Altaf
--------------------------------------------------------------------------------
All that glitters has a high refractive index. www.mendhak.com
"Reymond C via DotNetMonster.c om" <u7030@uwe> wrote in message
news:56da2c403d f62@uwe... Hi all
I'm building a search page for documents and files on my server machine. The search results will be displayed in the form of links on a page. How can I make the user's computer open the appropriate application, whenever a use clicks on a link to access the file? For example, the link points to a . doc file, how can I make word open on the client machine and display the file?
Thanks
-- Message posted via DotNetMonster.c om http://www.dotnetmonster.com/Uwe/For...p-net/200511/1
Thanks Altaf. This is exactly what I was asking. Thanks for your help.
S.M. Altaf [MVP] wrote: Hi Rey,
This is something that will happen automatically. If you point to a DOC file, then in general cases, the browser will display the DOC file itself with the Word Plugins it has. If they don't have the plugin, then the file gets downloaded and opened automatically. Same for PDFs, XLS, and any other file extension you can think of.
If this wasn't what you were asking, please clarify.
-Altaf
-------------------------------------------------------------------------------- All that glitters has a high refractive index. www.mendhak.com
Hi all [quoted text clipped - 9 lines] Thanks
--
Message posted via DotNetMonster.c om http://www.dotnetmonster.com/Uwe/For...p-net/200511/1 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: mike |
last post by:
Ok, Here's what I want to do. I want to be able to display all the
files in a directory as links on webpage so that the user can just
click the link to download the appropriate file. I can make this work
with the following bit of code. The files all have basically the same
format:
backup-<date created>.sql.tar
What the following code does not do is to show the files in
alphabetical or chronological order. I think I could read the...
|
by: Raymond Hettinger |
last post by:
QOTW: "All that rigid type safety and data hiding is like wearing army
boots on the beach: nothing can bite your toes, but golly don't it feel
good to just toss 'em and run barefoot." -- David Pinn
QOTW: "... this is Usenet. No matter what you write, somebody is going to
interpret it as a proposal to cook and eat babies." -- Grant Edwards
QOTW: "I assume you mean instance.getthing() because writing
self.getthing() has unclear...
|
by: Danny |
last post by:
I am trying to crawl my site to get a list of links. I am using the regular
expressions to get the href tags from the pages and reading the links using
xmlhttp module.
is there an efficient way to loop through the links? If you start with the
home page, how do you do it? How do yo ukeep track of the pages you have
been to and which to do next.
I am not sure how to go about tihs.
|
by: Chris Hemingway |
last post by:
Hi
I have an html file which links to word docs amongst other things; but
these files and their location may change periodically.
How can I adapt my html so that if the files do not exist, the links
are hidden i.e. how do I hide broken links?
Chris
|
by: Ernesto Morin |
last post by:
Not sure if somebody can help me here. Our company develops a web based
system that lets client have interaction with it. One of the things that we
have is the ability for a user to create links to local files on there
machine. They then can click these links and launch the document in a
iFrame. Anyway these links no longer work. Did something change in IE
security settings?
Thanks,
Ernie
| |
by: BT |
last post by:
I inherited a website to update and maintain and it appears that many extra
files have accumulated on the server over the last few years. I would like
to clean them up, but the idea of manually going thru all of the pages,
listing the links and then comparing the list to the file directory seems
very time consuming.
Can anyone point me to a tool or method to streamline this process? Even
something that just lists the links included in...
|
by: Peter K |
last post by:
Hi
I need to make a list of "download file links" on a webpage. All the data
is dynamic - it depends on the user's actions how many files, and which
files, I need to present in the list. The files are identified by an id in
a database.
How do I do this? I was thinking I could somehow make a list of <a href...>
tags which could call a method in my c# code-behind. Is this possible? Or
is there a better way?
|
by: Jetus |
last post by:
Is there a good place to look to see where I can find some code that
will help me to save webpage's links to the local drive, after I have
used urllib2 to retrieve the page?
Many times I have to view these pages when I do not have access to the
internet.
|
by: Jeff Gaines |
last post by:
I am a hobbyist programmer, using C# and VS2008 and writing desktop apps.
I am trying hard to take a modular approach to avoid re-inventing the
wheel but I'm finding it a bit frustrating. For instance I have a
ListViewEx class (based on a ListView) which has in-place editing and a
sorter based on column content. It uses custom column headers and custom
ListViewItems. In turn the ListViewEx may have a further class base on it
and so on.
...
|
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...
|
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...
| |
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |