15Feb Emailing from C# with attachments
private void cmdEmail_Click(object sender, System.EventArgs e) { System.Web.Mail.MailMessage MM = new System.Web.Mail.MailMessage(); MM.To = txtTo.Text; MM.From = txtFrom.Text; MM.BodyFormat = System.Web.Mail.MailFormat.Html; MM.Body = txtBody.Text; MM.Subject = txtSubject.Text; string Filename = SaveFile(fylAttach); if (Filename.Length > 0 ) { System.Web.Mail.MailAttachment MA = new System.Web.Mail.MailAttachment(Filename); MM.Attachments.Add(MA); } System.Web.Mail.SmtpMail.Send(MM); }private string SaveFile(System.Web.UI.HtmlControls.HtmlInputFileFylObj){ string dir = Server.MapPath(“../database/Huber/”); if (System.IO.Directory.Exists(dir) == [...]
02Feb Windows Vista ran great on my laptop
But I am selling it. I dont have a need for the Toshiba now that Sage has purchased me a new Dell Laptop. I wont install Vista on that machine though since it is the companies property. I am building a little site for my laptop here:http://laptop.jasncab.com And listing it on ebay

