472,971 Members | 1,607 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,971 software developers and data experts.

preview uploaded file

Hi there:

I have figured out how to take the uploaded file from the form input and
save it into the database, but I am wondering (and looking for examples)
how can I stream the image back to the browser directly from the form
element (not saving to the db and pulling it back out) as the ImageURL for
another web control so they can 'preview' the image prior to saving to the
DB?

Thanks
Nov 19 '05 #1
1 2035
U can use response.write in a simple way .But before writing to response be
sure u ve cleared response and specified your content type as waht ever u
want.

If u would like to composition on an asp.net page and more than one image, u
can create a webpage , let me call it downloader.aspx and use server.execute
to allow downloader.aspx to print something out.

--

Thanks,
Yunus Emre ALP÷ZEN
BSc, MCAD.NET

"Tarren" <no***********@thanks.com> wrote in message
news:u8**************@TK2MSFTNGP10.phx.gbl...
Hi there:

I have figured out how to take the uploaded file from the form input and
save it into the database, but I am wondering (and looking for examples)
how can I stream the image back to the browser directly from the form
element (not saving to the db and pulling it back out) as the ImageURL for
another web control so they can 'preview' the image prior to saving to the
DB?

Thanks

Nov 19 '05 #2

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

Similar topics

3
by: Martin S | last post by:
I have a form that sends data on to another page so that the user can preview it before it is inserted in a database table. The problem is that the form sends both text and possibly an image to...
0
by: Mike | last post by:
Sites using thumbnail preview for world wide web file navigation and searching. Below are list of sites that are either researching or providing thumbnail preview images for online web...
7
by: Pat | last post by:
I would like to send the Print Preview of a MS Access form to a Snapshot file. The form contains an OLE graph. BACKGROUND A snapshot of a report is possible. If I could I would use a report to...
5
by: Dave A | last post by:
I am writing an ASP.NET tool that will allow the client to create their own online froms. ie the client can add tect boxes, text, drop downs,etc with absolutely no technical skill what so ever....
6
by: seaside | last post by:
seaside schrieb: Uploaded the new release preview-1.2 - Optimized GUI - First release of 'Data Inspector' - Added 'Print...' feature - Source code now get highlighted using color
2
by: Muddasir | last post by:
Hi All. Anyone plz tell me how can I upload a file with the file name of my choice. am having problem with this, the file got uploaded but not with the name I wanted to...how can I do this...
2
by: Mufasa | last post by:
I've got a spot where a user can upload a file. I then want to have a button appear once the file has been uploaded that they can click on that will show them a preview of the file. What's the...
4
pradeepjain
by: pradeepjain | last post by:
Haii, I am making aform where in a photo needs to be uploaded..say lke when he browes the photo and selects a pic he must be shown a preview of the pic and then when he finally saves the...
7
by: sandeepk84 | last post by:
Hi all... I have file upload option in my web application. I use Struts 2. I wanted to show a preview of the uploaded file to the user. The uploaded file can be of any type like...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
3
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.