Is this possible?

G

Glenn

Before I spend hours trying to figure out how to do this, can someone please
tell me if it is possible?

I know that I can set up a form that when submitted will upload the results
of the form into a database as well as upload a file into a given location.

I know that I can create an asp that is linked to the database to show the
information that is in the databae, including what was just submitted from
the form.

My question is - is there a way on that ASP to create a hyperlink that will
open the document (a PDF file) that was uploaded as part of the form
submission?

Thanks in advance.
Glenn
 
T

Thomas A. Rowe

Create a link to the document yes, open it no.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
J

Jon Spivey

You should be able to open the doc with javascript, eg
<%
strLink = ' the path to the doc just uploaded
response.write "<script>window.open('" & strLink & "');</script>"
%>

This would open the pdf in a new window.
 
T

Thomas A. Rowe

Jon,

I would think that would be a security issue, since it isn't user initiated under SP2.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
G

Glenn

I'm a bit confused. What would the link do, if it doesn't open the document
when you click on it?
 
T

Thomas A. Rowe

Creating a normal hyperlinks would work, since the user would have to click it.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
J

Jens Peter Karlsen[FP MVP]

You are correct. IE 6 with SP2 would block such a pop-up.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Thomas A. Rowe [mailto:[email protected]]
Posted At: 23. februar 2005 16:29
Posted To: microsoft.public.frontpage.client
Conversation: Is this possible?
Subject: Re: Is this possible?


Jon,

I would think that would be a security issue, since it isn't
user initiated under SP2.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage) WEBMASTER
Resources(tm) FrontPage
Resources, WebCircle, MS KB Quick Links, etc.
==============================================


Jon Spivey said:
You should be able to open the doc with javascript, eg <% strLink = '
the path to the doc just uploaded response.write
"<script>window.open('" & strLink & "');</script>"
%>

This would open the pdf in a new window.
 
J

Jens Peter Karlsen[FP MVP]

Thomas didn't say that the link wouldn't open a page when clicked.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Glenn [mailto:[email protected]]
Posted At: 23. februar 2005 16:37
Posted To: microsoft.public.frontpage.client
Conversation: Is this possible?
Subject: Re: Is this possible?


I'm a bit confused. What would the link do, if it doesn't
open the document when you click on it?

Thomas A. Rowe said:
Create a link to the document yes, open it no.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage) WEBMASTER Resources(tm)
FrontPage Resources, WebCircle, MS KB
Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
 
G

Glenn

Re: Is this possible?Okay, I guess I didn't ask my original question correctly.

Basically I want one of my users to be able to add content to our website by filling out an online form and uploading an associated file.

The user in the outside world could then go to our website, click on the link to the ASP page that has the database results, see the information, click on the associated PDF file and open it.

I'm guessing that is possible based upon the responses I have received. If I am wrong, could someone please let me know?

Thanks for your help.
Thomas didn't say that the link wouldn't open a page when clicked.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Glenn [mailto:[email protected]]
Posted At: 23. februar 2005 16:37
Posted To: microsoft.public.frontpage.client
Conversation: Is this possible?
Subject: Re: Is this possible?


I'm a bit confused. What would the link do, if it doesn't
open the document when you click on it?

Thomas A. Rowe said:
Create a link to the document yes, open it no.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage) WEBMASTER Resources(tm)
FrontPage Resources, WebCircle, MS KB
Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
 
J

Jens Peter Karlsen[FP MVP]

Yes, that is possible.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.


________________________________

From: Glenn [mailto:[email protected]]
Posted At: 23. februar 2005 17:14
Posted To: microsoft.public.frontpage.client
Conversation: Is this possible?
Subject: Re: Is this possible?


Okay, I guess I didn't ask my original question correctly.

Basically I want one of my users to be able to add content to
our website by filling out an online form and uploading an associated
file.

The user in the outside world could then go to our website,
click on the link to the ASP page that has the database results, see the
information, click on the associated PDF file and open it.

I'm guessing that is possible based upon the responses I have
received. If I am wrong, could someone please let me know?

Thanks for your help.

in message
Thomas didn't say that the link wouldn't open a page
when clicked.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Glenn [mailto:[email protected]]
Posted At: 23. februar 2005 16:37
Posted To: microsoft.public.frontpage.client
Conversation: Is this possible?
Subject: Re: Is this possible?


I'm a bit confused. What would the link do, if it doesn't
open the document when you click on it?

Thomas A. Rowe said:
Create a link to the document yes, open it no.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage) WEBMASTER Resources(tm)
FrontPage Resources, WebCircle, MS KB
Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
this,
can someone will
upload the upload a
file into a including
what was just uploaded
as part of
 
Top