Skip to content

Tag Archives: code

Create footnotes from hyperlinks

07-Oct-04

This Microsoft Word 2003 macro is very useful when run against web pages containing a lot of links, after first having cut and pasted them into Microsoft Word 2003. It will mark a hyperlink found with a footnote number and put the URL as a footnote.

Indy followup – How to send a simple text email message

19-May-04

//The following code is the basic structure for constructing a message: Indy.Sockets.IndyMessage.Message LMsg = new Indy.Sockets.IndyMessage.Message(); LMsg.From.Text = AFrom; LMsg.Recipients.Add().Text = ATo; LMsg.Subject = ASubject; LMsg.Body.Text = AMsg; SMTP LSMTP = new SMTP(); LSMTP.OnStatus += new Indy.Sockets.IndyComponent.TIdStatusEvent(SMTPStatus); LSMTP.Host = “mail.domain.tld”; LSMTP.Connect(); try { LSMTP.Send(LMsg); Status(“Completed”); } finally { LSMTP.Disconnect(); } more …

Object-Relational Persistence for .NET

23-Jan-04

This is cool: “With SQL Server Yukon, you could do the following: CREATE TABLE [dbo].[Person] ( [Id] [int] IDENTITY (1, 1) NOT NULL , [Person] [Person] NOT NULL ) ON [PRIMARY] The Person type is a .NET class. Columns in Yukon can be typed to custom .NET classes.” more …

@soderlind on Twitter:

Powered by Twitter Tools

Rodney's 404 Handler Plugin plugged in.