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

Category: .NET

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: 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

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

Read Text From/Write Text To a File

November 13, 2009 Steve Hardie

This is a quick and easy way to read a files content into a string, or write a string to…

Continue Reading →

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

VB.NET Format File Size

October 7, 2009 Steve Hardie 1 Comment

Format a large integer (long) that represents a file size in bytes to a more readable string representation that includes…

Continue Reading →

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

VB.NET Finding a File Size

Steve Hardie

There may be some situations where you would like to retrieve the size of a given file. Below is a…

Continue Reading →

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

Regular Expression Validation for Email Address

September 29, 2009 Steve Hardie

In almost all cases, it is a good practice to validate the users input because of many reasons (i.e. security,…

Continue Reading →

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

Search

Categories

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

Tags

.NET Access Active Directory Asterisk Aviation Certificate Cisco Cyber Security Data Database E-Mail exchange File Size GoDaddy How To IGEL Intune JavaScript jquery Little Bay microsoft Milroy Ave MSSQL Network Novell Office Outlook power shell SBS 2011 server 2008 SQL SSL T-SQL Thin Client troubleshoot Troubleshooting ts VB.NET VFR Flight Video VPN win 7 windows win xp Workstation
Copyright © 2026 Steve Hardie