J
JCCDevel
Hi All,
I am attempting to do something I thought would be simple. From one
of my asp.net pages, I need for the user to be able top open up
documents(any file format - .xls, .doc, .pdf, etc). To accomplish
this, I am using javascript:
<code>
<script type="text/javascript">
function open_win()
{
window.open('file://C:/DEV/Procurement2008/ProcurementSystem/Images/
dbStylemaster.ppt')
}
</script>
</code>
I am getting "Access is Denied".
This file I am trying to open is on my hard drive and I am running the
asp.net program locally as I am developing. Eventually, the files
will be stored on a web server.
I have done a lot of searching this morning and am just more
confused. Am I attempting to do something that won't be allowed
because of security?
Thansk in advance for your help!
JCC
I am attempting to do something I thought would be simple. From one
of my asp.net pages, I need for the user to be able top open up
documents(any file format - .xls, .doc, .pdf, etc). To accomplish
this, I am using javascript:
<code>
<script type="text/javascript">
function open_win()
{
window.open('file://C:/DEV/Procurement2008/ProcurementSystem/Images/
dbStylemaster.ppt')
}
</script>
</code>
I am getting "Access is Denied".
This file I am trying to open is on my hard drive and I am running the
asp.net program locally as I am developing. Eventually, the files
will be stored on a web server.
I have done a lot of searching this morning and am just more
confused. Am I attempting to do something that won't be allowed
because of security?
Thansk in advance for your help!
JCC