Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 24th, 2004, 09:06 AM
Authorized User
Join Date: Jul 2003
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default Emailing File from SQL Server Database

Hello Everyone and thanks for your help in advance. I have a document repository stored within a SQL Server database. The files are stored as images with the tables. They are various document types including Word, Execel, and PDF. I want to be able to email these files to recipients as attachments. I know how to retrieve these documents and write them to the browser and I know how to use System.Web.Mail, but I cannot figure out how to attach these files. Do they have to be saved to the hard drive first, or can I simply stream it? Any help on this topic would be greatly appreciated. Thanks.

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to insert text file in sql server database sharvari_mothe Java Databases 3 June 5th, 2007 07:25 AM
how to store file in sql server 2000 database vivekkumar_23 SQL Server 2000 1 February 27th, 2006 10:41 PM
Upload a file to sql server database thas123 ASP.NET 1.0 and 1.1 Professional 3 January 9th, 2006 12:29 AM
Accessing sql server database trough vbs file vc1 VBScript 6 February 18th, 2005 09:54 AM
SQL 2000 database / text file / binary file pallone Javascript How-To 3 January 28th, 2005 01:26 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.