Skip to content
SteveHardie.com Logo
Steve Hardie
Its Me. Online.
  • Home
  • About
  • Categories
    • Aviation
    • How To
    • Microsoft
    • Programming

Category: Programming

SQL 2008: Truncate or Srink a large Log File

November 23, 2011 Steve Hardie

I had a problem with a SQL Server 2008 database that had a log file in excess of 90gb, when…

Continue Reading →

Posted in: How To, Other Filed under: How To, MSSQL, SQL, T-SQL

VB.NET: List Classes That Inherit Interface

May 19, 2011 Steve Hardie

I want to be able to create a list of all classes that inherit a specified interface within a given…

Continue Reading →

Posted in: .NET Filed under: .NET, VB.NET

tSQL Return Identity When Adding New Record

March 21, 2011 Steve Hardie

@@Identity (Transact-SQL) Is a system function that returns the last-inserted identity value. To use this in a tSQL statement, you…

Continue Reading →

Posted in: .NET Filed under: .NET, SQL, T-SQL, VB.NET, xPress

Javascript: Formatting Numbers

February 3, 2011 Steve Hardie

When rounding decimals, there are some built-in javascript functions that can help you with the basics var num = 10;…

Continue Reading →

Posted in: JavaScript Filed under: JavaScript

JavaScript: Add an Image Rotator to your Web Site

October 7, 2010 Steve Hardie

Here is a quick and simple way to add a fading image rotator to your website, using CSS and JavaScript…

Continue Reading →

Posted in: JavaScript Filed under: JavaScript, jquery

Javascript: How to use ASP.NET Forms Validation from Javascript

June 24, 2010 Steve Hardie 1 Comment

ASP.NET has a Page.Validate() method that is used to programatically validate an ASP.NET Form, however, Page.Validate() is a server side…

Continue Reading →

Posted in: .NET, JavaScript Filed under: .NET, ASP.NET, JavaScript

MS SQL: If Statment within Select

June 17, 2010 Steve Hardie

When creating a SELECT query, sometimes you may want to display a dynamic field with a different value depending on…

Continue Reading →

Posted in: Other Filed under: MSSQL, SQL, T-SQL

VB.NET How many weekdays between two dates

May 2, 2010 Steve Hardie 2 Comments

Here is a quick way to find out how many times a particular day of the week occurs between two…

Continue Reading →

Posted in: .NET Filed under: .NET

VBScript: Sleep

March 10, 2010 Steve Hardie

VBScript does not implicity allow the Sleep command that you can use in the VB Programming language, to force the…

Continue Reading →

Posted in: Other Filed under: VBScript

Javascript: Popup Windows

March 3, 2010 Steve Hardie

This post shows you how to create a basic popup window using Java Script as well as a reference list…

Continue Reading →

Posted in: JavaScript Filed under: How To, JavaScript

Post navigation

Page 3 of 4
← Previous 1 2 3 4 Next →

Search

Categories

  • .NET
  • Aviation
  • Cisco
  • Cyber Security
  • Data
  • Exchange
  • Featured Articles
  • How To
  • Intune
  • JavaScript
  • Microsoft
  • Other
  • Powershell
  • Programming
  • Uncategorized

Tags

.NET Active Directory Asc ASCII ASP.NET Asterisk Aviation Chr Cisco Data E-Mail exchange File Size fromCharCode How To HP iinet ISO ISO 639 JavaScript jquery Language Little Bay microsoft Milroy Ave MSA 2012fc MSSQL Network Outlook Photoshop power shell RegEx SBS 2011 server 2008 SQL T-SQL Time Lapse troubleshoot Troubleshooting VB.NET VFR Flight Video VPN windows win xp
Copyright © 2025 Steve Hardie