Z zegga Dec 8, 2006 #1 I need to do an upload file with asp.net 2003 but i need process the image or show a preview of this after save.
I need to do an upload file with asp.net 2003 but i need process the image or show a preview of this after save.
J Jay Pondy Dec 8, 2006 #2 Look into <asp:FileUpload id="moFileUpload" runat="server" /> control. After user uploads file: Dim oBitmap As Bitmap If moFileUpload.HasFile Then oBitmap = New Bitmap(moFileUpload.PostedFile.InputStream, False) 'Do your magic here end if Also check out memorystreams and System.Drawing.
Look into <asp:FileUpload id="moFileUpload" runat="server" /> control. After user uploads file: Dim oBitmap As Bitmap If moFileUpload.HasFile Then oBitmap = New Bitmap(moFileUpload.PostedFile.InputStream, False) 'Do your magic here end if Also check out memorystreams and System.Drawing.