Urgent Need

S

SB

What I want to achieve ...
Display file names from sql server database,
on click the file should open up using test.exe file.
Using the following code, I am able to display the
files and click on related link, however, I can't
get to pass on the filename. I would also like to bypass
the message 'Open/Save/Save as' and directly be able
to open the file.

Herebelow is the code I have, will appreciate if someone
could help me asap as I am in urgent need.

Thanks in advance,
SB

----------- starts here --------
I have the following as part of asp code ...

Response.write "Test data start" & "<br>" & "<br>"
Set NewRs = Conn.Execute(localSQLString)

Do While NOT NewRs.EOF

FileName = NewRs("FileName")
Response.write "File Name = " & FileName & "<br>"
Response.write "<a "
Response.write "href=J:\test.exe FileName"
Response.write "TARGET=main/a>"
NewRs.MoveNext
Loop

Response.write "<br>" & "Test data end"

----------- ends here ----------
 
S

Steven Burn

Your not going to be able to do that with the href tag...... you'd need to
embed the app in the webpage.

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,142
Messages
2,570,819
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top